Browse Source

Added another event constant

Sascha Zelzer 14 years ago
parent
commit
513f506f19

+ 1 - 0
Libs/PluginFramework/EventBus/ctkEventConstants.cpp

@@ -27,5 +27,6 @@ const QString EventConstants::EVENT_FILTER = "event.filter";
 
 const QString EventConstants::PLUGIN_SYMBOLICNAME = "plugin.symbolicName";
 const QString EventConstants::PLUGIN_ID = "plugin.id";
+const QString EventConstants::PLUGIN = "plugin";
 const QString EventConstants::PLUGIN_VERSION = "plugin.version";
 

+ 6 - 0
Libs/PluginFramework/EventBus/ctkEventConstants.h

@@ -88,6 +88,12 @@ struct CTK_PLUGINFW_EXPORT EventConstants {
   static const QString PLUGIN_ID; // = "plugin.id";
 
   /**
+   * The ctkPlugin object of the plugin relevant to the event. The type of the
+   * value for this event property is {@link ctkPlugin}.
+   */
+  static const QString PLUGIN; // = "plugin";
+
+  /**
    * The version of the plugin relevant to the event. The type of the value
    * for this event property is {@link ctkVersion}.
    */