MythTV master
v2wolInfo.h
Go to the documentation of this file.
1#ifndef V2WOLINFO_H_
2#define V2WOLINFO_H_
3
4#include <QString>
6
7class V2WOLInfo : public QObject
8{
9 Q_OBJECT
10 Q_CLASSINFO( "Version" , "1.0" );
11
12 SERVICE_PROPERTY2( bool , Enabled );
14 SERVICE_PROPERTY2( int , Retry );
16
17 public:
18
19 Q_INVOKABLE V2WOLInfo(QObject *parent = nullptr)
20 : QObject( parent )
21 {
22 }
23
24 void Copy( const V2WOLInfo *src )
25 {
26 m_Enabled = src->m_Enabled ;
27 m_Reconnect= src->m_Reconnect;
28 m_Retry = src->m_Retry ;
29 m_Command = src->m_Command ;
30 }
31
32 private:
34};
35
37
38#endif // V2WOLINFO_H_
Q_INVOKABLE V2WOLInfo(QObject *parent=nullptr)
Definition: v2wolInfo.h:19
SERVICE_PROPERTY2(int, Reconnect)
Q_CLASSINFO("Version", "1.0")
Q_DISABLE_COPY(V2WOLInfo)
SERVICE_PROPERTY2(bool, Enabled)
void Copy(const V2WOLInfo *src)
Definition: v2wolInfo.h:24
SERVICE_PROPERTY2(QString, Command)
SERVICE_PROPERTY2(int, Retry)
Q_DECLARE_METATYPE(std::chrono::seconds)