MythTV
master
mythtv
programs
mythbackend
servicesv2
v2markup.h
Go to the documentation of this file.
1
// Program Name: markup.h
3
// Created : Apr. 4, 2021
4
//
5
// Copyright (c) 2021 team MythTV
6
//
7
// Licensed under the GPL v2 or later, see COPYING for details
8
//
10
11
#ifndef V2MARKUP_H_
12
#define V2MARKUP_H_
13
14
#include <QString>
15
#include <QVariantList>
16
17
#include "
libmythbase/http/mythhttpservice.h
"
18
20
21
class
V2Markup
:
public
QObject
22
{
23
Q_OBJECT
24
Q_CLASSINFO
(
"Version"
,
"1.0"
);
25
26
SERVICE_PROPERTY2
( QString , Type )
27
SERVICE_PROPERTY2
( quint64 ,
Frame
)
28
SERVICE_PROPERTY2
( QString , Data )
29
30
public
:
31
32
Q_INVOKABLE
V2Markup
(QObject *parent =
nullptr
)
33
: QObject(parent)
34
{
35
}
36
37
void
Copy
(
const
V2Markup
*src )
38
{
39
m_Type = src->m_Type ;
40
m_Frame = src->m_Frame ;
41
m_Data = src->m_Data ;
42
}
43
44
private
:
45
Q_DISABLE_COPY
(
V2Markup
);
46
};
47
48
Q_DECLARE_METATYPE
(
V2Markup
*)
49
50
#endif
V2Markup::Copy
void Copy(const V2Markup *src)
Definition:
v2markup.h:37
Frame
Definition:
zmdefines.h:102
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(std::chrono::seconds)
SERVICE_PROPERTY2
#define SERVICE_PROPERTY2(Type, Name)
Definition:
mythhttpservice.h:72
V2Markup::Q_DISABLE_COPY
Q_DISABLE_COPY(V2Markup)
V2Markup::V2Markup
Q_INVOKABLE V2Markup(QObject *parent=nullptr)
Definition:
v2markup.h:32
mythhttpservice.h
V2Markup
Definition:
v2markup.h:21
V2Markup::Q_CLASSINFO
Q_CLASSINFO("Version", "1.0")
Generated on Wed Feb 26 2025 03:18:04 for MythTV by
1.8.17