1 // File: Events_LongOp.h
2 // Created: 29 Jul 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef EVENTS_LONGOP_H_
6 #define EVENTS_LONGOP_H_
9 #include <Events_Message.h>
12 * Informs the application that the long operation is performed.
13 * Causes waiting coursor in GUI.
15 class EVENTS_EXPORT Events_LongOp : public Events_Message
18 virtual ~Events_LongOp();
19 /// Returns the identifier of this event
20 static Events_ID eventID();
21 /// Starts the long operation
22 static void start(void* theSender = 0);
23 /// Stops the long operation
24 static void end(void* theSender = 0);
25 /// Returns true if the long operation is performed
26 static bool isPerformed();
29 Events_LongOp(void* theSender = 0);
32 #endif /* EVENTS_ERROR_H_ */