MythTV
master
mythtv
libs
libmythbase
http
mythhttpmetaservice.h
Go to the documentation of this file.
1
#ifndef MYTHHTTPMETASERVICE_H
2
#define MYTHHTTPMETASERVICE_H
3
4
// Qt
5
#include <QMetaObject>
6
7
// MythTV
8
#include "
libmythbase/http/mythhttpmetamethod.h
"
9
10
class
MBASE_PUBLIC
MythHTTPMetaService
11
{
12
public
:
13
MythHTTPMetaService
(
const
QString&
Name
,
const
QMetaObject& Meta,
14
const
HTTPRegisterTypes
&
RegisterCallback
=
nullptr
,
15
const
QString& MethodsToHide = {});
16
17
static
int
ParseRequestTypes(
const
QMetaObject& Meta,
const
QString& Method, QString& ReturnName);
18
static
bool
isProtected(
const
QMetaObject& Meta,
const
QString& Method);
19
20
const
QMetaObject&
m_meta
;
21
QString
m_name
;
22
QString
m_version
;
23
HTTPMethods
m_signals
;
24
HTTPMethods
m_slots
;
25
HTTPProperties
m_properties
;
26
27
private
:
28
Q_DISABLE_COPY(
MythHTTPMetaService
)
29
};
30
31
#endif
MythHTTPMetaService::m_signals
HTTPMethods m_signals
Definition:
mythhttpmetaservice.h:23
HTTPMethods
std::map< QString, HTTPMethodPtr > HTTPMethods
Definition:
mythhttpmetamethod.h:15
RegisterCallback
#define RegisterCallback(a, b, c)
Definition:
audiooutputopensles.cpp:47
MBASE_PUBLIC
#define MBASE_PUBLIC
Definition:
mythbaseexp.h:15
MythHTTPMetaService::m_meta
const QMetaObject & m_meta
Definition:
mythhttpmetaservice.h:20
MythHTTPMetaService::m_properties
HTTPProperties m_properties
Definition:
mythhttpmetaservice.h:25
MythHTTPMetaService::m_version
QString m_version
Definition:
mythhttpmetaservice.h:22
MythHTTPMetaService::m_name
QString m_name
Definition:
mythhttpmetaservice.h:21
HTTPProperties
std::map< int, int > HTTPProperties
Definition:
mythhttpmetamethod.h:16
MythHTTPMetaService::m_slots
HTTPMethods m_slots
Definition:
mythhttpmetaservice.h:24
Name
Definition:
channelsettings.cpp:71
mythhttpmetamethod.h
HTTPRegisterTypes
std::function< void()> HTTPRegisterTypes
Definition:
mythhttptypes.h:50
MythHTTPMetaService
Definition:
mythhttpmetaservice.h:10
Generated on Wed Feb 5 2025 03:16:18 for MythTV by
1.8.17