00001 00002 00003 #ifndef _GSHARED_MEMORY_H_ 00004 #define _GSHARED_MEMORY_H_ 00005 00014 class GSharedMemory 00015 { 00016 class GSharedMemoryPrivate *d; 00017 00018 public: 00020 GSharedMemory 00021 ( 00024 const char *Name, 00027 int Size 00028 ); 00031 virtual ~GSharedMemory(); 00032 00034 void *GetPtr(); 00036 int GetSize(); 00038 void Destroy(); 00039 }; 00040 00041 #endif