809f12dcf6f76e35d5de8f5c9fd3355c7c489bda
[iot2.git] / config / iotpolicy / camerapolicy.pol
1 public interface Camera {
2
3     public List<Float> MethodA(int A, int B);
4     public void MethodA(int A, int B, int AB);
5     public int MethodB(int C, String D[]);
6     public String MethodC(String E, List<Integer> F);
7     public float MethodD(List<String> G, float H);
8     public boolean MethodE(String I, boolean J);
9         public void MethodF(LightBulb K);
10
11         capability ImageCapture {
12                 description = "The quick brown fox jumps over the smart dog";
13                 description = "Another description";
14                 method = "MethodA(int A, int B)";
15                 method = "MethodB(int C, String D[])";
16                 method = "MethodC(String E, List<Integer> F)";
17                 method = "MethodF(LightBulb K)";
18         }
19
20         capability VideoRecording {
21                 description = "The quick brown fox jumps over the cool dog";
22                 method = "MethodA(int A, int B)";
23                 method = "MethodA(int A, int B, int AB)";
24                 method = "MethodD(List<String> G, float H)";
25         }
26
27         capability BackupData {
28                 description = "The quick brown fox jumps over the clever dog";
29                 method = "MethodE(String I, boolean J)";
30         }
31
32         struct Struct {
33
34                 string  name;
35                 float   value;
36                 int     year;
37         } 
38 }
39
40