Explorar el Código

Added new service constants.

Sascha Zelzer hace 14 años
padre
commit
e41986df1f

+ 2 - 0
Libs/PluginFramework/ctkPluginConstants.cpp

@@ -57,4 +57,6 @@ const QString ctkPluginConstants::SERVICE_ID = "service.id";
 const QString ctkPluginConstants::SERVICE_PID = "service.pid";
 
 const QString ctkPluginConstants::SERVICE_RANKING = "service.ranking";
+const QString ctkPluginConstants::SERVICE_VENDOR = "service.vendor";
+const QString ctkPluginConstants::SERVICE_DESCRIPTION = "service.description";
 

+ 18 - 0
Libs/PluginFramework/ctkPluginConstants.h

@@ -357,6 +357,24 @@ struct CTK_PLUGINFW_EXPORT ctkPluginConstants {
    */
   static const QString SERVICE_RANKING; // = "service.ranking"
 
+  /**
+   * Service property identifying a service's vendor.
+   *
+   * <p>
+   * This property may be supplied in the properties <code>ctkDictionary</code> object
+   * passed to the <code>ctkPluginContext::registerService()</code> method.
+   */
+  static const QString SERVICE_VENDOR; // = "service.vendor"
+
+  /**
+   * Service property identifying a service's description.
+   *
+   * <p>
+   * This property may be supplied in the properties <code>ctkDictionary</code> object
+   * passed to the <code>ctkPluginContext::registerService()</code> method.
+   */
+  static const QString SERVICE_DESCRIPTION; // = "service.description"
+
 };