Revert "metadata: Make JACK_METADATA_* constant"
[jack2.git] / windows / JackPlatformPlug_os.h
bloba38816fd3c992a0ab2bbbce6903c656fbcc7ee5f
1 /*
2 Copyright (C) 2004-2008 Grame
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as published by
6 the Free Software Foundation; either version 2.1 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef __JackPlatformPlug_WIN32__
22 #define __JackPlatformPlug_WIN32__
24 #define jack_server_dir "server"
25 #define jack_client_dir "client"
26 #define JACK_DEFAULT_DRIVER "portaudio"
27 #define JACK_LOCATION "C:\\Program Files\\JACK2"
29 #ifndef ADDON_DIR
30 #define ADDON_DIR "jack"
31 #endif
33 #define MAKE_WIDECHAR_CONSTANT2(Quote) L##Quote
34 #define MAKE_WIDECHAR_CONSTANT(Quote) MAKE_WIDECHAR_CONSTANT2(Quote)
35 #define ADDON_DIRW MAKE_WIDECHAR_CONSTANT(ADDON_DIR)
38 namespace Jack
40 struct JackRequest;
41 struct JackResult;
43 class JackWinMutex;
44 class JackWinThread;
45 class JackWinSemaphore;
46 class JackWinProcessSync;
47 class JackWinNamedPipeServerChannel;
48 class JackWinNamedPipeClientChannel;
49 class JackWinNamedPipeServerNotifyChannel;
50 class JackWinNamedPipeNotifyChannel;
51 class JackWinNamedPipe;
52 class JackNetWinSocket;
55 /* __JackPlatformMutex__ */
56 #include "JackWinMutex.h"
57 namespace Jack {typedef JackWinMutex JackMutex; }
59 /* __JackPlatformThread__ */
60 #include "JackWinThread.h"
61 namespace Jack { typedef JackWinThread JackThread; }
63 /* __JackPlatformSynchro__ client activation */
64 #include "JackWinSemaphore.h"
65 namespace Jack { typedef JackWinSemaphore JackSynchro; }
67 /* __JackPlatformChannelTransaction__ */
68 #include "JackWinNamedPipe.h"
69 namespace Jack { typedef JackWinNamedPipe JackChannelTransaction; }
71 /* __JackPlatformProcessSync__ */
72 #include "JackWinProcessSync.h"
73 namespace Jack { typedef JackWinProcessSync JackProcessSync; }
75 /* __JackPlatformServerChannel__ */
76 #include "JackWinNamedPipeServerChannel.h"
77 namespace Jack { typedef JackWinNamedPipeServerChannel JackServerChannel; }
79 /* __JackPlatformClientChannel__ */
80 #include "JackWinNamedPipeClientChannel.h"
81 namespace Jack { typedef JackWinNamedPipeClientChannel JackClientChannel; }
83 /* __JackPlatformServerNotifyChannel__ */
84 #include "JackWinNamedPipeServerNotifyChannel.h"
85 namespace Jack { typedef JackWinNamedPipeServerNotifyChannel JackServerNotifyChannel; }
87 /* __JackPlatformNotifyChannel__ */
88 #include "JackWinNamedPipeNotifyChannel.h"
89 namespace Jack { typedef JackWinNamedPipeNotifyChannel JackNotifyChannel; }
91 /* __JackPlatformNetSocket__ */
92 #include "JackNetWinSocket.h"
93 namespace Jack { typedef JackNetWinSocket JackNetSocket; }
95 #endif