Mercurial > JSWeakRef
comparison components/src/nsJSWeakRef.h @ 0:7180966f48bf
Origination.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Thu, 16 Apr 2009 15:23:22 -0700 |
parents | |
children | 496cd9ab2298 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7180966f48bf |
---|---|
1 #include "nsIJSWeakRef.h" | |
2 | |
3 #define NSJSWEAKREFDI_CONTRACTID "@labs.mozilla.com/jsweakrefdi;1" | |
4 #define NSJSWEAKREFDI_CLASSNAME "nsJSWeakRef" | |
5 #define NSJSWEAKREFDI_CID \ | |
6 {0x32665020, 0x17e1, 0x11de, \ | |
7 { 0x8c, 0x30, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }} | |
8 | |
9 class nsJSWeakRefImpl; | |
10 | |
11 void processGarbage(); | |
12 | |
13 class nsJSWeakRef : public nsIJSWeakRef | |
14 { | |
15 public: | |
16 NS_DECL_ISUPPORTS | |
17 NS_DECL_NSIJSWEAKREF | |
18 | |
19 nsJSWeakRef(); | |
20 | |
21 private: | |
22 virtual ~nsJSWeakRef(); | |
23 nsJSWeakRefImpl *impl; | |
24 friend void processGarbage(); | |
25 | |
26 protected: | |
27 /* additional members */ | |
28 }; |