CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
mainWindow Class Reference

FTLTK Main window of application. More...

#include <mainWindow.h>

Inheritance diagram for mainWindow:
cards::CEventHandler

Public Member Functions

 mainWindow (bool pInstaller=false)
 Constructor. More...
 
void LoadConfig ()
 

Protected Member Functions

void OnSyncFinished (const CEH_RC rc)
 
void OnJobListChange (const CEH_RC rc)
 
void OnLogMessage (const string &pMessage)
 
void OnPackageInfo (CPackage &pPackage)
 
- Protected Member Functions inherited from cards::CEventHandler
virtual void OnDoJobListFinished (const CEH_RC rc)
 
virtual void OnRefreshPackageFinished (const CEH_RC rc)
 
virtual void OnProgressInfo (int percent)
 

Static Protected Member Functions

static void onWindowEvent (Fl_Widget *pWidget, long pID)
 

Additional Inherited Members

- Static Public Member Functions inherited from cards::CEventHandler
static const string getReasonCodeString (const CEH_RC rc)
 Convert Reason Code Enum to human readable text.
 

Detailed Description

FTLTK Main window of application.

This class derivate Fl_Window for FLTK window handle Card_event_handler inheritence is done to enable receiving events callback from cards_wrapper : This is a mechanism to ensure GUI application never blocked by libcard operation. This also ensure libcard is quiet to operate like if it was been launched on a terminal.

Constructor & Destructor Documentation

◆ mainWindow()

mainWindow::mainWindow ( bool  pInstaller = false)

Constructor.

Constructor of the main window.

Constructor of mainWindow class


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