mirror of
https://github.com/marketideas/qasm.git
synced 2025-01-14 11:29:46 +00:00
38 lines
630 B
C++
38 lines
630 B
C++
#pragma once
|
|
#include <inttypes.h>
|
|
|
|
#include <palPoco.h>
|
|
#include <pallogger.h>
|
|
#include <eventtask.h>
|
|
#include <baseapp.h>
|
|
#include "app.h"
|
|
#include "qoptions.h"
|
|
#include "util.h"
|
|
//#include <httpserver.h>
|
|
|
|
#ifndef UNUSED
|
|
#define UNUSED (void)
|
|
#endif
|
|
|
|
#define CLASS PAL_APPCLASS
|
|
using namespace PAL_NAMESPACE;
|
|
|
|
class CLASS : public PAL_BASEAPP
|
|
{
|
|
protected:
|
|
void showerror(int ecode,std::string fname);
|
|
virtual int runCommandLineApp(void);
|
|
#ifdef SERVERAPP
|
|
virtual int runServerApp(PAL_EVENTMANAGER *em);
|
|
#endif
|
|
virtual void displayVersion();
|
|
virtual void displayHelp();
|
|
|
|
public:
|
|
|
|
};
|
|
|
|
extern PAL_LOGGER logger;
|
|
|
|
#undef CLASS
|