Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

qcom.h File Reference

#include "quuid.h"

Go to the source code of this file.

Compounds

struct  QComponentInformationInterface
struct  QComponentRegistrationInterface
struct  QLibraryInterface
struct  QtULong
 internal class that wraps an initialized ulong. More...

struct  QUnknownInterface

Defines

#define QRESULT   unsigned long
#define QS_OK   (QRESULT)0x00000000
#define QS_FALSE   (QRESULT)0x00000001
#define QE_NOTIMPL   (QRESULT)0x80000001
#define QE_OUTOFMEMORY   (QRESULT)0x80000002
#define QE_INVALIDARG   (QRESULT)0x80000003
#define QE_NOINTERFACE   (QRESULT)0x80000004
#define QE_NOCOMPONENT   (QRESULT)0x80000005
#define Q_REFCOUNT
 Default implementation of ref counting. More...

#define Q_EXTERN_C   extern "C"
#define IID_QUnknown   QUuid(0x1d8518cd, 0xe8f5, 0x4366, 0x99, 0xe8, 0x87, 0x9f, 0xd7, 0xe4, 0x82, 0xde)
#define IID_QComponentInformation   QUuid(0x5f3968a5, 0xf451, 0x45b1, 0x96, 0xfb, 0x6, 0x1a, 0xd9, 0x8f, 0x92, 0x6e)
#define IID_QComponentRegistration   QUuid( 0xb5feb5de, 0xe0cd, 0x4e37, 0xb0, 0xeb, 0x8a, 0x81, 0x24, 0x99, 0xa0, 0xc1)
#define IID_QLibrary   QUuid( 0xd16111d4, 0xe1e7, 0x4c47, 0x85, 0x99, 0x24, 0x48, 0x3d, 0xae, 0x2e, 0x07)
#define Q_CREATE_INSTANCE(IMPLEMENTATION)
#define Q_EXPORT_INTERFACE()   extern "C" QUnknownInterface* ucm_instantiate()
#define EZX_CREATE_INSTANCE(IMPLEMENTATION)   Q_CREATE_INSTANCE( IMPLEMENTATION )
#define EZX_EXPORT_INTERFACE()   Q_EXPORT_INTERFACE()


Define Documentation

#define EZX_CREATE_INSTANCE( IMPLEMENTATION )   Q_CREATE_INSTANCE( IMPLEMENTATION )
 

#define EZX_EXPORT_INTERFACE( )   Q_EXPORT_INTERFACE()
 

#define IID_QComponentInformation   QUuid(0x5f3968a5, 0xf451, 0x45b1, 0x96, 0xfb, 0x6, 0x1a, 0xd9, 0x8f, 0x92, 0x6e)
 

#define IID_QComponentRegistration   QUuid( 0xb5feb5de, 0xe0cd, 0x4e37, 0xb0, 0xeb, 0x8a, 0x81, 0x24, 0x99, 0xa0, 0xc1)
 

#define IID_QLibrary   QUuid( 0xd16111d4, 0xe1e7, 0x4c47, 0x85, 0x99, 0x24, 0x48, 0x3d, 0xae, 0x2e, 0x07)
 

#define IID_QUnknown   QUuid(0x1d8518cd, 0xe8f5, 0x4366, 0x99, 0xe8, 0x87, 0x9f, 0xd7, 0xe4, 0x82, 0xde)
 

#define QE_INVALIDARG   (QRESULT)0x80000003
 

#define QE_NOCOMPONENT   (QRESULT)0x80000005
 

#define QE_NOINTERFACE   (QRESULT)0x80000004
 

#define QE_NOTIMPL   (QRESULT)0x80000001
 

#define QE_OUTOFMEMORY   (QRESULT)0x80000002
 

#define QRESULT   unsigned long
 

#define QS_FALSE   (QRESULT)0x00000001
 

#define QS_OK   (QRESULT)0x00000000
 

#define Q_CREATE_INSTANCE( IMPLEMENTATION )
 

Value:

{                                                        \
    IMPLEMENTATION *i = new IMPLEMENTATION;          \
    QUnknownInterface* iface = 0;                    \
    QRESULT rt;                                      \
    rt = i->queryInterface( IID_QUnknown, &iface );  \
        if(rt == QS_OK)                                  \
           return iface;                                 \
        delete i;                                        \
        return NULL;                                     \
}

#define Q_EXPORT_INTERFACE( )   extern "C" QUnknownInterface* ucm_instantiate()
 

#define Q_EXTERN_C   extern "C"
 

#define Q_REFCOUNT
 

Value:

private:       \
    QtULong qtrefcount;   \
public:        \
    ulong addRef() {return qtrefcount++;} \
    ulong release() {if(!--qtrefcount){delete this;return 0;}return qtrefcount;}
Default implementation of ref counting.

A variable "ulong ref" has to be a member


Generated at Wed Mar 3 13:22:03 2004 by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001