xbmc
Public Member Functions | List of all members
ADDON::CAddonStatusHandler Class Reference

Class - CAddonStatusHandler Used to inform the user about occurred errors and changes inside Add-on's, and ask him what to do. More...

#include <AddonStatusHandler.h>

Inheritance diagram for ADDON::CAddonStatusHandler:
Inheritance graph
[legend]
Collaboration diagram for ADDON::CAddonStatusHandler:
Collaboration graph
[legend]

Public Member Functions

 CAddonStatusHandler (const std::string &addonID, AddonInstanceId instanceId, ADDON_STATUS status, bool sameThread=true)
 
void Process () override
 
void OnStartup () override
 
void OnExit () override
 

Detailed Description

Class - CAddonStatusHandler Used to inform the user about occurred errors and changes inside Add-on's, and ask him what to do.

It can executed in the same thread as the calling function or in a separate thread.

Constructor & Destructor Documentation

◆ CAddonStatusHandler()

ADDON::CAddonStatusHandler::CAddonStatusHandler ( const std::string &  addonID,
AddonInstanceId  instanceId,
ADDON_STATUS  status,
bool  sameThread = true 
)
Todo:
The status handled CAddonStatusHandler by is related to the class, not the instance having CAddonMgr construct an instance makes no sense

Member Function Documentation

◆ Process()

void ADDON::CAddonStatusHandler::Process ( void  )
overridevirtual
Todo:
Doesn't dialogaddonsettings save these automatically? It should do this.

Reimplemented from CThread.


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