Patronum
Loading...
Searching...
No Matches
Patronum_global.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2025 QuasarApp.
3 * Distributed under the lgplv3 software license, see the accompanying
4 * Everyone is permitted to copy and distribute verbatim copies
5 * of this license document, but changing it is not allowed.
6*/
7
8#ifndef PATRONUM_GLOBAL_H
9#define PATRONUM_GLOBAL_H
10
11#include <QtCore/qglobal.h>
12
13#if defined(PATRONUM_LIBRARY)
14# define PATRONUM_LIBRARYSHARED_EXPORT Q_DECL_EXPORT
15#else
16# define PATRONUM_LIBRARYSHARED_EXPORT Q_DECL_IMPORT
17#endif
18
19#define PATRONUM_VERSION "0.2.203.ef372e7"
20
21namespace Patronum {
22
23
46
52QString errorToString(PatronumError error);
53
54}
55#endif // PATRONUM_GLOBAL_H
The Patronum namespace - It is main name space of Patronum Library. The Patronum library support the ...
QString errorToString(PatronumError error)
errorToString This method convert the PatronumError to QString.
PatronumError
The PatronumError enum - controller work error codes.
@ FailedToStart
This error ocured when user srvice failed to start.
@ ServiceUnavailable
Service is unavailable. Try send start command or restart the service manually.
@ SystemError
Internal error of the work of the Patronum library. Contact the developers and provide them with an e...
@ WrongCommand
Library unsupported command received.
@ TimeOutError
Timeout error. service unavailable or not started.
@ UnsupportedPlatform
This error ocured when service not supportded using platform.
@ Undefined
Unknown error.
@ InvalidPackage
Invalid package received.