source: branches/libc-0.6/testcase/export/nsWeakReference.cpp

Last change on this file 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 
1class nsISupportsWeakReference
2{
3public:
4 virtual unsigned int GetWeakReference(void **_retval) = 0;
5};
6
7class __declspec(dllexport) nsSupportsWeakReference : public nsISupportsWeakReference
8{
9public:
10 nsSupportsWeakReference() { }
11 virtual unsigned int GetWeakReference(void **_retval);
12};
13
14unsigned int nsSupportsWeakReference::GetWeakReference( void** aInstancePtr )
15{
16 return 0;
17}
18
19class nsWeakReference
20{
21private:
22#ifdef BREAK_IT
23 friend class nsSupportsWeakReference;
24#endif
25};
Note: See TracBrowser for help on using the repository browser.