VR-Forces 4.2 Class Documentation
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 
36 #define DT_DE_PLUGIN_EXPORT_MACRO DT_VRF_DLL_PLUGIN
37 
39 #include <vrvCore/exportPlugin.h>
40 
41 
42 extern "C"
43 {
46 }
47 
51 extern "C"
52 {
53  DT_VRF_DLL_PLUGIN void postInitDeModule(makVrv::DtDe&);
54 }
55 
58 
59 #ifdef BUILDING_PLUGIN
60 
61 #include "vrfutil/version.h"
62 #include <vlutil/vlString.h>
63 
64 extern "C" {
65  DT_VRF_DLL_PLUGIN void DtPluginVersion(DtString& version)
66  {
67  version = PLUGIN_COMPATIBLE_VERSION;
68 
69 #ifdef WIN32
70 #ifdef NDEBUG
71  version += " Release";
72 #else
73  version += " Debug";
74 #endif
75 #endif
76  }
77 }
78 
79 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)