Adding ESP8266 code; modified for the latest password for LEDE
[iot2.git] / localconfig / iotpolicy / development / testclasspolicy_callbacks.pol
index a045faffcd268b99c402b88bad3439617b1c3a21..5d6d0d9d4fb811ceb5812263985fc985befd8403 100644 (file)
@@ -7,6 +7,9 @@ public interface TestClassInterface {
        public Struct[] handleStructArray(Struct str[]);
        public void registerCallbackArray(CallBackInterface _cb[]);
        public void registerCallbackList(List<CallBackInterface> _cb);
+       public Enum[] handleAll(Enum en[], List<Struct> str, char c, List<CallBackInterface> _cb);
+       public Enum[] handleCallbackEnum(Enum en[], char c, List<CallBackInterface> _cb);
+       public Enum[] handleAllTwo(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2, char c, List<CallBackInterface> _cb1, List<CallBackInterface> _cb2);
 
        capability Callbacks {
                description = "All the set-and-get methods";
@@ -17,6 +20,9 @@ public interface TestClassInterface {
                method = "handleStructArray(Struct str[])";
                method = "registerCallbackArray(CallBackInterface _cb[])";
                method = "registerCallbackList(List<CallBackInterface> _cb)";
+               method = "handleAll(Enum en[], List<Struct> str, char c, List<CallBackInterface> _cb)";
+               method = "handleCallbackEnum(Enum en[], char c, List<CallBackInterface> _cb)";
+               method = "handleAllTwo(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2, char c, List<CallBackInterface> _cb1, List<CallBackInterface> _cb2)";
        }
        
        enum Enum {