Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

mgMathGUI Class Reference

#include <MathGUI.h>

List of all members.


Detailed Description

The mgMathGUI class: this static class contains global variables, functions and defines used by almost all MathGUI classes.

This is a singleton class: access it using the Get() function:

mcMathGUI::Get()->DoWhatIWant();

Definition at line 79 of file MathGUI.h.

Static Public Member Functions

static void OnError (const wxString &)
 Handles the MathCore syntax errors sending a mgEVT_SYNTAX_ERROR error to the application object given to Setup().
static mgMathGUIGet ()
 Returns the global instance of mgMathGUI.
static void Set (mgMathGUI *)
 Sets the global instance of mgMathGUI.
static void Setup (wxApp *)
 Sets up the global instance of mgMathGUI.
static void Cleanup ()
 Cleans up the global instance of mgMathGUI.

Protected Attributes

wxString m_strBaseConfigPath
 The base configuration string used by the library to store the customizable settings into the wxConfig object given to mgMathGUI::Setup.
mcMathCore * m_pCore
 The pointer to the mcMathCore instance which is handled by this library.

Static Protected Attributes

static mgMathGUIg_pTheInstance = NULL
 The global instance of the class shared everywhere in programs which use this library.
static wxApp * m_pApp = NULL
 A pointer to the application using this library.


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

Documentation generated with Doxygen on Sun Feb 6 17:19:27 2005
Visit MathStudio home page for more info

[ Top ]