Browse Source

ctkDicomAbstractApp::setState - Move comment from cpp to header file

Jean-Christophe Fillion-Robin 14 years ago
parent
commit
c317948d2b

+ 1 - 6
Plugins/org.commontk.dah.app/ctkDicomAbstractApp.cpp

@@ -60,10 +60,7 @@ ctkDicomAbstractApp::~ctkDicomAbstractApp()
 {
 }
 
-/**
-  * Method triggered by the host. Changes the state of the hosted application.
-  *@return true if state received and not illegal in the transition diagram from the reference, false if illegal or not recognized.
-  */
+//----------------------------------------------------------------------------
 bool ctkDicomAbstractApp::setState(ctkDicomAppHosting::State newState)
 {
   bool result = true;
@@ -180,5 +177,3 @@ bool ctkDicomAbstractApp::publishData(const ctkDicomAppHosting::AvailableData& a
     }
   return true;
 }
-
-

+ 4 - 0
Plugins/org.commontk.dah.app/ctkDicomAbstractApp.h

@@ -48,6 +48,10 @@ public:
   ctkDicomAbstractApp(ctkPluginContext* context);
   virtual ~ctkDicomAbstractApp();
 
+  /**
+    * Method triggered by the host. Changes the state of the hosted application.
+    * @return true if state received and not illegal in the transition diagram from the reference, false if illegal or not recognized.
+    */
   virtual bool setState(ctkDicomAppHosting::State newState);
   
   virtual QList<ctkDicomAppHosting::ObjectLocator> getData(