forked from dresden-elektronik/deconz-rest-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresourcelinks.h
More file actions
37 lines (31 loc) · 756 Bytes
/
resourcelinks.h
File metadata and controls
37 lines (31 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Copyright (c) 2017 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#ifndef RESOURCELINKS_H
#define RESOURCELINKS_H
#include <QString>
#include <QVariantMap>
#include <vector>
/*! \class Resourcelinks
Represents REST API resourcelinks.
*/
class Resourcelinks
{
public:
enum State { StateNormal, StateDeleted };
Resourcelinks();
bool needSaveDatabase() const;
void setNeedSaveDatabase(bool needSave);
State state;
QString id;
QVariantMap data;
private:
bool m_needSaveDatabase;
};
#endif // RESOURCELINKS_H