|
Last change
on this file since 2624 was 2250, checked in by bird, 20 years ago |
|
* empty log message *
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
499 bytes
|
| Line | |
|---|
| 1 | class nsISupportsWeakReference
|
|---|
| 2 | {
|
|---|
| 3 | public:
|
|---|
| 4 | virtual unsigned int GetWeakReference(void **_retval) = 0;
|
|---|
| 5 | };
|
|---|
| 6 |
|
|---|
| 7 | class __declspec(dllexport) nsSupportsWeakReference : public nsISupportsWeakReference
|
|---|
| 8 | {
|
|---|
| 9 | public:
|
|---|
| 10 | nsSupportsWeakReference() { }
|
|---|
| 11 | virtual unsigned int GetWeakReference(void **_retval);
|
|---|
| 12 | };
|
|---|
| 13 |
|
|---|
| 14 | unsigned int nsSupportsWeakReference::GetWeakReference( void** aInstancePtr )
|
|---|
| 15 | {
|
|---|
| 16 | return 0;
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | class nsWeakReference
|
|---|
| 20 | {
|
|---|
| 21 | private:
|
|---|
| 22 | #ifdef BREAK_IT
|
|---|
| 23 | friend class nsSupportsWeakReference;
|
|---|
| 24 | #endif
|
|---|
| 25 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.