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 #pragma once
11 
12 #include <rtl/ustring.hxx>
13 
14 bool update();
15 
16 void update_checker();
17 
18 class Updater
19 {
20 public:
21  static OUString getUpdateInfoLog();
22  static OUString getPatchDirURL();
23  static OUString getUpdateFileURL();
24  static OUString getExecutableDirURL();
25  static OUString getInstallationPath();
26 
27  static OUString getBuildID();
28  static OUString getUpdateChannel();
29 
30  static void log(const OUString& rMessage);
31  static void log(const OString& rMessage);
32  static void log(const char* pMessage);
33 
34  static void removeUpdateFiles();
35 };
36 
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool update()
Definition: updater.cxx:286
static OUString getUpdateInfoLog()
Definition: updater.cxx:776
static OUString getUpdateFileURL()
Definition: updater.cxx:792
static void log(const OUString &rMessage)
Definition: updater.cxx:813
static void removeUpdateFiles()
Definition: updater.cxx:856
void update_checker()
Definition: updater.cxx:671
static OUString getPatchDirURL()
Definition: updater.cxx:784
static OUString getInstallationPath()
Definition: updater.cxx:797
static OUString getBuildID()
Definition: updater.cxx:840
static OUString getUpdateChannel()
Definition: updater.cxx:848
static OUString getExecutableDirURL()
Definition: updater.cxx:805