#include <ap_Dialog_GenericProgress.h>
Public Types | |
enum | tAnswer { a_OK, a_CANCEL } |
Public Member Functions | |
AP_Dialog_GenericProgress (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
virtual | ~AP_Dialog_GenericProgress (void) |
virtual void | runModal (XAP_Frame *pFrame)=0 |
void | setTitle (const UT_UTF8String &sTitle) |
const UT_UTF8String & | getTitle () |
void | setInformation (const UT_UTF8String &sInformation) |
const UT_UTF8String & | getInformation () |
virtual void | close (bool cancel=false)=0 |
virtual void | setProgress (UT_uint32 progress)=0 |
AP_Dialog_GenericProgress::tAnswer | getAnswer (void) const |
Protected Attributes | |
AP_Dialog_GenericProgress::tAnswer | m_answer |
Private Attributes | |
UT_UTF8String | m_sTitle |
UT_UTF8String | m_sInformation |
AP_Dialog_GenericProgress::AP_Dialog_GenericProgress | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
AP_Dialog_GenericProgress::~AP_Dialog_GenericProgress | ( | void | ) | [virtual] |
virtual void AP_Dialog_GenericProgress::close | ( | bool | cancel = false |
) | [pure virtual] |
Implemented in AP_UnixDialog_GenericProgress, and AP_Win32Dialog_GenericProgress.
Referenced by InterruptableAsyncWorker< T >::_updateDialog().
AP_Dialog_GenericProgress::tAnswer AP_Dialog_GenericProgress::getAnswer | ( | void | ) | const [inline] |
References m_answer.
Referenced by ServiceAccountHandler::_openDocumentSlave(), and InterruptableAsyncWorker< T >::run().
const UT_UTF8String& AP_Dialog_GenericProgress::getInformation | ( | ) | [inline] |
References m_sInformation.
Referenced by AP_UnixDialog_GenericProgress::_constructWindow(), and AP_Win32Dialog_GenericProgress::_onInitDialog().
const UT_UTF8String& AP_Dialog_GenericProgress::getTitle | ( | ) | [inline] |
References m_sTitle.
Referenced by AP_UnixDialog_GenericProgress::_constructWindow(), and AP_Win32Dialog_GenericProgress::_onInitDialog().
virtual void AP_Dialog_GenericProgress::runModal | ( | XAP_Frame * | pFrame | ) | [pure virtual] |
Implements XAP_Dialog_NonPersistent.
Implemented in AP_UnixDialog_GenericProgress, and AP_Win32Dialog_GenericProgress.
Referenced by ServiceAccountHandler::_openDocumentSlave(), and InterruptableAsyncWorker< T >::run().
void AP_Dialog_GenericProgress::setInformation | ( | const UT_UTF8String & | sInformation | ) | [inline] |
References m_sInformation.
Referenced by ServiceAccountHandler::_openDocumentSlave(), and InterruptableAsyncWorker< T >::run().
virtual void AP_Dialog_GenericProgress::setProgress | ( | UT_uint32 | progress | ) | [pure virtual] |
Implemented in AP_UnixDialog_GenericProgress, and AP_Win32Dialog_GenericProgress.
Referenced by InterruptableAsyncWorker< T >::_updateDialog().
void AP_Dialog_GenericProgress::setTitle | ( | const UT_UTF8String & | sTitle | ) | [inline] |
References m_sTitle.
Referenced by ServiceAccountHandler::_openDocumentSlave(), and InterruptableAsyncWorker< T >::run().
Referenced by getInformation(), and setInformation().
Referenced by getTitle(), and setTitle().