Mercurial > simple_xpcom_firefox_extension
diff my_xpcom_component/thingy_impl.h @ 0:439a78563622 default tip
Origination.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Fri, 08 Feb 2008 14:02:26 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/my_xpcom_component/thingy_impl.h Fri Feb 08 14:02:26 2008 -0600 @@ -0,0 +1,22 @@ +#include "thingy.h" + +#define MYCLASS_CONTRACTID "@toolness.com/thingy;1" +#define MYCLASS_CLASSNAME "Thingy" +#define MYCLASS_CID \ + {0xd7c743cd, 0x34b0, 0x4290, \ + { 0xb2, 0x13, 0xa3, 0xb6, 0x1d, 0x2b, 0x9f, 0x9b }} + +class _MYCLASS_ : public IThingy +{ +public: + NS_DECL_ISUPPORTS + NS_DECL_ITHINGY + + _MYCLASS_(); + +private: + ~_MYCLASS_(); + +protected: + /* additional members */ +};