JX Application Framework
|
#include <JUserNotification.h>
Public Types | |
enum | CloseAction { kSaveData , kDiscardData , kDontClose } |
Public Member Functions | |
JUserNotification () | |
virtual | ~JUserNotification () |
virtual void | DisplayMessage (const JString &message)=0 |
virtual void | ReportError (const JString &message)=0 |
virtual bool | AskUserYes (const JString &message)=0 |
virtual bool | AskUserNo (const JString &message)=0 |
virtual CloseAction | OKToClose (const JString &message)=0 |
virtual bool | AcceptLicense ()=0 |
bool | IsSilent () const |
void | SetSilent (const bool beQuiet) |
Static Public Member Functions | |
static bool | GetBreakMessageCROnly () |
static void | SetBreakMessageCROnly () |
Interface for the JUserNotification class.
Abstract base class for notifying the user of something. IsSilent() indicates whether or not DisplayMessage and ReportError should actually display the message.
JUserNotification::JUserNotification | ( | ) |
|
virtual |
|
pure virtual |
Implemented in JTextUserNotification, and JXUserNotification.
Implemented in JTextUserNotification, and JXUserNotification.
Implemented in JTextUserNotification, and JXUserNotification.
|
pure virtual |
Implemented in JTextUserNotification, and JXUserNotification.
|
inlinestatic |
Turn on breakCROnly for the next message only.
|
inline |
|
pure virtual |
Implemented in JTextUserNotification, and JXUserNotification.
|
pure virtual |
Implemented in JTextUserNotification, and JXUserNotification.
|
inlinestatic |
|
inline |