1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: Events_LongOp.h
4 // Created: 29 Jul 2014
5 // Author: Mikhail PONIKAROV
7 #ifndef EVENTS_LONGOP_H_
8 #define EVENTS_LONGOP_H_
11 #include <Events_Message.h>
14 * Informs the application that the long operation is performed.
15 * Causes waiting coursor in GUI.
17 class EVENTS_EXPORT Events_LongOp : public Events_Message
20 virtual ~Events_LongOp();
21 /// Returns the identifier of this event
22 static Events_ID eventID();
23 /// Starts the long operation
24 static void start(void* theSender = 0);
25 /// Stops the long operation
26 static void end(void* theSender = 0);
27 /// Returns true if the long operation is performed
28 static bool isPerformed();
31 Events_LongOp(void* theSender = 0);
34 #endif /* EVENTS_ERROR_H_ */