2019-11-11 23:56:03 +00:00
|
|
|
#pragma once
|
2019-11-16 02:40:12 +00:00
|
|
|
#include <inttypes.h>
|
|
|
|
|
2019-11-13 05:03:41 +00:00
|
|
|
#include "palPoco.h"
|
2019-11-11 23:56:03 +00:00
|
|
|
#include "pallogger.h"
|
2019-11-13 05:03:41 +00:00
|
|
|
#include "eventtask.h"
|
|
|
|
#include "baseapp.h"
|
|
|
|
#include "httpserver.h"
|
2019-11-11 23:56:03 +00:00
|
|
|
|
2019-11-16 02:40:12 +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-14 17:43:27 +00:00
|
|
|
void showerror(int ecode,std::string fname);
|
2019-11-11 23:56:03 +00:00
|
|
|
virtual int runCommandLineApp(void);
|
|
|
|
virtual int runServerApp(PAL_EVENTMANAGER *em);
|
2019-11-15 10:48:58 +00:00
|
|
|
virtual void displayVersion();
|
|
|
|
|
2019-11-11 23:56:03 +00:00
|
|
|
public:
|
|
|
|
};
|
|
|
|
|
|
|
|
#undef CLASS
|