VR-Forces 4.0.4 Class Documentation
include/vrfGuiCore/vrfGuiExportPlugin.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2012 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: vrfGuiExportPlugin.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00013 
00014 #pragma once
00015 
00016 #include <vrfutil/vrfPluginInformation.h>
00017 
00019 
00020 #ifdef _WIN32
00021    #ifdef VRFPLUGIN_EXPORTS
00022       #define DT_VRF_DLL_PLUGIN __declspec ( dllexport )
00023    #else
00024       #define DT_VRF_DLL_PLUGIN __declspec ( dllimport )
00025    #endif
00026 #else
00027    #define DT_VRF_DLL_PLUGIN
00028 #endif
00029 
00030 namespace makVrv
00031 {
00032    class DtDe;
00033 }
00034 
00036 #define DT_DE_PLUGIN_EXPORT_MACRO DT_VRF_DLL_PLUGIN
00037 
00039 #include <vrvCore/exportPlugin.h>
00040 
00041 
00042 extern "C"
00043 {
00045    DT_VRF_DLL_PLUGIN void DtPluginInformation(DtVrfPluginInformation& info);
00046 }
00047 
00051 extern "C"
00052 {
00053    DT_VRF_DLL_PLUGIN void postInitDeModule(makVrv::DtDe&);
00054 }
00055 
00058 
00059 #ifdef BUILDING_PLUGIN
00060 
00061 #include "vrfutil/version.h"
00062 #include <vlutil/vlString.h>
00063 
00064 extern "C" {
00065    DT_VRF_DLL_PLUGIN void DtPluginVersion(DtString& version)
00066    {
00067       version = PLUGIN_COMPATIBLE_VERSION;
00068 
00069 #ifdef WIN32
00070 #ifdef NDEBUG
00071       version += " Release";
00072 #else
00073       version += " Debug";
00074 #endif
00075 #endif
00076    }
00077 }
00078 
00079 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)