Completing Lifx driver that uses Particle cloud; Particle phone app provides a nice...
[iotcloud.git] / version2 / src / RPi / DeviceStateVersion.h
1 #ifndef _DEVICESTATEVERSION_H__
2 #define _DEVICESTATEVERSION_H__
3 #include <iostream>
4
5 class DeviceStateVersion {
6         private:
7                 int64_t vender;
8                 int64_t product;
9                 int64_t version;
10
11         public:
12
13                 DeviceStateVersion(int64_t _vender, int64_t _product, int64_t _version) {
14
15                         vender = _vender;
16                         product = _product;
17                         version = _version;
18                 }
19
20
21                 ~DeviceStateVersion() {
22                 }
23
24
25                 int64_t getVender() {
26                         return vender;
27                 }
28
29
30                 int64_t getProduct() {
31                         return product;
32                 }
33
34
35                 int64_t getVersion() {
36                         return version;
37                 }
38 };
39 #endif