root/jack2/branches/libjacknet/macosx/JackPlatformPlug_os.h

Revision 3918, 2.5 kB (checked in by sletz, 7 months ago)

Compile again on Snow Leopard.

Line 
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 #ifndef __JackPlatformPlug_APPLE__
21 #define __JackPlatformPlug_APPLE__
22
23 #include <TargetConditionals.h>
24
25 namespace Jack
26 {       
27         class JackPosixMutex;
28         class JackMachThread;
29         class JackMachSemaphore;
30
31         class JackMachServerChannel;
32         class JackMachClientChannel;
33         class JackMachServerNotifyChannel;
34         class JackMachNotifyChannel;
35         class JackNetUnixSocket;
36    
37 #ifdef MY_TARGET_OS_IPHONE
38     class JackClient;
39     class JackGraphManager;
40     class JackEngineControl;
41     class JackSynchro;   
42 #endif
43 }
44
45 /* __JackPlatformMutex__ */
46 #include "JackPosixMutex.h"
47 namespace Jack { typedef JackPosixMutex JackMutex; }
48
49 /* __JackPlatformThread__ */
50 #include "JackMachThread.h"
51 namespace Jack { typedef JackMachThread JackThread; }
52
53 /* __JackPlatformSynchro__  client activation */
54 #ifndef MY_TARGET_OS_IPHONE
55 #include "JackMachSemaphore.h"
56 namespace Jack { typedef JackMachSemaphore JackSynchro; }
57 #endif
58
59 /* __JackPlatformProcessSync__ */
60 #include "JackProcessSync.h"
61 /* Only on windows a special JackProcessSync is used. It is directly defined by including JackProcessSync.h here */
62
63 #ifndef MY_TARGET_OS_IPHONE
64 /* __JackPlatformServerChannel__ */
65 #include "JackMachServerChannel.h"
66 namespace Jack { typedef JackMachServerChannel JackServerChannel; }
67
68 /* __JackPlatformClientChannel__ */
69 #include "JackMachClientChannel.h"
70 namespace Jack { typedef JackMachClientChannel JackClientChannel; }
71
72 /* __JackPlatformServerNotifyChannel__ */
73 #include "JackMachServerNotifyChannel.h"
74 namespace Jack { typedef JackMachServerNotifyChannel JackServerNotifyChannel; }
75
76 /* __JackPlatformNotifyChannel__ */
77 #include "JackMachNotifyChannel.h"
78 namespace Jack { typedef JackMachNotifyChannel JackNotifyChannel; }
79 #endif
80
81 /* __JackPlatformNetSocket__ */
82 #include "JackNetUnixSocket.h"
83 namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
84
85 #endif
Note: See TracBrowser for help on using the browser.