7bcefcdf5ef32fb5d95b274a962f7d90960c2532
[iot2.git] / policy.pol
1 public interface Camera {
2     public void MethodA(int A, int B);
3     public int MethodB(int C, string D);
4     public string MethodC(string E, int F);
5     public float MethodD(int G, float H);
6     public boolean MethodE(Camera I, boolean J);
7         public void MethodF();
8 }
9
10 capability Camera.ImageCapture {
11         description = "The quick brown fox jumps over the smart dog";
12         description = "Another description";
13         method = MethodA;
14         method = MethodB;
15 }
16
17 capability Camera.VideoRecording {
18         description = "The quick brown fox jumps over the cool dog";
19         method = MethodC;
20         method = MethodD;
21 }
22
23 capability Camera.BackupData {
24         description = "The quick brown fox jumps over the clever dog";
25         method = MethodE;
26 }
27
28 requires Camera with VideoRecording, ImageCapture as interface CameraWithCaptureAndData;
29
30 requires Camera with ImageCapture, VideoRecording as interface CameraWithCaptureAndRecording;