#include <GizmoDaemon.hpp>
Inheritance diagram for GizmoDaemon:
Public Member Functions | |
bool | checkVersion (double Version, bool Strict) |
See if a version matches ours. | |
void | enterLoop () |
Enter the main run loop. | |
X11FocusEvent | getCurrentFocus () |
Get currently focused window. | |
bool | getDebugEnabled () |
Is debug mode enabled? | |
GizmodEventHandlerInterface * | getDispatcher () |
Get the event handler / dispatcher. | |
boost::shared_ptr< Gizmo > | getGizmoByFileName (std::string FileName) |
Get a Gizmo by its file name. | |
int | getNumGizmosByClass (GizmoClass Class) |
Get number of Gizmos of a particular class. | |
bool | getReloadConfig () |
Get whether or not to reload the config file. | |
bool | getUseKeyboardLEDs () |
Get whether or not to visualize on the Keyboard LEDs. | |
bool | getUseRemoteControl () |
Get whether or not to allow remote control. | |
double | getVersion () |
Get version string. | |
void | initGizmod () |
Initialize GizmoDaemon Evolution. | |
bool | initialize (int argc, char **argv) |
generic init stuff, command line, etc | |
void | printNiceScriptInit (int Width, std::string Text1, std::string Text2, std::string Text3) |
Print a nice looking init string. | |
void | signalShutdown () |
Shutdown gizmod. | |
GizmoDaemon () | |
Default Constructor. | |
virtual | ~GizmoDaemon () |
Destructor. |
bool GizmoDaemon::checkVersion | ( | double | Version, | |
bool | Strict | |||
) |
See if a version matches ours.
Version | The script's version | |
Strict | If set, the versions need to exactly match otherwise the script's Version signifies a minimum version level that Gizmod needs to be |
X11FocusEvent GizmoDaemon::getCurrentFocus | ( | ) |
Get currently focused window.
bool GizmoDaemon::getDebugEnabled | ( | ) |
Is debug mode enabled?
GizmodEventHandlerInterface * GizmoDaemon::getDispatcher | ( | ) |
Get the event handler / dispatcher.
boost::shared_ptr< Gizmo > GizmoDaemon::getGizmoByFileName | ( | std::string | FileName | ) |
Get a Gizmo by its file name.
FileName | The filename of the gizmo to find |
int GizmoDaemon::getNumGizmosByClass | ( | GizmoClass | Class | ) |
Get number of Gizmos of a particular class.
Class | The desired class |
bool GizmoDaemon::getReloadConfig | ( | ) |
Get whether or not to reload the config file.
bool GizmoDaemon::getUseKeyboardLEDs | ( | ) |
Get whether or not to visualize on the Keyboard LEDs.
bool GizmoDaemon::getUseRemoteControl | ( | ) |
Get whether or not to allow remote control.
double GizmoDaemon::getVersion | ( | ) |
Get version string.
Note that this is also implemented in Python as a property so it can be accessed as a variable by referencing ".Version"
void GizmoDaemon::initGizmod | ( | ) |
Initialize GizmoDaemon Evolution.
Initialize GizmoDaemon
bool GizmoDaemon::initialize | ( | int | argc, | |
char ** | argv | |||
) |
generic init stuff, command line, etc
argc | number of command line arguments | |
argv | command line arguments |
void GizmoDaemon::printNiceScriptInit | ( | int | Width, | |
std::string | Text1, | |||
std::string | Text2, | |||
std::string | Text3 | |||
) |
Print a nice looking init string.
Width | Placement positions | |
Text1 | Text field 1 | |
Text2 | Text field 2 | |
Text3 | Text field 3 |