Jack2
1.9.8
|
00001 /* 00002 Copyright (C) 2004-2008 Grame 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU Lesser General Public License as published by 00006 the Free Software Foundation; either version 2.1 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU Lesser General Public License for more details. 00013 00014 You should have received a copy of the GNU Lesser General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 00018 */ 00019 00020 #ifndef __JackPlatformPlug_sun__ 00021 #define __JackPlatformPlug_sun__ 00022 00023 #define jack_server_dir "/tmp" 00024 #define jack_client_dir "/tmp" 00025 #define JACK_DEFAULT_DRIVER "oss" 00026 00027 namespace Jack 00028 { 00029 struct JackRequest; 00030 struct JackResult; 00031 00032 class JackPosixMutex; 00033 class JackPosixThread; 00034 class JackFifo; 00035 00036 class JackSocketServerChannel; 00037 class JackSocketClientChannel; 00038 class JackSocketServerNotifyChannel; 00039 class JackSocketNotifyChannel; 00040 class JackClientSocket; 00041 class JackNetUnixSocket; 00042 } 00043 00044 /* __JackPlatformMutex__ */ 00045 #include "JackPosixMutex.h" 00046 namespace Jack {typedef JackPosixMutex JackMutex; } 00047 00048 /* __JackPlatformThread__ */ 00049 #include "JackPosixThread.h" 00050 namespace Jack { typedef JackPosixThread JackThread; } 00051 00052 /* __JackPlatformSynchro__ client activation */ 00053 #include "JackFifo.h" 00054 namespace Jack { typedef JackFifo JackSynchro; } 00055 00056 /* __JackPlatformChannelTransaction__ */ 00057 #include "JackSocket.h" 00058 namespace Jack { typedef JackClientSocket JackChannelTransaction; } 00059 00060 #include "JackProcessSync.h" 00061 /* __JackPlatformProcessSync__ */ 00062 /* Only on windows a special JackProcessSync is used. It is directly defined by including JackProcessSync.h here */ 00063 00064 /* __JackPlatformServerChannel__ */ 00065 #include "JackSocketServerChannel.h" 00066 namespace Jack { typedef JackSocketServerChannel JackServerChannel; } 00067 00068 /* __JackPlatformClientChannel__ */ 00069 #include "JackSocketClientChannel.h" 00070 namespace Jack { typedef JackSocketClientChannel JackClientChannel; } 00071 00072 /* __JackPlatformServerNotifyChannel__ */ 00073 #include "JackSocketServerNotifyChannel.h" 00074 namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; } 00075 00076 /* __JackPlatformNotifyChannel__ */ 00077 #include "JackSocketNotifyChannel.h" 00078 namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; } 00079 00080 /* __JackPlatformNetSocket__ */ 00081 #include "JackNetUnixSocket.h" 00082 namespace Jack { typedef JackNetUnixSocket JackNetSocket; } 00083 00084 #endif