00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __JackSynchro__
00021 #define __JackSynchro__
00022
00023 #define SYNC_MAX_NAME_SIZE 256
00024
00025 namespace Jack
00026 {
00027
00031 namespace detail
00032 {
00033
00034 class JackSynchro
00035 {
00036
00037 protected:
00038
00039 char fName[SYNC_MAX_NAME_SIZE];
00040 bool fFlush;
00041
00042 void BuildName(const char* name, const char* server_name, char* res)
00043 {}
00044
00045 public:
00046
00047 JackSynchro(): fFlush(false)
00048 {}
00049 ~JackSynchro()
00050 {}
00051
00052 bool Signal()
00053 {
00054 return true;
00055 }
00056 bool SignalAll()
00057 {
00058 return true;
00059 }
00060 bool Wait()
00061 {
00062 return true;
00063 }
00064 bool TimedWait(long usec)
00065 {
00066 return true;
00067 }
00068 bool Allocate(const char* name, const char* server_name, int value)
00069 {
00070 return true;
00071 }
00072 bool Connect(const char* name, const char* server_name)
00073 {
00074 return true;
00075 }
00076 bool ConnectInput(const char* name, const char* server_name)
00077 {
00078 return true;
00079 }
00080 bool ConnectOutput(const char* name, const char* server_name)
00081 {
00082 return true;
00083 }
00084 bool Disconnect()
00085 {
00086 return true;
00087 }
00088 void Destroy()
00089 {}
00090
00091 void SetFlush(bool mode)
00092 {
00093 fFlush = mode;
00094 }
00095
00096 };
00097
00098 }
00099
00100 }
00101
00102 #endif
00103