GPC  v1.0.0-2516
Gorman Print Control
GPCApplication Class Reference
Inheritance diagram for GPCApplication:
Collaboration diagram for GPCApplication:

Public Types

enum  EJob {
  kInvalid,
  kInitializeAndLoad,
  kShowFirstWindow,
  kShowSummaryWindow,
  kShowAboutWindow,
  kShutdown,
  kNoOp
}
 

Public Member Functions

const String getApplicationName (void) override
 
const String getApplicationVersion (void) override
 
bool moreThanOneInstanceAllowed (void) override
 
void systemRequestedQuit (void) override
 
void initialise (const String &commandLine) override
 
void shutdown () override
 
void anotherInstanceStarted (const String &commandLine) override
 
void unhandledException (const std::exception *e, const String &sourceFilename, int lineNumber) override
 
void run (const EJob job)
 
void job_initialize_and_load (void)
 
void job_show_about_window (void)
 
virtual void timerCallback (void)
 Inherited from Timer. Used to save configuration to disk after a set interval. More...
 

Public Attributes

TooltipWindow tool_tip
 
std::unique_ptr< LookAndFeel_V4 > laf
 
std::unique_ptr< Cfgcfg
 
std::unique_ptr< SummaryWndsummary_wnd
 
File directory
 Base directory in which all of the Print Control files can be found, including the .JSON file. More...
 
VStr errors
 
MSessions sessions
 

Member Function Documentation

◆ timerCallback()

void GPCApplication::timerCallback ( void  )
virtual

Inherited from Timer. Used to save configuration to disk after a set interval.

References SessionRecord::configuration_needs_to_be_saved.

Member Data Documentation

◆ directory

File GPCApplication::directory

Base directory in which all of the Print Control files can be found, including the .JSON file.

Referenced by LoadWnd::check_for_json(), LoadWnd::directory_handling(), SessionRecord::initialize(), and SessionRecord::schedule_sessions_to_be_saved().