#include <xap_Dlg_History.h>
XAP_Dialog_History::XAP_Dialog_History | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
References XAP_Dialog::getApp(), XAP_App::getStringSet(), and m_pSS.
virtual XAP_Dialog_History::~XAP_Dialog_History | ( | void | ) | [inline, virtual] |
XAP_Dialog_History::tAnswer XAP_Dialog_History::getAnswer | ( | void | ) | const [inline] |
Referenced by AD_Document::showHistory().
UT_uint32 XAP_Dialog_History::getButtonCount | ( | ) | const [inline] |
References iButtonCount.
Referenced by XAP_Win32Dialog_History::_onInitDialog().
const char * XAP_Dialog_History::getButtonLabel | ( | UT_uint32 | indx | ) | const |
References XAP_StringSet::getValue(), m_pSS, UT_ASSERT, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by XAP_Win32Dialog_History::_onInitDialog().
UT_uint32 XAP_Dialog_History::getHeaderItemCount | ( | ) | const [inline] |
References iHeaderItemCount.
Referenced by XAP_Win32Dialog_History::_onInitDialog().
const char * XAP_Dialog_History::getHeaderLabel | ( | UT_uint32 | indx | ) | const |
References XAP_StringSet::getValue(), m_pSS, UT_ASSERT, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by XAP_Win32Dialog_History::_onInitDialog(), and XAP_UnixDialog_History::_populateWindowData().
char * XAP_Dialog_History::getHeaderValue | ( | UT_uint32 | indx | ) | const |
References UT_String::c_str(), FREEP, AD_Document::getDocUUID(), AD_Document::getDocUUIDString(), AD_Document::getDocVersion(), AD_Document::getEditTime(), AD_Document::getFilename(), AD_Document::getLastSavedTime(), UT_UUID::getTime(), m_pDoc, s, UT_ASSERT, UT_ellipsisPath(), UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, and UT_String_sprintf().
Referenced by XAP_Win32Dialog_History::_onInitDialog(), and XAP_UnixDialog_History::_populateWindowData().
UT_uint32 XAP_Dialog_History::getListColumnCount | ( | ) | const [inline] |
References iListColumnCount.
Referenced by XAP_Win32Dialog_History::_onInitDialog().
const char * XAP_Dialog_History::getListHeader | ( | UT_uint32 | column | ) | const |
References XAP_StringSet::getValue(), m_pSS, UT_ASSERT, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by XAP_UnixDialog_History::_fillHistoryTree(), and XAP_Win32Dialog_History::_onInitDialog().
UT_uint32 XAP_Dialog_History::getListItemCount | ( | ) | const |
References AD_Document::getHistoryCount(), m_pDoc, and UT_return_val_if_fail.
Referenced by XAP_UnixDialog_History::_fillHistoryTree(), and XAP_Win32Dialog_History::_onInitDialog().
References AD_Document::getHistoryNthId(), m_pDoc, and UT_return_val_if_fail.
Referenced by XAP_UnixDialog_History::_fillHistoryTree(), and XAP_Win32Dialog_History::_onInitDialog().
const char * XAP_Dialog_History::getListTitle | ( | ) | const |
References XAP_StringSet::getValue(), m_pSS, and UT_return_val_if_fail.
Referenced by XAP_Win32Dialog_History::_onInitDialog(), and XAP_UnixDialog_History::_populateWindowData().
References UT_String::c_str(), FREEP, AD_Document::getHistoryNthAutoRevisioned(), AD_Document::getHistoryNthId(), AD_Document::getHistoryNthTimeStarted(), XAP_StringSet::getValue(), m_pDoc, m_pSS, s, UT_ASSERT, UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, and UT_String_sprintf().
Referenced by XAP_UnixDialog_History::_fillHistoryTree(), and XAP_Win32Dialog_History::_onInitDialog().
UT_uint32 XAP_Dialog_History::getSelectionId | ( | ) | const [inline] |
Referenced by AD_Document::showHistory().
const char * XAP_Dialog_History::getWindowLabel | ( | ) | const |
References XAP_StringSet::getValue(), m_pSS, and UT_return_val_if_fail.
Referenced by XAP_Win32Dialog_History::_onInitDialog().
virtual void XAP_Dialog_History::runModal | ( | XAP_Frame * | pFrame | ) | [pure virtual] |
Implements XAP_Dialog_NonPersistent.
Implemented in XAP_CocoaDialog_History, and XAP_UnixDialog_History.
Referenced by AD_Document::showHistory().
void XAP_Dialog_History::setDocument | ( | AD_Document * | pDoc | ) | [inline] |
Referenced by AD_Document::showHistory().
void XAP_Dialog_History::setSelectionId | ( | UT_uint32 | iId | ) | [inline] |
Referenced by XAP_Win32Dialog_History::_onCommand(), and s_history_selected().
UT_uint32 XAP_Dialog_History::m_iId [private] |
const AD_Document* XAP_Dialog_History::m_pDoc [private] |
Referenced by getHeaderValue(), getListItemCount(), getListItemId(), and getListValue().
const XAP_StringSet* XAP_Dialog_History::m_pSS [private] |
Referenced by getButtonLabel(), getHeaderLabel(), getListHeader(), getListTitle(), getListValue(), getWindowLabel(), and XAP_Dialog_History().