MythTV master
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
9
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;
26
27 private:
28 Q_DISABLE_COPY(MythHTTPMetaService)
29};
30
31#endif
#define RegisterCallback(a, b, c)
HTTPProperties m_properties
const QMetaObject & m_meta
#define MBASE_PUBLIC
Definition: mythbaseexp.h:8
std::map< QString, HTTPMethodPtr > HTTPMethods
std::map< int, int > HTTPProperties
std::function< void()> HTTPRegisterTypes
Definition: mythhttptypes.h:50