MythTV
master
mythtv
programs
mythbackend
servicesv2
v2genre.h
Go to the documentation of this file.
1
// Program Name: genre.h
3
// Created : Mar. 08, 2017
4
//
5
// Copyright (c) 2017 Paul Harrison <pharrison@mythtv.org>
6
//
7
// Licensed under the GPL v2 or later, see COPYING for details
8
//
10
11
#ifndef V2GENRE_H_
12
#define V2GENRE_H_
13
14
#include <QString>
15
16
#include "
libmythbase/http/mythhttpservice.h
"
17
18
20
21
class
V2Genre
:
public
QObject
22
{
23
Q_OBJECT
24
Q_CLASSINFO
(
"Version"
,
"1.0"
);
25
26
SERVICE_PROPERTY2
( QString ,
Name
);
27
28
public
:
29
30
// static inline void InitializeCustomTypes();
31
32
Q_INVOKABLE
V2Genre
(QObject *parent =
nullptr
)
33
: QObject ( parent )
34
{
35
}
36
37
void
Copy
(
const
V2Genre
*src )
38
{
39
m_Name = src->m_Name ;
40
}
41
42
private
:
43
Q_DISABLE_COPY
(
V2Genre
);
44
};
45
46
Q_DECLARE_METATYPE
(
V2Genre
*)
47
48
#endif
V2Genre::Q_DISABLE_COPY
Q_DISABLE_COPY(V2Genre)
V2Genre::V2Genre
Q_INVOKABLE V2Genre(QObject *parent=nullptr)
Definition:
v2genre.h:32
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(std::chrono::seconds)
V2Genre::Q_CLASSINFO
Q_CLASSINFO("Version", "1.0")
V2Genre::Copy
void Copy(const V2Genre *src)
Definition:
v2genre.h:37
V2Genre::SERVICE_PROPERTY2
SERVICE_PROPERTY2(QString, Name)
V2Genre
Definition:
v2genre.h:21
mythhttpservice.h
Name
Definition:
channelsettings.cpp:71
Generated on Sun Jan 19 2025 03:17:00 for MythTV by
1.8.17