VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfGuiExportPlugin.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: vrfGuiExportPlugin.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
13 
14 #pragma once
15 
17 
19 
20 #ifdef _WIN32
21  #ifdef VRFPLUGIN_EXPORTS
22  #define DT_VRF_DLL_PLUGIN __declspec ( dllexport )
23  #else
24  #define DT_VRF_DLL_PLUGIN __declspec ( dllimport )
25  #endif
26 #else
27  #define DT_VRF_DLL_PLUGIN
28 #endif
29 
30 namespace makVrv
31 {
32  class DtDe;
33 }
34 
35 namespace makVrf
36 {
37  class DtVrfGuiCommandLineParser;
38 }
39 
41 #define DT_DE_PLUGIN_EXPORT_MACRO DT_VRF_DLL_PLUGIN
42 
44 #include <vrvCore/exportPlugin.h>
45 
46 
47 extern "C"
48 {
51 }
52 
56 extern "C"
57 {
59 }
60 
65 extern "C"
66 {
68 }
69 
72 extern "C"
73 {
75 }
76 
79 
80 #ifdef BUILDING_PLUGIN
81 
82 #include "vrfutil/version.h"
83 #include <vlutil/vlString.h>
84 
85 extern "C" {
86  DT_VRF_DLL_PLUGIN void DtPluginVersion(DtString& version)
87  {
88  version = PLUGIN_COMPATIBLE_VERSION;
89 
90 #ifdef WIN32
91 #ifdef NDEBUG
92  version += " Release";
93 #else
94  version += " Debug";
95 #endif
96 #endif
97  }
98 }
99 
100 #endif
#define DT_VRF_DLL_PLUGIN
Get proper local export symbol.
Definition: vrfGuiExportPlugin.h:27
DT_VRF_DLL_PLUGIN void initializeCommandLineArguments(makVrf::DtVrfGuiCommandLineParser *)
This method is called when trying to add additional command line arguments to the command line proces...
DT_VRF_DLL_PLUGIN void postInitDeModule(makVrv::DtDe &)
Include this code in your plugin if you wish to initialize information after all the plugins have bee...
#define PLUGIN_COMPATIBLE_VERSION
Definition: version.h:10
This information is strictly optional and only the name and version will be printed to the log file...
Definition: vrfPluginInformation.h:20
DT_VRF_DLL_PLUGIN void DtPluginInformation(DtVrfPluginInformation &info)
Declare &amp; export the plugin initialization function (void initDeModule(DtDe* de)) ...
DT_VRF_DLL_PLUGIN bool initQtDesignerModule(makVrv::DtDe &)
Include this in your plugin if you wish to initialize this plugin for Qt designer. Note that when called the de that is called is not an initialized de. It is only used as a rooted singleton to register and get access to some factory classes. In this case the DtVrfTaskSetWidgetVariableManager can be used to register the variable widget creator that can be used in the plugin.
The MAK Stealth Application&#39;s command line processor.
Definition: vrfGuiCommandLineParser.h:31
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)