+// 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);
};