Arduino DLNA Server
src
dlna
service
State.h
Go to the documentation of this file.
1
#pragma once
2
#include "
basic/Vector.h
"
3
#include "
dlna/xml/XMLPrinter.h
"
4
5
namespace
tiny_dlna
{
6
7
// enum class DataType { boolean, string, ui2, i2 };
8
// const char* datatype_str[] = {"boolean", "string", "ui2", "u2"};
9
10
// /**
11
// * @brief DLNA Service: Representation of a single State
12
// * @author Phil Schatzmann
13
// */
14
15
// class StateInformation {
16
// public:
17
// const char* name;
18
// bool send_events = false;
19
// DataType data_type;
20
// bool allowed_value_range = false;
21
// int range_from = 0;
22
// int range_to = 0;
23
// int step = 0;
24
// Vector<char*> allowed_values;
25
26
// // int printXML(Print& out) { return 0; }
27
// };
28
29
struct
StateValue
{
30
Str
name
;
31
Str
value
;
32
};
33
34
}
// namespace tiny_dlna
Vector.h
XMLPrinter.h
tiny_dlna::Str
String implementation which keeps the data on the heap. We grow the allocated memory only if the copy...
Definition:
Str.h:22
tiny_dlna
Definition:
Allocator.h:6
tiny_dlna::StateValue
Definition:
State.h:29
tiny_dlna::StateValue::value
Str value
Definition:
State.h:31
tiny_dlna::StateValue::name
Str name
Definition:
State.h:30
Generated by
1.9.1