LibreOffice Module extensions (master) 1
|
#include <updatecheckconfig.hxx>
Public Member Functions | |
UpdateCheckROModel (NamedValueByNameAccess &aNameAccess) | |
bool | isAutoCheckEnabled () const |
bool | isDownloadPaused () const |
OUString | getLocalFileName () const |
sal_Int64 | getDownloadSize () const |
OUString | getUpdateEntryVersion () const |
void | getUpdateEntry (UpdateInfo &rInfo) const |
Private Member Functions | |
OUString | getStringValue (const char *) const |
Private Attributes | |
NamedValueByNameAccess & | m_aNameAccess |
Definition at line 50 of file updatecheckconfig.hxx.
|
inlineexplicit |
Definition at line 53 of file updatecheckconfig.hxx.
sal_Int64 UpdateCheckROModel::getDownloadSize | ( | ) | const |
Definition at line 117 of file updatecheckconfig.cxx.
References DOWNLOAD_SIZE, NamedValueByNameAccess::getValue(), and m_aNameAccess.
Referenced by UpdateCheck::initialize().
OUString UpdateCheckROModel::getLocalFileName | ( | ) | const |
Definition at line 112 of file updatecheckconfig.cxx.
References getStringValue(), and LOCAL_FILE.
Referenced by UpdateCheck::initialize().
|
private |
Definition at line 102 of file updatecheckconfig.cxx.
References NamedValueByNameAccess::getValue(), and m_aNameAccess.
Referenced by getLocalFileName(), getUpdateEntry(), and getUpdateEntryVersion().
void UpdateCheckROModel::getUpdateEntry | ( | UpdateInfo & | rInfo | ) | const |
Definition at line 133 of file updatecheckconfig.cxx.
References UpdateInfo::BuildId, UpdateInfo::Description, DOWNLOAD_URL, getStringValue(), NamedValueByNameAccess::getValue(), IS_DIRECT_DOWNLOAD, m_aNameAccess, n, RELEASE_NOTE, UpdateInfo::ReleaseNotes, UpdateInfo::Sources, UPDATE_BUILDID, UPDATE_DESCRIPTION, UPDATE_VERSION, and UpdateInfo::Version.
Referenced by UpdateCheck::initialize().
OUString UpdateCheckROModel::getUpdateEntryVersion | ( | ) | const |
Definition at line 127 of file updatecheckconfig.cxx.
References getStringValue(), and OLD_VERSION.
Referenced by UpdateCheck::initialize().
bool UpdateCheckROModel::isAutoCheckEnabled | ( | ) | const |
Definition at line 90 of file updatecheckconfig.cxx.
References AUTOCHECK_ENABLED, NamedValueByNameAccess::getValue(), and m_aNameAccess.
Referenced by UpdateCheck::initialize().
bool UpdateCheckROModel::isDownloadPaused | ( | ) | const |
Definition at line 96 of file updatecheckconfig.cxx.
References DOWNLOAD_PAUSED, NamedValueByNameAccess::getValue(), and m_aNameAccess.
Referenced by UpdateCheck::initialize().
|
private |
Definition at line 67 of file updatecheckconfig.hxx.
Referenced by getDownloadSize(), getStringValue(), getUpdateEntry(), isAutoCheckEnabled(), and isDownloadPaused().