Committing updates.

This commit is contained in:
Преподобный Ален
2021-09-17 15:04:26 +03:00
parent e758e8d8dc
commit f4f4d104cf
136 changed files with 46883 additions and 79 deletions

75
src/app/dm.hpp Normal file
View File

@@ -0,0 +1,75 @@
/*++
Program name:
dm
Module Name:
dm.hpp
Notices:
BitDeals Payment Service (Deal Module)
Author:
Copyright (c) Prepodobny Alen
mailto: alienufo@inbox.ru
mailto: ufocomp@gmail.com
--*/
#ifndef APOSTOL_APOSTOL_HPP
#define APOSTOL_APOSTOL_HPP
#include "../../version.h"
//----------------------------------------------------------------------------------------------------------------------
#define APP_VERSION AUTO_VERSION
#define APP_VER APP_NAME "/" APP_VERSION
//----------------------------------------------------------------------------------------------------------------------
#include "Header.hpp"
//----------------------------------------------------------------------------------------------------------------------
extern "C++" {
namespace Apostol {
namespace DealModule {
class CDealModule: public CApplication {
protected:
void ParseCmdLine() override;
void ShowVersionInfo() override;
void StartProcess() override;
public:
CDealModule(int argc, char *const *argv): CApplication(argc, argv) {
};
~CDealModule() override = default;
static class CDealModule *Create(int argc, char *const *argv) {
return new CDealModule(argc, argv);
};
inline void Destroy() override { delete this; };
void Run() override;
};
}
}
using namespace Apostol::DealModule;
}
#endif //APOSTOL_APOSTOL_HPP