2019-11-11 15:56:03 -08:00
|
|
|
#pragma once
|
2019-11-15 18:40:12 -08:00
|
|
|
#include <inttypes.h>
|
|
|
|
|
2019-11-12 21:03:41 -08:00
|
|
|
#include "palPoco.h"
|
2019-11-11 15:56:03 -08:00
|
|
|
#include "pallogger.h"
|
2019-11-12 21:03:41 -08:00
|
|
|
#include "eventtask.h"
|
|
|
|
#include "baseapp.h"
|
|
|
|
#include "httpserver.h"
|
2019-11-11 15:56:03 -08:00
|
|
|
|
2019-11-15 18:40:12 -08:00
|
|
|
#ifndef UNUSED
|
|
|
|
#define UNUSED (void)
|
|
|
|
#endif
|
|
|
|
|
2019-11-11 15:56:03 -08:00
|
|
|
#define CLASS PAL_APPCLASS
|
|
|
|
using namespace PAL_NAMESPACE;
|
|
|
|
|
|
|
|
class CLASS : public PAL_BASEAPP
|
|
|
|
{
|
|
|
|
protected:
|
2019-11-14 09:43:27 -08:00
|
|
|
void showerror(int ecode,std::string fname);
|
2019-11-11 15:56:03 -08:00
|
|
|
virtual int runCommandLineApp(void);
|
|
|
|
virtual int runServerApp(PAL_EVENTMANAGER *em);
|
2019-11-15 02:48:58 -08:00
|
|
|
virtual void displayVersion();
|
|
|
|
|
2019-11-11 15:56:03 -08:00
|
|
|
public:
|
|
|
|
};
|
|
|
|
|
|
|
|
#undef CLASS
|