aboutsummaryrefslogtreecommitdiff
path: root/bindings.json
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2022-10-10 21:30:02 +0200
committerAndreas Grois <andi@grois.info>2022-10-10 21:37:15 +0200
commite4ad766315879e1ff05bb111229f073f8f0ed68e (patch)
tree4b043ff47c78b2c00c80c94ebda622c32c8b6d3d /bindings.json
PassFish: Initial Commit
Well, that's a lie. But nobody needs to see all the iterations I decided to sweep under the rug. That said, I think the repo is, while not clean, clean enough now, to not be embarrassed by uploading it to github.
Diffstat (limited to 'bindings.json')
-rw-r--r--bindings.json98
1 files changed, 98 insertions, 0 deletions
diff --git a/bindings.json b/bindings.json
new file mode 100644
index 0000000..646a7f9
--- /dev/null
+++ b/bindings.json
@@ -0,0 +1,98 @@
+{
+ "generate_automocks": true,
+ "cppFile": "src/Bindings.cpp",
+ "rust": {
+ "dir": "rust",
+ "interfaceModule": "interface",
+ "implementationModule": "implementation"
+ },
+ "objects": {
+ "PasswordMaker" : {
+ "type" : "Object",
+ "properties" : {
+ "i_say_sexy_things_to_myself_while_im_dancing" : {
+ "type" : "bool",
+ "write": true
+ },
+ "profiles" : {
+ "type" : "Profiles"
+ },
+ "settings" : {
+ "type" : "Settings"
+ },
+ "url" : {
+ "type" : "QString",
+ "write" : true
+ },
+ "used_text" : {
+ "type" : "QString",
+ "write" : true
+ },
+ "master_password" : {
+ "type" : "QString",
+ "write" : true
+ },
+ "generated_password" : {
+ "type" : "QString"
+ },
+ "generator_state" : {
+ "type" : "quint8"
+ }
+ },
+ "functions" : {
+ "store_settings" : {
+ "return" : "bool",
+ "arguments" : []
+ },
+ "profile_changed" : {
+ "return": "void",
+ "arguments" : []
+ }
+ }
+ },
+ "Settings" : {
+ "type" : "Object",
+ "properties" : {
+ "clear_generated_password_seconds" : { "type" : "quint32", "optional": true, "write" : true },
+ "clear_master_password_seconds" : { "type" : "quint32", "optional": true, "write" : true },
+ "hide_generated_password" : { "type" : "bool", "write" :true }
+ }
+ },
+ "Profiles" : {
+ "type" : "List",
+ "properties" : {
+ "current_profile" : {
+ "type" : "quint32",
+ "write" : true
+ },
+ "current_profile_name" : {
+ "type" : "QString"
+ }
+ },
+ "itemProperties" : {
+ "name" : { "type" : "QString", "write" : true, "roles" : [[ "display", "edit"]] },
+ "use_leet" : { "type" : "quint8", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
+ "leet_level" : { "type" : "quint8", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
+ "hash_algorithm" : { "type" : "quint8", "write" : true, "roles" : [[],[],[],[],[],[],[],[], [ "display", "edit"]] },
+ "use_protocol" : { "type" : "bool", "write" : true, "roles" : [[], [ "display", "edit"]] },
+ "use_subdomains" : { "type" : "bool", "write" : true, "roles" : [[],[], [ "display", "edit"]] },
+ "use_domain" : { "type" : "bool", "write" : true, "roles" : [[],[],[], [ "display", "edit"]] },
+ "use_port_path" : { "type" : "bool", "write" : true, "roles" : [[],[],[],[], [ "display", "edit"]] },
+ "use_user_info" : { "type" : "bool", "write" : true, "roles" : [[],[],[],[],[], [ "display", "edit"]] },
+ "use_undefined_as_protocol_fallback" : { "type" : "bool", "write" : true, "roles" : [[],[],[],[],[],[], [ "display", "edit"]] },
+ "password_length" : { "type" : "quint32", "write" : true, "roles" : [[],[],[],[],[],[],[], [ "display", "edit"]] },
+ "username" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
+ "modifier" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
+ "characters" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
+ "prefix" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
+ "suffix" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] }
+ },
+ "functions" : {
+ "store" : {
+ "return" : "bool",
+ "arguments" : []
+ }
+ }
+ }
+ }
+}