Browse Source

sync with ed

JNI-44
Hussein Kasem 9 years ago
parent
commit
223c0f8492
  1. 14
      src/pEp.yml2
  2. 4
      src/types_java.ysl2

14
src/pEp.yml2

@ -100,14 +100,11 @@ namespace pEp {
returns Color color
);
method blacklist_is_listed(
in string fpr,
returns bool listed
);
method blacklist_retrive(
returns stringlist blacklist
);
// method blacklist_retrive(
// creates stringlist blacklist
// );
basic string trustwords(identity ident);
basic identity myself(identity ident);
basic identity updateIdentity(identity ident);
@ -117,7 +114,8 @@ namespace pEp {
basic void importKey(string key);
basic void blacklist_add(string fpr);
basic void blacklist_delete(string fpr);
basic void config_passive_mode(bool enable)
basic void config_passive_mode(bool enable);
basic bool blacklist_is_listed(string fpr);
};

4
src/types_java.ysl2

@ -13,7 +13,7 @@ function "toJava" {
when "$type='stringpairlist'" > ArrayList<Pair<String, String>>
when "$type='message'" > Message
when "$type='void'" > void
when "$type='bool'" > boolean
when "$type='bool'" > Boolean
otherwise call "CamelCase" with "text", "$type";
}
@ -34,7 +34,7 @@ function "toJavaDeclare" {
when "$type='stringpairlist'" | # cannot declare "stringpairlist"
when "$type='message'" > Message
when "$type='Color'" > Color
when "$type='bool'" > boolean
when "$type='bool'" > Boolean
otherwise error | # cannot declare "«$type»"
}

Loading…
Cancel
Save