]> Creatis software - clitk.git/blobdiff - vv/vvMainWindow.h
test
[clitk.git] / vv / vvMainWindow.h
index 1ddf45d307bea1adb5756fae9b6290b2f1a860f7..d587a7f91ab9a203bd22fe78fed76c1c27fbc34b 100644 (file)
@@ -49,8 +49,6 @@ class vvMainWindow: public vvMainWindowBase,
 {
   Q_OBJECT
 
-  friend class vvWipeImage;
-
   public:
   vvMainWindow();
   ~vvMainWindow();
@@ -185,6 +183,8 @@ public slots:
   void UpdateMemoryUsage();
   void show();
   
+  static vvMainWindow* Instance(){return mSingleton;}
+  
 protected:
   
   void createRecentlyOpenedFilesMenu();
@@ -236,7 +236,7 @@ private:
   // vvMainWindowToolInfo * mCurrentToolInfo;
   // std::vector<vvToolCreatorBase*> mListOfRunningTool;
 
-  static vvMainWindow * mSingleton;
+  static vvMainWindow* mSingleton;
 
   int mCurrentTime;