MythTV  master
Public Slots | Public Member Functions | Static Public Member Functions | List of all members
V2Config Class Reference

#include <v2config.h>

Inheritance diagram for V2Config:
Inheritance graph
Collaboration diagram for V2Config:
Collaboration graph

Public Slots

static bool SetDatabaseCredentials (const QString &Host, const QString &UserName, const QString &Password, const QString &Name, int Port, bool DoTest, bool LocalEnabled, const QString &LocalHostName, bool WOLEnabled, int WOLReconnect, int WOLRetry, const QString &WOLCommand)
static V2DatabaseStatusGetDatabaseStatus (void)
static V2CountryListGetCountries (void)
static V2LanguageListGetLanguages (void)
static V2SystemEventListGetSystemEvents (const QString &Host)
static QStringList GetIPAddresses (const QString &Protocol)

Public Member Functions

 V2Config ()
 ~V2Config () override=default
- Public Member Functions inherited from MythHTTPService
 MythHTTPService (MythHTTPMetaService *MetaService)
 ~MythHTTPService () override=default
virtual HTTPResponse HTTPRequest (const HTTPRequest2 &Request)
 Respond to a valid HTTPRequest. More...
QString & Name ()

Static Public Member Functions

static void RegisterCustomTypes ()
- Static Public Member Functions inherited from MythHTTPService
template<class T >
static HTTPServicePtr Create ()

Additional Inherited Members

- Protected Member Functions inherited from MythHTTPService
bool HAS_PARAMv2 (const QString &p)
- Protected Attributes inherited from MythHTTPService
QString m_name
MythHTTPMetaServicem_staticMetaService { nullptr }
HTTPRequest2 m_request {nullptr}

Detailed Description

Definition at line 17 of file v2config.h.

Constructor & Destructor Documentation

◆ V2Config()

V2Config::V2Config ( )

Definition at line 44 of file v2config.cpp.

◆ ~V2Config()

V2Config::~V2Config ( )

Member Function Documentation

◆ RegisterCustomTypes()

static void V2Config::RegisterCustomTypes ( )

◆ SetDatabaseCredentials

bool V2Config::SetDatabaseCredentials ( const QString &  Host,
const QString &  UserName,
const QString &  Password,
const QString &  Name,
int  Port,
bool  DoTest,
bool  LocalEnabled,
const QString &  LocalHostName,
bool  WOLEnabled,
int  WOLReconnect,
int  WOLRetry,
const QString &  WOLCommand 

Definition at line 52 of file v2config.cpp.

◆ GetDatabaseStatus

V2DatabaseStatus * V2Config::GetDatabaseStatus ( void  )

Definition at line 97 of file v2config.cpp.

◆ GetCountries

V2CountryList * V2Config::GetCountries ( void  )

Definition at line 147 of file v2config.cpp.

◆ GetLanguages

V2LanguageList * V2Config::GetLanguages ( void  )

Definition at line 174 of file v2config.cpp.

◆ GetSystemEvents

V2SystemEventList * V2Config::GetSystemEvents ( const QString &  Host)

Definition at line 226 of file v2config.cpp.

◆ GetIPAddresses

QStringList V2Config::GetIPAddresses ( const QString &  Protocol)

Definition at line 201 of file v2config.cpp.

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