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

#include <UPnP.h>

Public Member Functions

 CUPnP ()
 
 ~CUPnP ()
 
bool StartServer ()
 
void StopServer ()
 
void StartClient ()
 
void StopClient ()
 
bool IsClientStarted ()
 
void StartController ()
 
void StopController ()
 
bool IsControllerStarted ()
 
bool StartRenderer ()
 
void StopRenderer ()
 
void UpdateState ()
 

Static Public Member Functions

static CUPnPGetInstance ()
 
static CUPnPServerGetServer ()
 
static void ReleaseInstance (bool bWait)
 
static bool IsInstantiated ()
 
static bool MarkWatched (const CFileItem &item, const bool watched)
 
static bool SaveFileState (const CFileItem &item, const CBookmark &bookmark, const bool updatePlayCount)
 
static bool UpdateItem (const std::string &path, const CFileItem &item)
 
static void RegisterUserdata (void *ptr)
 
static void UnregisterUserdata (void *ptr)
 

Public Attributes

PLT_SyncMediaBrowser * m_MediaBrowser
 
PLT_MediaController * m_MediaController
 

Constructor & Destructor Documentation

◆ CUPnP()

UPNP::CUPnP::CUPnP ( )

◆ ~CUPnP()

UPNP::CUPnP::~CUPnP ( )

Member Function Documentation

◆ GetInstance()

CUPnP * UPNP::CUPnP::GetInstance ( )
static

◆ GetServer()

CUPnPServer * UPNP::CUPnP::GetServer ( )
static

◆ IsClientStarted()

bool UPNP::CUPnP::IsClientStarted ( )
inline

◆ IsControllerStarted()

bool UPNP::CUPnP::IsControllerStarted ( )
inline

◆ IsInstantiated()

static bool UPNP::CUPnP::IsInstantiated ( )
inlinestatic

◆ MarkWatched()

bool UPNP::CUPnP::MarkWatched ( const CFileItem & item,
const bool watched )
static

◆ RegisterUserdata()

void UPNP::CUPnP::RegisterUserdata ( void * ptr)
static

◆ ReleaseInstance()

void UPNP::CUPnP::ReleaseInstance ( bool bWait)
static

◆ SaveFileState()

bool UPNP::CUPnP::SaveFileState ( const CFileItem & item,
const CBookmark & bookmark,
const bool updatePlayCount )
static

◆ StartClient()

void UPNP::CUPnP::StartClient ( )

◆ StartController()

void UPNP::CUPnP::StartController ( )

◆ StartRenderer()

bool UPNP::CUPnP::StartRenderer ( )

◆ StartServer()

bool UPNP::CUPnP::StartServer ( )

◆ StopClient()

void UPNP::CUPnP::StopClient ( )

◆ StopController()

void UPNP::CUPnP::StopController ( )

◆ StopRenderer()

void UPNP::CUPnP::StopRenderer ( )

◆ StopServer()

void UPNP::CUPnP::StopServer ( )

◆ UnregisterUserdata()

void UPNP::CUPnP::UnregisterUserdata ( void * ptr)
static

◆ UpdateItem()

bool UPNP::CUPnP::UpdateItem ( const std::string & path,
const CFileItem & item )
static

◆ UpdateState()

void UPNP::CUPnP::UpdateState ( )

Member Data Documentation

◆ m_MediaBrowser

PLT_SyncMediaBrowser* UPNP::CUPnP::m_MediaBrowser

◆ m_MediaController

PLT_MediaController* UPNP::CUPnP::m_MediaController

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