openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
object.h File Reference
#include <ext/atomicity.h>
#include <assert.h>
#include <lib/base/smartptr.h>
#include <lib/base/elock.h>
#include <lib/base/eerror.h>

Go to the source code of this file.

Classes

class  iObject
 
class  oRefCount
 

Macros

#define DECLARE_REF(x)
 
#define DEFINE_REF(c)
 

Typedefs

typedef int RESULT
 

Macro Definition Documentation

◆ DECLARE_REF

#define DECLARE_REF (   x)
Value:
public: \
void AddRef(); \
void Release(); \
private:\
oRefCount ref;
list ref
Definition: create_picon_e1_to_e2.py:17

◆ DEFINE_REF

#define DEFINE_REF (   c)
Value:
void c::AddRef() \
{ \
++ref; \
} \
void c::Release() \
{ \
if (!(--ref)) \
delete this; \
}

Typedef Documentation

◆ RESULT

typedef int RESULT