Jack2 1.9.12

windows/JackPlatformPlug_os.h
1 /*
2 Copyright (C) 2004-2008 Grame
3
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.
8
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.
13
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.
17
18 */
19
20
21 #ifndef __JackPlatformPlug_WIN32__
22 #define __JackPlatformPlug_WIN32__
23
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/Jack"
28
29 #ifndef ADDON_DIR
30 #define ADDON_DIR "jack"
31 #endif
32
33 namespace Jack
34 {
35 struct JackRequest;
36 struct JackResult;
37
38 class JackWinMutex;
39 class JackWinThread;
40 class JackWinSemaphore;
41 class JackWinProcessSync;
42 class JackWinNamedPipeServerChannel;
43 class JackWinNamedPipeClientChannel;
44 class JackWinNamedPipeServerNotifyChannel;
45 class JackWinNamedPipeNotifyChannel;
46 class JackWinNamedPipe;
47 class JackNetWinSocket;
48 }
49
50 /* __JackPlatformMutex__ */
51 #include "JackWinMutex.h"
52 namespace Jack {typedef JackWinMutex JackMutex; }
53
54 /* __JackPlatformThread__ */
55 #include "JackWinThread.h"
56 namespace Jack { typedef JackWinThread JackThread; }
57
58 /* __JackPlatformSynchro__ client activation */
59 #include "JackWinSemaphore.h"
60 namespace Jack { typedef JackWinSemaphore JackSynchro; }
61
62 /* __JackPlatformChannelTransaction__ */
63 #include "JackWinNamedPipe.h"
64 namespace Jack { typedef JackWinNamedPipe JackChannelTransaction; }
65
66 /* __JackPlatformProcessSync__ */
67 #include "JackWinProcessSync.h"
68 namespace Jack { typedef JackWinProcessSync JackProcessSync; }
69
70 /* __JackPlatformServerChannel__ */
71 #include "JackWinNamedPipeServerChannel.h"
72 namespace Jack { typedef JackWinNamedPipeServerChannel JackServerChannel; }
73
74 /* __JackPlatformClientChannel__ */
75 #include "JackWinNamedPipeClientChannel.h"
76 namespace Jack { typedef JackWinNamedPipeClientChannel JackClientChannel; }
77
78 /* __JackPlatformServerNotifyChannel__ */
79 #include "JackWinNamedPipeServerNotifyChannel.h"
80 namespace Jack { typedef JackWinNamedPipeServerNotifyChannel JackServerNotifyChannel; }
81
82 /* __JackPlatformNotifyChannel__ */
83 #include "JackWinNamedPipeNotifyChannel.h"
84 namespace Jack { typedef JackWinNamedPipeNotifyChannel JackNotifyChannel; }
85
86 /* __JackPlatformNetSocket__ */
87 #include "JackNetWinSocket.h"
88 namespace Jack { typedef JackNetWinSocket JackNetSocket; }
89
90 #endif