![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: exampleAccessoryPlugin.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00012 #pragma once 00013 // Get proper local export symbol 00014 #include "exampleAccessory.h" 00015 // Setup proper plugin export symbol 00016 #define DT_DE_PLUGIN_EXPORT_MACRO DT_DLL_EXAMPLEACCESSORY 00017 // Declare & export the plugin initialization function (bool initDeModule(DtDe* de)) 00018 #include <vrvCore/exportPlugin.h> 00019 00020 namespace makVrv 00021 { 00022 class DtDe; 00023 } 00024 00025 // Work function for the plugin initialization 00026 DT_DLL_EXAMPLEACCESSORY void init(makVrv::DtDe& de); 00027 00028 // Callback to load the DtAccessoryDriver into the display engine 00029 void loadAccessory(makVrv::DtDe* de);