Salome HOME
Create dimension presentations
[modules/shaper.git] / src / Events / Events_LongOp.h
index bc698ac502c32b05f680962dbc7ad34d3d8557fa..c2e6c2e2eb02e24e2a91b46dc5b529df479712cb 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        Events_LongOp.h
 // Created:     29 Jul 2014
 // Author:      Mikhail PONIKAROV
  * Informs the application that the long operation is performed.
  * Causes waiting coursor in GUI.
  */
-class EVENTS_EXPORT Events_LongOp: public Events_Message
+class EVENTS_EXPORT Events_LongOp : public Events_Message
 {
 public:
+  /// Default destructor
   virtual ~Events_LongOp();
   /// Returns the identifier of this event
-  static Events_ID errorID();
+  static Events_ID eventID();
   /// Starts the long operation
   static void start(void* theSender = 0);
   /// Stops the long operation
   static void end(void* theSender = 0);
   /// Returns true if the long operation is performed
-  static bool isPerformed(); 
+  static bool isPerformed();
 
 protected:
+  /// Default constructor. Use "start" and "end" for generation.
   Events_LongOp(void* theSender = 0);
 };