mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-05-04 21:49:40 +00:00
22 lines
416 B
C++
22 lines
416 B
C++
#ifndef SERVERUTILS_H
|
|
#define SERVERUTILS_H
|
|
#include "serverprotocol_global.h"
|
|
|
|
|
|
class SERVERPROTOCOLSHARED_EXPORT ServerUtils
|
|
{
|
|
public:
|
|
|
|
ServerUtils();
|
|
static void helpDaemon();
|
|
static void helpClient();
|
|
/**
|
|
* @brief runDaemon
|
|
* @return true if app running like a daemon
|
|
*/
|
|
static bool runDaemon();
|
|
static bool parseParams(int argc, char *argv[]);
|
|
};
|
|
|
|
#endif // SERVERUTILS_H
|