projects
/
iot2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding struct support for Java in compiler
[iot2.git]
/
config
/
iotpolicy
/
camerapolicy.pol
diff --git
a/config/iotpolicy/camerapolicy.pol
b/config/iotpolicy/camerapolicy.pol
index 2a69e55d48179dacfefcc22938247b292111c284..ca807b6578a2bcab65854fce15b401d072f92d09 100644
(file)
--- a/
config/iotpolicy/camerapolicy.pol
+++ b/
config/iotpolicy/camerapolicy.pol
@@
-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 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";
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 = "MethodC(String E, List<Integer> F)";
method = "MethodF(LightBulb K)";
method = "MethodG(Enum L)";
+ method = "MethodH(Struct M, int N)";
}
capability VideoRecording {
}
capability VideoRecording {