|
LibreOffice Module desktop (master) 1
|
#include "updater.hxx"#include <unistd.h>#include <errno.h>#include <fstream>#include <config_folders.h>#include <rtl/bootstrap.hxx>#include <officecfg/Office/Update.hxx>#include <rtl/ustring.hxx>#include <unotools/tempfile.hxx>#include <unotools/configmgr.hxx>#include <osl/file.hxx>#include <rtl/process.h>#include <sal/log.hxx>#include <curl/curl.h>#include <orcus/json_document_tree.hpp>#include <orcus/config.hpp>#include <orcus/pstring.hpp>#include <comphelper/hash.hxx>#include <com/sun/star/container/XNameAccess.hpp>#include <officecfg/Setup.hxx>#include <functional>#include <memory>#include <set>Go to the source code of this file.
Macros | |
| #define | tstrncpy std::strncpy |
Functions | |
| bool | update () |
| void | update_checker () |
| #define tstrncpy std::strncpy |
Definition at line 140 of file updater.cxx.
| bool update | ( | ) |
Definition at line 286 of file updater.cxx.
References Updater::getExecutableDirURL(), utl::TempFileNamed::GetURL(), i, Updater::log(), OUStringToOString(), SAL_WARN, and WinLaunchChild().
Referenced by dp_gui::UpdateDialog::Thread::execute(), and desktop::Desktop::Main().
| void update_checker | ( | ) |
Definition at line 675 of file updater.cxx.
References aURL, comphelper::ConfigurationChanges::create(), Updater::getBuildID(), utl::ConfigManager::getProductName(), Updater::getUpdateChannel(), Updater::log(), OUStringToOString(), and SAL_WARN.
Referenced by desktop::Desktop::Main().