VR-Engage
2.2
Loading...
Searching...
No Matches
plugin.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2025 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
//! \file plugin.h
7
//! \brief Plugin entry point for the QML HUD example demonstrating QML overlay integration.
8
9
#pragma once
10
11
#ifdef _WIN32
12
#ifdef qmlHud_EXPORTS
13
#define QMLHUD_DLL __declspec(dllexport)
14
#else
15
#define QMLHUD_DLL __declspec(dllimport)
16
#endif
17
#else
18
#define QMLHUD_DLL
19
#endif
20
21
namespace
makVre
22
{
23
class
DtPlayerStationApp;
24
}
25
26
extern
"C"
27
{
28
//! \brief Plugin entry point for VR-Engage player station module loading.
29
//!
30
//! This function is called by VR-Engage when the qmlHud plugin is loaded. It registers
31
//! the DtDriverQmlHudComponent with the application's component factory, making it
32
//! available for use in role configurations.
33
//!
34
//! This example demonstrates the standard VR-Engage plugin initialization pattern where
35
//! components are registered by type string that matches their usage in role XML files.
36
//!
37
//! \param app The player station application instance providing access to the component factory
38
//! \return true if registration succeeds, false otherwise
39
QMLHUD_DLL
bool
initPlayerStationModule
(
makVre::DtPlayerStationApp
* app);
40
};
makVre::DtPlayerStationApp
Top-level class representing the VR-Engage application.
Definition
playerStationApp.h:163
initPlayerStationModule
COMMENTFRONTEND_DLL bool initPlayerStationModule(makVre::DtPlayerStationApp *app)
Entry point called by the player station framework to register the example frontend comment logic com...
QMLHUD_DLL
#define QMLHUD_DLL
Definition
plugin.h:18
makVre
Include export definitions for this library.
Definition
glsVreMessageUtil.h:49
Generated on 2026-01-13 from SVN revision 282860 - Copyright © 2005-2026 MAK Technologies. All Rights Reserved.