switch from qt to boost commandlineoptions coati can now parse a coatiproject without gui with commandline flag -d show all commandline options with flag --hidden
27 lines
564 B
C++
27 lines
564 B
C++
#ifndef QT_COREAPPLICTION_H
|
|
#define QT_COREAPPLICTION_H
|
|
|
|
#include <QCoreApplication>
|
|
#include "utility/messaging/MessageListener.h"
|
|
#include "utility/messaging/type/MessageFinishedParsing.h"
|
|
|
|
class License;
|
|
|
|
class QtCoreApplication
|
|
: public QCoreApplication
|
|
, public MessageListener<MessageFinishedParsing>
|
|
{
|
|
public:
|
|
QtCoreApplication(int argc, char **argv);
|
|
virtual ~QtCoreApplication();
|
|
bool saveLicense(License license);
|
|
signals:
|
|
void quitSignal();
|
|
private:
|
|
virtual void handleMessage(MessageFinishedParsing* message);
|
|
};
|
|
|
|
|
|
#endif // QT_COREAPPLICATION
|
|
|