Adding struct support for Java in compiler
[iot2.git] / config / iotpolicy / camerapolicy.pol
index 2a69e55d48179dacfefcc22938247b292111c284..ca807b6578a2bcab65854fce15b401d072f92d09 100644 (file)
@@ -8,6 +8,7 @@ public interface Camera {
     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";
@@ -17,6 +18,7 @@ public interface Camera {
                method = "MethodC(String E, List<Integer> F)";
                method = "MethodF(LightBulb K)";
                method = "MethodG(Enum L)";
+               method = "MethodH(Struct M, int N)";
        }
 
        capability VideoRecording {