LibreOffice Module extensions (master) 1
Macros | Functions | Variables
updatecheckconfig.cxx File Reference
#include "updatecheckconfig.hxx"
#include "updatecheck.hxx"
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <osl/security.hxx>
#include <osl/time.h>
#include <osl/file.hxx>
#include <sal/macros.h>
#include <o3tl/char16_t2wchar_t.hxx>
Include dependency graph for updatecheckconfig.cxx:

Go to the source code of this file.

Macros

#define LAST_CHECK   "LastCheck"
 
#define UPDATE_VERSION   "UpdateVersion"
 
#define UPDATE_BUILDID   "UpdateBuildId"
 
#define UPDATE_DESCRIPTION   "UpdateDescription"
 
#define DOWNLOAD_URL   "DownloadURL"
 
#define IS_DIRECT_DOWNLOAD   "IsDirectDownload"
 
#define OLD_VERSION   "UpdateFoundFor"
 
#define AUTOCHECK_ENABLED   "AutoCheckEnabled"
 
#define AUTODOWNLOAD_ENABLED   "AutoDownloadEnabled"
 
#define CHECK_INTERVAL   "CheckInterval"
 
#define LOCAL_FILE   "LocalFile"
 
#define DOWNLOAD_SIZE   "DownloadSize"
 
#define DOWNLOAD_PAUSED   "DownloadPaused"
 
#define DOWNLOAD_DESTINATION   "DownloadDestination"
 
#define RELEASE_NOTE   "ReleaseNote"
 
#define PROPERTY_VERSION   "Version"
 

Functions

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * extensions_update_UpdateCheckConfig_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Variables

const char *const aUpdateEntryProperties []
 
const sal_uInt32 nUpdateEntryProperties = SAL_N_ELEMENTS(aUpdateEntryProperties)
 

Macro Definition Documentation

◆ AUTOCHECK_ENABLED

#define AUTOCHECK_ENABLED   "AutoCheckEnabled"

Definition at line 51 of file updatecheckconfig.cxx.

◆ AUTODOWNLOAD_ENABLED

#define AUTODOWNLOAD_ENABLED   "AutoDownloadEnabled"

Definition at line 52 of file updatecheckconfig.cxx.

◆ CHECK_INTERVAL

#define CHECK_INTERVAL   "CheckInterval"

Definition at line 53 of file updatecheckconfig.cxx.

◆ DOWNLOAD_DESTINATION

#define DOWNLOAD_DESTINATION   "DownloadDestination"

Definition at line 57 of file updatecheckconfig.cxx.

◆ DOWNLOAD_PAUSED

#define DOWNLOAD_PAUSED   "DownloadPaused"

Definition at line 56 of file updatecheckconfig.cxx.

◆ DOWNLOAD_SIZE

#define DOWNLOAD_SIZE   "DownloadSize"

Definition at line 55 of file updatecheckconfig.cxx.

◆ DOWNLOAD_URL

#define DOWNLOAD_URL   "DownloadURL"

Definition at line 48 of file updatecheckconfig.cxx.

◆ IS_DIRECT_DOWNLOAD

#define IS_DIRECT_DOWNLOAD   "IsDirectDownload"

Definition at line 49 of file updatecheckconfig.cxx.

◆ LAST_CHECK

#define LAST_CHECK   "LastCheck"

Definition at line 44 of file updatecheckconfig.cxx.

◆ LOCAL_FILE

#define LOCAL_FILE   "LocalFile"

Definition at line 54 of file updatecheckconfig.cxx.

◆ OLD_VERSION

#define OLD_VERSION   "UpdateFoundFor"

Definition at line 50 of file updatecheckconfig.cxx.

◆ PROPERTY_VERSION

#define PROPERTY_VERSION   "Version"

Definition at line 60 of file updatecheckconfig.cxx.

◆ RELEASE_NOTE

#define RELEASE_NOTE   "ReleaseNote"

Definition at line 58 of file updatecheckconfig.cxx.

◆ UPDATE_BUILDID

#define UPDATE_BUILDID   "UpdateBuildId"

Definition at line 46 of file updatecheckconfig.cxx.

◆ UPDATE_DESCRIPTION

#define UPDATE_DESCRIPTION   "UpdateDescription"

Definition at line 47 of file updatecheckconfig.cxx.

◆ UPDATE_VERSION

#define UPDATE_VERSION   "UpdateVersion"

Definition at line 45 of file updatecheckconfig.cxx.

Function Documentation

◆ extensions_update_UpdateCheckConfig_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * extensions_update_UpdateCheckConfig_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 653 of file updatecheckconfig.cxx.

References UpdateCheckConfig::get(), and get().

Variable Documentation

◆ aUpdateEntryProperties

const char* const aUpdateEntryProperties[]
Initial value:
= {
}
#define IS_DIRECT_DOWNLOAD
#define UPDATE_DESCRIPTION
#define OLD_VERSION
#define UPDATE_VERSION
#define RELEASE_NOTE
#define DOWNLOAD_URL
#define UPDATE_BUILDID

Definition at line 62 of file updatecheckconfig.cxx.

Referenced by UpdateCheckConfig::clearUpdateFound(), and UpdateCheckConfig::storeUpdateFound().

◆ nUpdateEntryProperties

const sal_uInt32 nUpdateEntryProperties = SAL_N_ELEMENTS(aUpdateEntryProperties)

Definition at line 76 of file updatecheckconfig.cxx.

Referenced by UpdateCheckConfig::storeUpdateFound().