Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CFilesystemInstaller Class Reference

#include <FilesystemInstaller.h>

Public Member Functions

 CFilesystemInstaller ()
 
bool InstallToFilesystem (const std::string &archive, const std::string &addonId)
 
bool UnInstallFromFilesystem (const std::string &addonPath)
 

Detailed Description

Responsible for safely unpacking/copying/removing addon files from/to the addon folder.

Constructor & Destructor Documentation

◆ CFilesystemInstaller()

CFilesystemInstaller::CFilesystemInstaller ( )

Member Function Documentation

◆ InstallToFilesystem()

bool CFilesystemInstaller::InstallToFilesystem ( const std::string & archive,
const std::string & addonId )
Parameters
archiveAbsolute path to zip file to install.
addonId
Returns
true on success, otherwise false.

◆ UnInstallFromFilesystem()

bool CFilesystemInstaller::UnInstallFromFilesystem ( const std::string & addonPath)

The documentation for this class was generated from the following files: