Update of /cvsroot/mahogany/M/include/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv16122/include/gui

Modified Files:
        wxSpamOptions.h 
Log Message:
Removed SpamOptionManager::Pointer and extended RefCounter

Index: wxSpamOptions.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxSpamOptions.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- wxSpamOptions.h     14 Sep 2003 14:32:10 -0000      1.1
+++ wxSpamOptions.h     3 Oct 2003 13:39:46 -0000       1.2
@@ -18,6 +18,10 @@
 #endif
 
+#include "MObject.h"
+#include "pointers.h"
 
-class SpamOptionManager
+DECLARE_REF_COUNTER(SpamOptionManager)
+
+class SpamOptionManager : public MObjectRC
 {
 public:
@@ -29,14 +33,5 @@
    virtual bool ShowDialog(wxFrame *parent) = 0;
    
-   class Pointer
-   {
-   public:
-      Pointer();
-      ~Pointer();
-      
-      SpamOptionManager *operator->() { return m_pointer; }
-   private:
-      SpamOptionManager *m_pointer;
-   };
+   static RefCounter<SpamOptionManager> Create();
 };
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to