VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
navGenPluginExtension.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vlutil/vlMachineTypes.h>
12 #include <vlutil/vlString.h>
13 
15 
17 #pragma warning (disable:4251)
18 #ifdef WIN32
19  #ifdef DT_VRF_DLL_BUILD
20  #ifdef DT_VRF_NAV_GEN_PLUGIN_EXPORTS
21  #define DT_VRF_NAV_GEN_DLL_PLUGIN __declspec(dllexport)
22  #else
23  #define DT_VRF_NAV_GEN_DLL_PLUGIN __declspec(dllimport)
24  #endif
25  #else
26  #define DT_VRF_NAV_GEN_DLL_PLUGIN
27  #endif
28 #else
29  #define DT_VRF_NAV_GEN_DLL_PLUGIN
30 #endif
31 
32 class DtNavDataGenerator;
33 
34 #define DtNavGenInitializePluginFunction "DtInitializeNavGenPlugin"
35 #define DtNavGenUnloadPluginFunction "DtUnloadNavGenPlugin"
36 
38 typedef void (*DtNavGenUnloadPluginFcn)();
39 
46 //extern "C" {
60 //}
61 
64 
65 #ifdef BUILDING_PLUGIN
66 
67 #include "vrfutil/version.h"
68 #include <vlutil/vlString.h>
69 
70 extern "C" {
71  DT_VRF_NAV_GEN_DLL_PLUGIN void DtPluginVersion(DtString& version)
72  {
73  version = PLUGIN_COMPATIBLE_VERSION;
74 
75 #ifdef WIN32
76 #ifdef NDEBUG
77  version += " Release";
78 #else
79  version += " Debug";
80 #endif
81 #endif
82  }
83 }
84 
85 #endif
#define PLUGIN_COMPATIBLE_VERSION
Definition: version.h:10
This class is used to generate nav data for an area on a terrain.
Definition: navGeneration.h:100

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)