CTK 0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Loading...
Searching...
No Matches
ctkPluginConstants.h
Go to the documentation of this file.
1/*=============================================================================
2
3 Library: CTK
4
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics
7
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19
20=============================================================================*/
21
22#ifndef CTKPLUGINCONSTANTS_H
23#define CTKPLUGINCONSTANTS_H
24
25#include <QString>
26
27#include "ctkPluginFrameworkExport.h"
28
32struct CTK_PLUGINFW_EXPORT ctkPluginConstants {
33
38 static const QString SYSTEM_PLUGIN_LOCATION; // = "System Plugin"
39
45 static const QString SYSTEM_PLUGIN_SYMBOLICNAME; // = "system.plugin"
46
47
55 static const QString FRAMEWORK_VERSION; // = "org.commontk.pluginfw.version"
56
65 static const QString FRAMEWORK_VENDOR; // = "org.commontk.pluginfw.vendor"
66
79 static const QString FRAMEWORK_STORAGE; // = "org.commontk.pluginfw.storage"
80
88 static const QString FRAMEWORK_STORAGE_CLEAN; // = "org.commontk.pluginfw.storage.clean";
89
96 static const QString FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT; // = "onFirstInit";
97
107 static const QString FRAMEWORK_PLUGIN_LOAD_HINTS; // = "org.commontk.pluginfw.loadhints"
108
123 static const QString FRAMEWORK_PRELOAD_LIBRARIES; // = "org.commontk.pluginfw.preloadlibs"
124
132 static const QString PLUGIN_SYMBOLICNAME; // = "Plugin-SymbolicName"
133
140 static const QString PLUGIN_COPYRIGHT; // = "Plugin-Copyright"
141
149 static const QString PLUGIN_DESCRIPTION; // = "Plugin-Description"
150
157 static const QString PLUGIN_NAME; // = "Plugin-Name"
158
166 static const QString PLUGIN_VENDOR; // = "Plugin-Vendor"
167
178 static const QString PLUGIN_LOCALIZATION; // = "Plugin-Localization"
179
185 static const QString PLUGIN_LOCALIZATION_DEFAULT_BASENAME; // = "CTK-INF/l10n/plugin"
186
196 static const QString REQUIRE_PLUGIN; // = "Require-Plugin"
197
220 static const QString PLUGIN_VERSION_ATTRIBUTE; // = "plugin-version"
221
222
230 static const QString PLUGIN_VERSION; // = "Plugin-Version"
231
240 static const QString PLUGIN_ACTIVATIONPOLICY; // = "Plugin-ActivationPolicy"
241
250 static const QString PLUGIN_UPDATELOCATION; // = "Plugin-UpdateLocation"
251
271 static const QString ACTIVATION_EAGER; // = "eager"
272
289 static const QString ACTIVATION_LAZY; // = "lazy"
290
308 static const QString RESOLUTION_DIRECTIVE; // = "resolution"
309
326 static const QString RESOLUTION_MANDATORY; // = "mandatory"
327
346 static const QString RESOLUTION_OPTIONAL; // = "optional"
347
356 static const QString OBJECTCLASS; // = "objectclass"
357
368 // ATTENTION!!! If the value is changed, change also ctkEventConstants::SERVICE_ID
369 static const QString SERVICE_ID; // = "service.id"
370
390 // ATTENTION!!! If the value is changed, change also ctkEventConstants::SERVICE_PID
391 static const QString SERVICE_PID; // = "service.pid"
392
418 static const QString SERVICE_RANKING; // = "service.ranking"
419
427 static const QString SERVICE_VENDOR; // = "service.vendor"
428
436 static const QString SERVICE_DESCRIPTION; // = "service.description"
437
438};
439
440#include <QLibrary>
441#include <QMetaType>
442Q_DECLARE_METATYPE(QLibrary::LoadHints)
443
444
445#endif // CTKPLUGINCONSTANTS_H
Q_DECLARE_METATYPE(ctkDICOMPersonName)
static const QString SYSTEM_PLUGIN_SYMBOLICNAME
static const QString FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT
static const QString PLUGIN_ACTIVATIONPOLICY
static const QString FRAMEWORK_STORAGE
static const QString FRAMEWORK_PLUGIN_LOAD_HINTS
static const QString PLUGIN_NAME
static const QString SERVICE_PID
static const QString ACTIVATION_EAGER
static const QString PLUGIN_LOCALIZATION
static const QString SERVICE_RANKING
static const QString PLUGIN_SYMBOLICNAME
static const QString RESOLUTION_OPTIONAL
static const QString PLUGIN_VERSION
static const QString SERVICE_ID
static const QString PLUGIN_VENDOR
static const QString SYSTEM_PLUGIN_LOCATION
static const QString RESOLUTION_MANDATORY
static const QString FRAMEWORK_PRELOAD_LIBRARIES
static const QString FRAMEWORK_STORAGE_CLEAN
static const QString ACTIVATION_LAZY
static const QString PLUGIN_LOCALIZATION_DEFAULT_BASENAME
static const QString PLUGIN_COPYRIGHT
static const QString FRAMEWORK_VENDOR
static const QString REQUIRE_PLUGIN
static const QString SERVICE_VENDOR
static const QString PLUGIN_UPDATELOCATION
static const QString PLUGIN_VERSION_ATTRIBUTE
static const QString PLUGIN_DESCRIPTION
static const QString OBJECTCLASS
static const QString RESOLUTION_DIRECTIVE
static const QString SERVICE_DESCRIPTION
static const QString FRAMEWORK_VERSION