diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-16 23:23:57 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-16 23:23:57 +0800 |
commit | 54db60474ebd96e6821dea193397e0c96406d114 (patch) | |
tree | 321e77f3c99c64df01b3fb98d9842a3c74066b88 /admin.cxx | |
parent | 67469f7de9a04d2a19cc06d279d9a6c58ab08e97 (diff) |
Create admin wrapper
Diffstat (limited to 'admin.cxx')
-rw-r--r-- | admin.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -72,6 +72,13 @@ namespace QICClient { if (m_data != data) m_data = data; } + void Admin::newAdmin(QString const& userName, QString const& password, QString const& name, bool super, + enum icclient_admin_group group) + { + icclient_admin_new_admin(userName.toLatin1().constData(), password.toLatin1().constData(), + name.toLatin1().constData(), super, group, nullptr); + } + void Admin::newItem(QString const& description, QString const& comment, QString const& price, QString const& imagePath) { |