MythTV
master
mythtv
programs
mythbackend
servicesv2
v2freqtable.h
Go to the documentation of this file.
1
// Program Name: v2freqtable.h
3
// Created : Sep 22, 2022
4
//
5
// Copyright (c) 2022 Peter Bennett <pbennett@mythtv.org>
6
//
7
// Licensed under the GPL v2 or later, see COPYING for details
8
//
10
11
#ifndef V2FREQTABLE_H_
12
#define V2FREQTABLE_H_
13
14
#include <QString>
15
16
#include "
libmythbase/http/mythhttpservice.h
"
17
19
20
21
class
V2FreqTableList
:
public
QObject
22
{
23
Q_OBJECT
24
Q_CLASSINFO
(
"Version"
,
"1.0"
);
25
26
SERVICE_PROPERTY2
( QStringList, FreqTables )
27
28
public
:
29
30
Q_INVOKABLE
V2FreqTableList
(QObject *parent =
nullptr
)
31
: QObject( parent )
32
{
33
}
34
35
// Copy not needed
36
37
38
private
:
39
Q_DISABLE_COPY
(
V2FreqTableList
);
40
};
41
42
Q_DECLARE_METATYPE
(
V2FreqTableList
*)
43
44
#endif
V2FreqTableList::Q_CLASSINFO
Q_CLASSINFO("Version", "1.0")
V2FreqTableList::Q_DISABLE_COPY
Q_DISABLE_COPY(V2FreqTableList)
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(std::chrono::seconds)
SERVICE_PROPERTY2
#define SERVICE_PROPERTY2(Type, Name)
Definition:
mythhttpservice.h:72
V2FreqTableList
Definition:
v2freqtable.h:21
mythhttpservice.h
V2FreqTableList::V2FreqTableList
Q_INVOKABLE V2FreqTableList(QObject *parent=nullptr)
Definition:
v2freqtable.h:30
Generated on Tue Jan 7 2025 03:18:38 for MythTV by
1.8.17