Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c++:
- class ClientHandler : public QObject {
- Q_OBJECT
- public:
- ClientHandler(LibInstaller *parent, qhttp::server::QHttpRequest *req, qhttp::server::QHttpResponse *res);
- public slots:
- bool makeLabel(QJsonObject *reply, int handle, QString type);
- bool openDevice(QJsonObject *reply, QString device);
- bool openDisk(QJsonObject *reply, int device_handle);
- bool listPartitions(QJsonObject *reply, int disk_handle);
- bool createPartition(QJsonObject *reply, int disk_handle, int start, int size);
- javascript:
- qx.core.Init.getApplication().RPC("createPartition", { disk_handle: 1, start:2, size: 3 }, console.log);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement