13 #ifndef APPLICATION_HPP
14 #define APPLICATION_HPP
16 #include <msgpack.hpp>
21 #include "ComponentBase.hpp"
33 #define HIGHLIGHT_TIMEOUT_MLS_NAME "APP.highlightComponentTimeoutMLS"
34 #define REFINES_COUNT_NAME "APP.refinesCount"
48 void addWCache(
unsigned long long &resCrc, std::string &wCacheBase64);
49 void extractWCache(msgpack::sbuffer &msgPackBuf, Poco::SharedPtr<OutDataStruct> outDataStructPtr);
50 void highlightComponentExecutor(Poco::SharedPtr<InDataStruct> inDataStructPtr, Poco::SharedPtr<OutDataStruct> outDataStructPtr);
51 virtual int main(
const std::vector<std::string>& args);
52 void readData(std::string &incomeString);
54 virtual void handleHelp(
const std::string& name,
const std::string& value);
55 virtual void handleVersion(
const std::string& name,
const std::string& value);