VR-Engage  2.2
Loading...
Searching...
No Matches
makRadioQt.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file makRadioQt.h
7//! \ingroup vrfMakRadioQt
8//! \brief Main entry point for the MAK Radio Qt module
9//!
10//! This file defines the initialization function for the MAK Radio Qt module,
11//! which provides radio communication functionality to the VREngage environment
12//! through Qt-based user interface components.
13
14#pragma once
15
16//! \brief Platform-specific DLL export/import declaration
17//!
18//! This macro defines the appropriate export/import declaration for Windows DLLs
19//! and establishes proper visibility for shared libraries on other platforms.
20//! It is used to properly export classes and functions from the vrfMakRadioQt library.
21#ifdef _WIN32
22 #ifdef vrfMakRadioQt_EXPORTS
23 #define VRVRADIOQT_DLL __declspec(dllexport)
24 #else
25 #define VRVRADIOQT_DLL __declspec(dllimport)
26 #endif
27#else
28 #define VRVRADIOQT_DLL
29#endif
30
31//! \brief Setup proper plugin export symbol
32//!
33//! Defines the export macro for the plugin's functions.
34#define DT_DE_PLUGIN_EXPORT_MACRO VRVRADIOQT_DLL
35
36//! \brief Include plugin export definitions from VRV Core
37//!
38//! Exports the plugin's initialization function with the proper signature.
39#include <vrvCore/exportPlugin.h>
40
41//! \brief Include signal library for event handling
42//!
43//! The signalslib provides cross-platform signal and slot functionality for event handling.
44#include <vrvUtil/signalslib.h>
45
46//! \brief Namespace containing functions for the MAK Radio Qt module
47//!
48//! This namespace encapsulates all functionality related to the MAK Radio Qt module,
49//! including initialization and radio interface components.
50namespace makRadioQt
51{
52//! \brief Initializes the MAK Radio Qt module
53//! \param de The document environment providing access to application resources
54//!
55//! This function is called when the module is loaded, and initializes all
56//! radio-related Qt components and functionality. It registers the radio widgets
57//! and connects them to the radio simulation subsystem.
58void init(makVrv::DtDe& de);
59} // namespace makRadioQt
Include plugin export definitions from VRV Core.
Definition makRadioQt.h:51
void init(makVrv::DtDe &de)
Initializes the MAK Radio Qt module.
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.