]> vaikene.ee Git - evaf/blobdiff - src/libs/Common/ieventqueue.h
More work on the common library and the main GUI application.
[evaf] / src / libs / Common / ieventqueue.h
index ce12e428e8f27c53ed06f22024a735acf32eb4d5..bf60a674bd2f2fb6bbbaa3e049d2faf6e895d499 100644 (file)
@@ -1,6 +1,6 @@
 /**
  * @file Common/ieventqueue.h
- * @brief Event queue interfaces
+ * @brief Event queue interface
  * @author Enar Vaikene
  *
  * Copyright (c) 2011 Enar Vaikene
@@ -28,6 +28,8 @@
 namespace eVaf {
 namespace Common {
 
+class Event;
+
 /**
  * The eVaf event queue interface
  * @code#include <Common/iEventQueue>@endcode
@@ -48,6 +50,12 @@ public:
     /// Empty virtual destructor
     virtual ~iEventQueue() {}
 
+    /**
+     * Returns the instance of the iEventQueue interface
+     * @return The iEventQueue interface
+     */
+    static iEventQueue * instance();
+
     /**
      * Registers an event
      * @param name Name of the event