Arduino DLNA Server
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 {
32 };
33 
34 } // namespace tiny_dlna
String implementation which keeps the data on the heap. We grow the allocated memory only if the copy...
Definition: Str.h:22
Definition: Allocator.h:6
Definition: State.h:29
Str value
Definition: State.h:31
Str name
Definition: State.h:30