#include <nonguifrontend.h>
Inheritance diagram for NonGUIFrontend:
Public Member Functions | |
NonGUIFrontend (DomainFacade *facadePtr) | |
int | run (int argc, char **argv) |
void | showProgress (const char *infoText, unsigned int numOperations) |
void | hideProgress () |
void | updateProgress (int numOperationsDone) |
void | setProgressInfo (const char *infoText) |
bool | isOperationAborted () |
void | processEvents () |
void | reportError (const char *message, int id) |
int | askQuestion (const char *question) |
|
Constructs and initializes the object.
|
|
Function for asking the user a yes/no question.
Implements Frontend. |
|
Function for hiding the progress info. Implements Frontend. |
|
Function for checking if the user has aborted the operation (eg pressed cancel)
Implements Frontend. |
|
Function for processing events. This is useful on timeconsuming operations which aren't running in separate processes or threads. This function is actually not needed in this frontend. Implements Frontend. |
|
Function for reporting an error to the user. It has two categories of errors; warning and critical.
Implements Frontend. |
|
The run function for starting the application.
Implements Frontend. |
|
Function for changing the information to display to the user
Implements Frontend. |
|
Function for displaying progress on timeconsuming operations.
Implements Frontend. |
|
Function for updating the progress.
Implements Frontend. |