Added NS_DEFINE_STATIC_CID_ACCESSOR.

This commit is contained in:
beard%netscape.com 1999-03-07 23:56:59 +00:00
Родитель 22a636b14b
Коммит d5f75e7080
3 изменённых файлов: 21 добавлений и 3 удалений

Просмотреть файл

@ -25,9 +25,15 @@
*/
#define NS_DEFINE_STATIC_IID_ACCESSOR(the_iid) \
public: \
static const nsIID& GetIID() {static nsIID iid = the_iid; return iid;}
/**
* A macro to build the static const CID accessor method
*/
#define NS_DEFINE_STATIC_CID_ACCESSOR(the_cid) \
static const nsID& GetCID() {static nsID cid = the_cid; return cid;}
/**
* Some convenience macros for implementing AddRef and Release
*/

Просмотреть файл

@ -25,9 +25,15 @@
*/
#define NS_DEFINE_STATIC_IID_ACCESSOR(the_iid) \
public: \
static const nsIID& GetIID() {static nsIID iid = the_iid; return iid;}
/**
* A macro to build the static const CID accessor method
*/
#define NS_DEFINE_STATIC_CID_ACCESSOR(the_cid) \
static const nsID& GetCID() {static nsID cid = the_cid; return cid;}
/**
* Some convenience macros for implementing AddRef and Release
*/

Просмотреть файл

@ -25,9 +25,15 @@
*/
#define NS_DEFINE_STATIC_IID_ACCESSOR(the_iid) \
public: \
static const nsIID& GetIID() {static nsIID iid = the_iid; return iid;}
/**
* A macro to build the static const CID accessor method
*/
#define NS_DEFINE_STATIC_CID_ACCESSOR(the_cid) \
static const nsID& GetCID() {static nsID cid = the_cid; return cid;}
/**
* Some convenience macros for implementing AddRef and Release
*/