kodi
FilesystemInstaller.h
1 /*
2  * Copyright (C) 2016-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include <string>
12 
17 {
18 public:
19 
21 
27  bool InstallToFilesystem(const std::string& archive, const std::string& addonId);
28 
29  bool UnInstallFromFilesystem(const std::string& addonPath);
30 
31 private:
32  static bool UnpackArchive(std::string path, const std::string& dest);
33 
34  std::string m_addonFolder;
35  std::string m_tempFolder;
36 };
Definition: FilesystemInstaller.h:16
bool InstallToFilesystem(const std::string &archive, const std::string &addonId)
Definition: FilesystemInstaller.cpp:27