- public:
- SkinObject( intf_thread_t *pIntf ): m_pIntf( pIntf ) {}
- virtual ~SkinObject() {}
-
- /// Getter (public because it is used in C callbacks in the win32
- /// interface)
- intf_thread_t *getIntf() const { return m_pIntf; }
-
- /// Class for callbacks
- class Callback {
- public:
- /// Type for callback methods
- typedef void (*CallbackFunc_t)( SkinObject* );
-
- /// Create a callback with the given object and function
- Callback( SkinObject *pObj, CallbackFunc_t pFunc ):
- m_pObj( pObj ), m_pFunc( pFunc ) {}
- ~Callback() {}
-
- /// Getters
- SkinObject *getObj() const { return m_pObj; }
- CallbackFunc_t getFunc() const { return m_pFunc; }
-
- private:
- /// Pointer on the callback object
- SkinObject *const m_pObj;
- /// Pointer on the callback method
- CallbackFunc_t m_pFunc;
- };
-
- private:
- intf_thread_t *m_pIntf;
+public:
+ SkinObject( intf_thread_t *pIntf ): m_pIntf( pIntf ) { }
+ virtual ~SkinObject() { }
+
+ /// Getter (public because it is used in C callbacks in the win32
+ /// interface)
+ intf_thread_t *getIntf() const { return m_pIntf; }
+
+private:
+ intf_thread_t *m_pIntf;