Adding enum support in compiler
[iot2.git] / config / iotpolicy / camerapolicy.pol
index 809f12dcf6f76e35d5de8f5c9fd3355c7c489bda..2a69e55d48179dacfefcc22938247b292111c284 100644 (file)
@@ -7,6 +7,7 @@ public interface Camera {
     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);
 
        capability ImageCapture {
                description = "The quick brown fox jumps over the smart dog";
@@ -15,6 +16,7 @@ public interface Camera {
                method = "MethodB(int C, String D[])";
                method = "MethodC(String E, List<Integer> F)";
                method = "MethodF(LightBulb K)";
+               method = "MethodG(Enum L)";
        }
 
        capability VideoRecording {