qasm/qasm.h

31 lines
514 B
C
Raw Normal View History

2019-11-11 23:56:03 +00:00
#pragma once
2019-11-17 04:48:25 +00:00
#include <inttypes.h>
#include "palPoco.h"
2019-11-11 23:56:03 +00:00
#include "pallogger.h"
#include "eventtask.h"
#include "baseapp.h"
#include "httpserver.h"
2019-11-11 23:56:03 +00:00
2019-11-17 04:48:25 +00:00
#ifndef UNUSED
#define UNUSED (void)
#endif
2019-11-11 23:56:03 +00:00
#define CLASS PAL_APPCLASS
using namespace PAL_NAMESPACE;
class CLASS : public PAL_BASEAPP
{
protected:
2019-11-15 13:31:42 +00:00
void showerror(int ecode,std::string fname);
2019-11-11 23:56:03 +00:00
virtual int runCommandLineApp(void);
2022-01-17 19:21:57 +00:00
#ifdef SERVERAPP
2019-11-11 23:56:03 +00:00
virtual int runServerApp(PAL_EVENTMANAGER *em);
2022-01-17 19:21:57 +00:00
#endif
2019-11-15 13:31:42 +00:00
virtual void displayVersion();
2019-11-11 23:56:03 +00:00
public:
};
#undef CLASS