Merge branch 'netone-fixes'
[jack2.git] / linux / JackPlatformPlug_os.h
blobc0cd93ba47d67fccce5777b70fa9a5b5aa899a59
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.
20 #ifndef __JackPlatformPlug_linux__
21 #define __JackPlatformPlug_linux__
23 namespace Jack
25 struct JackRequest;
26 struct JackResult;
28 class JackPosixMutex;
29 class JackPosixThread;
30 class JackFifo;
31 class JackSocketServerChannel;
32 class JackSocketClientChannel;
33 class JackSocketServerNotifyChannel;
34 class JackSocketNotifyChannel;
35 class JackClientSocket;
36 class JackNetUnixSocket;
39 /* __JackPlatformMutex__ */
40 #include "JackPosixMutex.h"
41 namespace Jack {typedef JackPosixMutex JackMutex; }
43 /* __JackPlatformThread__ */
44 #include "JackPosixThread.h"
45 namespace Jack { typedef JackPosixThread JackThread; }
47 /* __JackPlatformSynchro__ client activation */
48 #include "JackFifo.h"
49 namespace Jack { typedef JackFifo JackSynchro; }
51 /* __JackPlatformChannelTransaction__ */
52 #include "JackSocket.h"
53 namespace Jack { typedef JackClientSocket JackChannelTransaction; }
55 #include "JackProcessSync.h"
56 /* __JackPlatformProcessSync__ */
57 /* Only on windows a special JackProcessSync is used. It is directly defined by including JackProcessSync.h here */
59 /* __JackPlatformServerChannel__ */
60 #include "JackSocketServerChannel.h"
61 namespace Jack { typedef JackSocketServerChannel JackServerChannel; }
63 /* __JackPlatformClientChannel__ */
64 #include "JackSocketClientChannel.h"
65 namespace Jack { typedef JackSocketClientChannel JackClientChannel; }
67 /* __JackPlatformServerNotifyChannel__ */
68 #include "JackSocketServerNotifyChannel.h"
69 namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; }
71 /* __JackPlatformNotifyChannel__ */
72 #include "JackSocketNotifyChannel.h"
73 namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; }
75 /* __JackPlatformNetSocket__ */
76 #include "JackNetUnixSocket.h"
77 namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
79 #endif