2012-04-30 18:59:30 +04:00
|
|
|
#ifndef __OBJECT_H__
|
|
|
|
#define __OBJECT_H__
|
|
|
|
|
|
|
|
typedef struct Object_interface
|
|
|
|
{
|
2012-05-01 11:30:29 +04:00
|
|
|
void* (*clone) (const void *this);
|
2012-04-30 18:59:30 +04:00
|
|
|
void (*destroy) (void *this);
|
|
|
|
|
|
|
|
} Object_interface;
|
|
|
|
|
|
|
|
#endif // __OBJECT_H__
|