Skip to content

Commit

Permalink
Add environment variable methods
Browse files Browse the repository at this point in the history
  • Loading branch information
barche committed Aug 14, 2020
1 parent 7cfe402 commit 1e2fb83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wrap_qml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ JLCXX_MODULE define_julia_module(jlcxx::Module& qml_module)
}
});

qml_module.method("qputenv", qputenv);
qml_module.method("qgetenv", qgetenv);
qml_module.method("qunsetenv", qunsetenv);

// App manager functions
qml_module.add_type<qmlwrap::ApplicationManager>("ApplicationManager");
qml_module.method("init_application", []() { qmlwrap::ApplicationManager::instance().init_application(); });
Expand Down

0 comments on commit 1e2fb83

Please sign in to comment.