|
MythTV master
|
#include <mythbackend/servicesv2/v2myth.h>
Public Types | |
| enum | WebOnlyStartup : std::uint8_t { kWebOnlyNone = 0 , kWebOnlyDBSetup = 1 , kWebOnlyDBTimezone = 2 , kWebOnlyWebOnlyParm = 3 , kWebOnlyIPAddress = 4 , kWebOnlySchemaUpdate = 5 } |
Public Slots | |
| static V2ConnectionInfo * | GetConnectionInfo (const QString &Pin) |
| static bool | SetConnectionInfo (const QString &Host, const QString &UserName, const QString &Password, const QString &Name, int Port, bool DoTest) |
| static QString | GetHostName () |
| static QStringList | GetHosts () |
| static QStringList | GetKeys () |
| static QStringList | GetDirListing (const QString &DirName, bool Files) |
| static V2StorageGroupDirList * | GetStorageGroupDirs (const QString &GroupName, const QString &HostName) |
| static bool | AddStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName) |
| static bool | RemoveStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName) |
| static V2TimeZoneInfo * | GetTimeZone () |
| static QString | GetFormatDate (const QDateTime &Date, bool ShortDate) |
| static QString | GetFormatDateTime (const QDateTime &DateTime, bool ShortDate) |
| static QString | GetFormatTime (const QDateTime &Time) |
| static QDateTime | ParseISODateString (const QString &DateTime) |
| static V2LogMessageList * | GetLogs (const QString &HostName, const QString &Application, int PID, int TID, const QString &Thread, const QString &Filename, int Line, const QString &Function, const QDateTime &FromTime, const QDateTime &ToTime, const QString &Level, const QString &MsgContains) |
| static V2FrontendList * | GetFrontends (bool OnLine) |
| static QString | GetSetting (const QString &HostName, const QString &Key, const QString &Default) |
| static V2SettingList * | GetSettingList (const QString &HostName) |
| bool | PutSetting (const QString &HostName, const QString &Key, const QString &Value) |
| static bool | DeleteSetting (const QString &HostName, const QString &Key) |
| static bool | TestDBSettings (const QString &HostName, const QString &UserName, const QString &Password, const QString &DBName, int dbPort) |
| static bool | SendMessage (const QString &Message, const QString &Address, int udpPort, int Timeout) |
| static bool | SendNotification (bool Error, const QString &Type, const QString &Message, const QString &Origin, const QString &Description, const QString &Image, const QString &Extra, const QString &ProgressText, float Progress, int Timeout, bool Fullscreen, uint Visibility, uint Priority, const QString &Address, int udpPort) |
| static bool | BackupDatabase (void) |
| static bool | CheckDatabase (bool Repair) |
| static bool | DelayShutdown (void) |
| static bool | ProfileSubmit (void) |
| static bool | ProfileDelete (void) |
| static QString | ProfileURL (void) |
| static QString | ProfileUpdated (void) |
| static QString | ProfileText (void) |
| V2BackendInfo * | GetBackendInfo (void) |
| bool | ManageDigestUser (const QString &Action, const QString &UserName, const QString &Password, const QString &NewPassword) |
| QString | LoginUser (const QString &UserName, const QString &Password, const QString &Client) |
| static QStringList | GetUsers (void) |
| static bool | ManageUrlProtection (const QString &Services, const QString &AdminPassword) |
| static bool | ManageScheduler (bool Enable, bool Disable) |
| static bool | Shutdown (int Retcode, bool Restart, bool WebOnly) |
| static QString | Proxy (const QString &Url) |
Public Member Functions | |
| V2Myth () | |
| ~V2Myth () 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 () |
Static Public Attributes | |
| static WebOnlyStartup | s_WebOnlyStartup {kWebOnlyNone} |
Additional Inherited Members | |
Protected Member Functions inherited from MythHTTPService | |
| bool | HAS_PARAMv2 (const QString &p) |
Protected Attributes inherited from MythHTTPService | |
| QString | m_name |
| MythHTTPMetaService * | m_staticMetaService { nullptr } |
| HTTPRequest2 | m_request {nullptr} |
| enum V2Myth::WebOnlyStartup : std::uint8_t |
| V2Myth::V2Myth | ( | ) |
Definition at line 67 of file v2myth.cpp.
|
overridedefault |
|
staticslot |
Definition at line 366 of file v2myth.cpp.
|
staticslot |
Definition at line 980 of file v2myth.cpp.
|
staticslot |
Definition at line 1009 of file v2myth.cpp.
|
staticslot |
Definition at line 1023 of file v2myth.cpp.
|
staticslot |
Definition at line 801 of file v2myth.cpp.
|
slot |
Definition at line 1117 of file v2myth.cpp.
|
staticslot |
Definition at line 76 of file v2myth.cpp.
|
staticslot |
Definition at line 275 of file v2myth.cpp.
|
staticslot |
Definition at line 484 of file v2myth.cpp.
|
staticslot |
Definition at line 497 of file v2myth.cpp.
|
staticslot |
Definition at line 510 of file v2myth.cpp.
|
staticslot |
Definition at line 666 of file v2myth.cpp.
|
staticslot |
Definition at line 194 of file v2myth.cpp.
|
staticslot |
Definition at line 206 of file v2myth.cpp.
|
staticslot |
Definition at line 241 of file v2myth.cpp.
|
staticslot |
Definition at line 533 of file v2myth.cpp.
|
staticslot |
Definition at line 679 of file v2myth.cpp.
|
staticslot |
Definition at line 717 of file v2myth.cpp.
|
staticslot |
Definition at line 290 of file v2myth.cpp.
|
staticslot |
Definition at line 469 of file v2myth.cpp.
|
staticslot |
Definition at line 1262 of file v2myth.cpp.
|
slot |
Definition at line 1240 of file v2myth.cpp.
|
slot |
Definition at line 1182 of file v2myth.cpp.
|
staticslot |
Definition at line 1354 of file v2myth.cpp.
|
staticslot |
Definition at line 1296 of file v2myth.cpp.
|
staticslot |
Definition at line 519 of file v2myth.cpp.
|
staticslot |
Definition at line 1053 of file v2myth.cpp.
|
staticslot |
Definition at line 1037 of file v2myth.cpp.
|
staticslot |
Definition at line 1103 of file v2myth.cpp.
|
staticslot |
Definition at line 1085 of file v2myth.cpp.
|
staticslot |
Definition at line 1069 of file v2myth.cpp.
|
staticslot |
Definition at line 1401 of file v2myth.cpp.
|
slot |
Definition at line 769 of file v2myth.cpp.
|
static |
|
staticslot |
Definition at line 428 of file v2myth.cpp.
|
staticslot |
Definition at line 848 of file v2myth.cpp.
|
staticslot |
Definition at line 902 of file v2myth.cpp.
|
staticslot |
Definition at line 156 of file v2myth.cpp.
|
staticslot |
Definition at line 1377 of file v2myth.cpp.
|
staticslot |
Definition at line 822 of file v2myth.cpp.
|
inlinestatic |
Definition at line 68 of file v2myth.h.
Referenced by GetBackendInfo(), main(), and run_backend().