X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FEvents%2FEvents_LongOp.h;h=c2e6c2e2eb02e24e2a91b46dc5b529df479712cb;hb=e32f95642855a63da2727cb324ce2a75632a712f;hp=dfb06cae444ec8ad1dabc843851a421589ca72a2;hpb=96ff1d1fb2acb842cee193f15492de81060a1d58;p=modules%2Fshaper.git diff --git a/src/Events/Events_LongOp.h b/src/Events/Events_LongOp.h index dfb06cae4..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,9 +14,10 @@ * 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 eventID(); @@ -23,9 +26,10 @@ public: /// 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); };