LibreOffice Module desktop (master)  1
updater.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef INCLUDED_DESKTOP_SOURCE_APP_UPDATER_HXX
11 #define INCLUDED_DESKTOP_SOURCE_APP_UPDATER_HXX
12 
13 #include <rtl/ustring.hxx>
14 
15 bool update();
16 
17 void update_checker();
18 
19 class Updater
20 {
21 private:
22 
23 public:
24 
25  static OUString getUpdateInfoLog();
26  static OUString getPatchDirURL();
27  static OUString getUpdateFileURL();
28  static OUString getExecutableDirURL();
29  static OUString getInstallationPath();
30 
31  static OUString getBuildID();
32  static OUString getUpdateChannel();
33 
34  static void log(const OUString& rMessage);
35  static void log(const OString& rMessage);
36  static void log(const char* pMessage);
37 
38  static void removeUpdateFiles();
39 };
40 
41 #endif
42 
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool update()
Definition: updater.cxx:284
static OUString getUpdateInfoLog()
Definition: updater.cxx:767
static OUString getUpdateFileURL()
Definition: updater.cxx:783
static void log(const OUString &rMessage)
Definition: updater.cxx:804
static void removeUpdateFiles()
Definition: updater.cxx:847
void update_checker()
Definition: updater.cxx:662
static OUString getPatchDirURL()
Definition: updater.cxx:775
static OUString getInstallationPath()
Definition: updater.cxx:788
static OUString getBuildID()
Definition: updater.cxx:831
static OUString getUpdateChannel()
Definition: updater.cxx:839
static OUString getExecutableDirURL()
Definition: updater.cxx:796