Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
drct.h
Go to the documentation of this file.
1 /*
2  * drct.h
3  * Copyright 2010 John Lindgren
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  *
8  * 1. Redistributions of source code must retain the above copyright notice,
9  * this list of conditions, and the following disclaimer.
10  *
11  * 2. Redistributions in binary form must reproduce the above copyright notice,
12  * this list of conditions, and the following disclaimer in the documentation
13  * provided with the distribution.
14  *
15  * This software is provided "as is" and without any warranty, express or
16  * implied. In no event shall the authors be liable for any damages arising from
17  * the use of this software.
18  */
19 
20 #ifndef AUDACIOUS_DRCT_H
21 #define AUDACIOUS_DRCT_H
22 
23 #include <audacious/api.h>
24 #include <libaudcore/core.h>
25 #include <libaudcore/index.h>
26 
27 #define AUD_API_NAME DRCTAPI
28 #define AUD_API_SYMBOL drct_api
29 
30 #ifdef _AUDACIOUS_CORE
31 
32 #include "api-local-begin.h"
33 #include "drct-api.h"
34 #include "api-local-end.h"
35 
36 #else
37 
39 #include <audacious/drct-api.h>
41 
43 #include <audacious/drct-api.h>
45 
46 #endif
47 
48 #undef AUD_API_NAME
49 #undef AUD_API_SYMBOL
50 
51 #endif
52 
53 #ifdef AUD_API_DECLARE
54 
55 #define AUD_API_NAME DRCTAPI
56 #define AUD_API_SYMBOL drct_api
57 
58 #include "api-define-begin.h"
59 #include "drct-api.h"
60 #include "api-define-end.h"
61 
62 #include "api-declare-begin.h"
63 #include "drct-api.h"
64 #include "api-declare-end.h"
65 
66 #undef AUD_API_NAME
67 #undef AUD_API_SYMBOL
68 
69 #endif