VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfcgf
vrfPluginExtension.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: vrfPluginExtension.h,v $ $Revision: 1.21 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#pragma once
13
14
#include <vlutil/vlMachineTypes.h>
15
#include <vlutil/vlString.h>
16
17
#include "
vrfutil/vrfPluginInformation.h
"
18
20
#pragma warning (disable:4251)
21
#ifdef WIN32
22
#ifdef DT_VRF_DLL_BUILD
23
#ifdef DT_VRF_PLUGIN_EXPORTS
24
#define DT_VRF_DLL_PLUGIN __declspec(dllexport)
25
#else
26
#define DT_VRF_DLL_PLUGIN __declspec(dllimport)
27
#endif
28
#else
29
#define DT_VRF_DLL_PLUGIN
30
#endif
31
#else
32
#define DT_VRF_DLL_PLUGIN
33
#endif
34
35
class
DtCgf
;
36
37
#define DtVrfInitializePluginFunction "DtInitializeVrfPlugin"
38
#define DtVrfPostInitializePluginFunction "DtPostInitializeVrfPlugin"
39
#define DtVrfUnloadPlugin "DtUnloadVrfPlugin"
40
41
typedef
bool
(*
DtInitializeVrfPluginFcn
)(
DtCgf
* cgf);
42
typedef
bool
(*
DtPostInitializeVrfPluginFcn
)(
DtCgf
* cgf);
43
typedef
void (*
DtVrfUnloadPluginFcn
)();
44
51
//extern "C" {
82
//}
83
86
87
#ifdef BUILDING_PLUGIN
88
89
#include "
vrfutil/version.h
"
90
#include <vlutil/vlString.h>
91
92
extern
"C"
{
93
DT_VRF_DLL_PLUGIN
void
DtPluginVersion(
DtString
& version)
94
{
95
version =
PLUGIN_COMPATIBLE_VERSION
;
96
97
#ifdef WIN32
98
#ifdef NDEBUG
99
version +=
" Release"
;
100
#else
101
version +=
" Debug"
;
102
#endif
103
#endif
104
}
105
}
106
107
#endif
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)