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

#include <LibraryLoader.h>

Inheritance diagram for LibraryLoader:
SoLoader Win32DllLoader

Public Member Functions

 LibraryLoader (const std::string &libraryFile)
 
virtual ~LibraryLoader ()
 
virtual bool Load ()=0
 
virtual void Unload ()=0
 
virtual int ResolveExport (const char *symbol, void **ptr, bool logging=true)=0
 
virtual int ResolveOrdinal (unsigned long ordinal, void **ptr)
 
virtual bool IsSystemDll ()=0
 
virtual HMODULE GetHModule ()=0
 
virtual bool HasSymbols ()=0
 
const char * GetName () const
 
const char * GetFileName () const
 
const char * GetPath () const
 
int IncrRef ()
 
int DecrRef ()
 
int GetRef ()
 

Constructor & Destructor Documentation

◆ LibraryLoader()

LibraryLoader::LibraryLoader ( const std::string & libraryFile)
explicit

◆ ~LibraryLoader()

LibraryLoader::~LibraryLoader ( )
virtualdefault

Member Function Documentation

◆ DecrRef()

int LibraryLoader::DecrRef ( )

◆ GetFileName()

const char * LibraryLoader::GetFileName ( ) const

◆ GetHModule()

virtual HMODULE LibraryLoader::GetHModule ( )
pure virtual

Implemented in SoLoader, and Win32DllLoader.

◆ GetName()

const char * LibraryLoader::GetName ( ) const

◆ GetPath()

const char * LibraryLoader::GetPath ( ) const

◆ GetRef()

int LibraryLoader::GetRef ( )

◆ HasSymbols()

virtual bool LibraryLoader::HasSymbols ( )
pure virtual

Implemented in SoLoader, and Win32DllLoader.

◆ IncrRef()

int LibraryLoader::IncrRef ( )

◆ IsSystemDll()

virtual bool LibraryLoader::IsSystemDll ( )
pure virtual

Implemented in SoLoader, and Win32DllLoader.

◆ Load()

virtual bool LibraryLoader::Load ( )
pure virtual

Implemented in SoLoader, and Win32DllLoader.

◆ ResolveExport()

virtual int LibraryLoader::ResolveExport ( const char * symbol,
void ** ptr,
bool logging = true )
pure virtual

Implemented in SoLoader, and Win32DllLoader.

◆ ResolveOrdinal()

int LibraryLoader::ResolveOrdinal ( unsigned long ordinal,
void ** ptr )
virtual

◆ Unload()

virtual void LibraryLoader::Unload ( )
pure virtual

Implemented in SoLoader, and Win32DllLoader.


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