mirror of
https://github.com/barkeser2002/flower.git
synced 2026-09-25 18:56:16 +03:00
16 lines
297 B
C++
16 lines
297 B
C++
#ifndef SHARED_MEMORY_INTERFACE_H
|
|
#define SHARED_MEMORY_INTERFACE_H
|
|
|
|
class SharedMemoryInterface
|
|
{
|
|
public:
|
|
virtual ~SharedMemoryInterface()
|
|
{
|
|
}
|
|
|
|
virtual void* allocateSharedMemory(int key, int size, bool allowCreation) = 0;
|
|
virtual void releaseSharedMemory(int key, int size) = 0;
|
|
};
|
|
|
|
#endif
|