diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-09 19:55:28 +0800 | 
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-09 19:55:28 +0800 | 
| commit | a1e538564d4b2a60be70a32ec39afdba249ce37d (patch) | |
| tree | 98ff5e3531bf8c70369dc846c0d653e4ea878128 /admin.cxx | |
| parent | 982495a8ee6932f4a1586faf0c853ebaf951000f (diff) | |
Add support for Emscripten
Diffstat (limited to 'admin.cxx')
| -rw-r--r-- | admin.cxx | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,6 @@  #include <cstddef>  #include <memory> +#include <icclient/typedefs.h>  #include <icclient/admin.h>  #include "qicclient/admin.hxx" @@ -8,7 +9,7 @@ namespace QICClient {  	std::shared_ptr<Admin> Admin::logIn(QString const& username,  			QString const& password, QString const& successPage,  			QString const& nextPage, QString const& failPage, -			size_t (*handler)(void*, size_t, size_t, void*)) +			icclient_handler handler)  	{  		auto admin = new Admin{};  		admin->setData(icclient_admin_login(username.toLatin1().constData(), |