Adding struct support for Java in compiler
[iot2.git] / config / iotpolicy / camerapolicy.pol
index 0afb5a05795462b5bc6b48ebb196cf3a9d9b335c..ca807b6578a2bcab65854fce15b401d072f92d09 100644 (file)
@@ -6,6 +6,9 @@ public interface Camera {
     public String MethodC(String E, List<Integer> F);
     public float MethodD(List<String> G, float H);
     public boolean MethodE(String I, boolean J);
+       public void MethodF(LightBulb K);
+       public Enum MethodG(Enum L);
+       public Struct MethodH(Struct M, int N);
 
        capability ImageCapture {
                description = "The quick brown fox jumps over the smart dog";
@@ -13,6 +16,9 @@ public interface Camera {
                method = "MethodA(int A, int B)";
                method = "MethodB(int C, String D[])";
                method = "MethodC(String E, List<Integer> F)";
+               method = "MethodF(LightBulb K)";
+               method = "MethodG(Enum L)";
+               method = "MethodH(Struct M, int N)";
        }
 
        capability VideoRecording {