X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FEvents%2FEvents_LongOp.h;h=c2e6c2e2eb02e24e2a91b46dc5b529df479712cb;hb=6aad051f35d9c375d4727ce5f4d1cbfe24fd3838;hp=bc698ac502c32b05f680962dbc7ad34d3d8557fa;hpb=bfab38b072ad729d6c98ad21b374218a22ea730f;p=modules%2Fshaper.git diff --git a/src/Events/Events_LongOp.h b/src/Events/Events_LongOp.h index bc698ac50..c2e6c2e2e 100644 --- a/src/Events/Events_LongOp.h +++ b/src/Events/Events_LongOp.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: Events_LongOp.h // Created: 29 Jul 2014 // Author: Mikhail PONIKAROV @@ -12,20 +14,22 @@ * 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); };