We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12697f9 commit 2ef4f9cCopy full SHA for 2ef4f9c
src/PiCode.h
@@ -27,7 +27,9 @@ namespace cPiCode {
27
}
28
29
30
-typedef cPiCode::protocol_t protocol_t;
+typedef cPiCode::protocol_t protocol_t;
31
+typedef cPiCode::protocols_t protocols_t;
32
+typedef cPiCode::protocol_devices_t protocol_devices_t;
33
34
/* Class PiCode */
35
/* ------------------------------------------------------------------------- */
@@ -64,6 +66,9 @@ class PiCode {
64
66
/* Get PiCode libray version. Must be free() after use */
65
67
char* getPiCodeVersion();
68
69
+ /* Getter for protocols_t* used_protocols */
70
+ protocols_t* usedProtocols(){return cPiCode::pilight_protocols;}
71
+
72
};
73
74
/* Expose a default object instance */
0 commit comments