X-Plane Remote Access Plugin and Client Library
Public Member Functions | Private Attributes | List of all members
xplra::Globals Class Reference

#include <Globals.h>

Public Member Functions

 Globals ()
 
void getVersions (int &xplaneV, int &xplmV) const
 
MessageWindowgetMessageWindow ()
 
HotkeyHandlergetHotkeyHandler ()
 

Private Attributes

int xplaneVersion
 
int xplmVersion
 
MessageWindow messageWindow
 
Menu menu
 
HotkeyHandler hotkeyHandler
 

Detailed Description

Class containing the globals for the enabled instance of the plugin.

Definition at line 47 of file Globals.h.

Constructor & Destructor Documentation

◆ Globals()

Globals::Globals ( )

Construct the globals.

Definition at line 41 of file Globals.cc.

Member Function Documentation

◆ getHotkeyHandler()

HotkeyHandler & xplra::Globals::getHotkeyHandler ( )
inline

Get the hotkey handler.

Definition at line 116 of file Globals.h.

◆ getMessageWindow()

MessageWindow & xplra::Globals::getMessageWindow ( )
inline

Get the message window.

Definition at line 109 of file Globals.h.

◆ getVersions()

void xplra::Globals::getVersions ( int &  xplaneV,
int &  xplmV 
) const
inline

Get the versions.

Definition at line 101 of file Globals.h.

Member Data Documentation

◆ hotkeyHandler

HotkeyHandler xplra::Globals::hotkeyHandler
private

The hotkey handler.

Definition at line 73 of file Globals.h.

◆ menu

Menu xplra::Globals::menu
private

The menu.

Definition at line 68 of file Globals.h.

◆ messageWindow

MessageWindow xplra::Globals::messageWindow
private

The message window.

Definition at line 63 of file Globals.h.

◆ xplaneVersion

int xplra::Globals::xplaneVersion
private

The version of X-Plane.

Definition at line 53 of file Globals.h.

◆ xplmVersion

int xplra::Globals::xplmVersion
private

The version of the XPLM library.

Definition at line 58 of file Globals.h.


The documentation for this class was generated from the following files: