egg (or chicken)
Signed-off-by: Arthur Khachaturov <me@wzray.ru>
This commit is contained in:
commit
8ed52d1c79
20 changed files with 11719 additions and 0 deletions
20
puppy/include/PromtFileTranslator.hpp
Normal file
20
puppy/include/PromtFileTranslator.hpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#include <string_view>
|
||||
#include "COMWrapper.hpp"
|
||||
|
||||
class PromtFileTranslator : COMWrapper {
|
||||
private:
|
||||
const void *mInstance = nullptr;
|
||||
const void *mDirection = nullptr;
|
||||
static constexpr char mClassName[] = "PromtFileTranslator";
|
||||
|
||||
public:
|
||||
PromtFileTranslator() = delete;
|
||||
explicit PromtFileTranslator(const void *instance, const void *direction) : mInstance(instance), mDirection(direction){};
|
||||
~PromtFileTranslator();
|
||||
void Translate(const std::string_view src, const std::string_view dest) const;
|
||||
const char* classname() const override {
|
||||
return mClassName;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue