The ResultDecoder Update

This commit is contained in:
2022-11-22 23:00:01 +01:00
parent 6b48ba070c
commit c1e471f23a
5 changed files with 458 additions and 3 deletions

View File

@ -0,0 +1,27 @@
#pragma once
#include <string>
#include <3ds.h>
namespace RenderD7
{
class ResultDecoder
{
public:
ResultDecoder(){}
~ResultDecoder(){}
void Load(Result rescode);
void Load(std::string rescode);
std::string GetCode();
std::string GetLevel();
int GetLevelInt();
std::string GetModule();
int GetModuleInt();
std::string GetDescription();
int GetDescriptionInt();
std::string GetSummary();
int GetSummaryInt();
private:
Result m_rescode;
};
}

View File

@ -27,6 +27,7 @@
#include <renderd7/Draw.hpp>
#include <renderd7/Image.hpp>
#include <renderd7/Ovl.hpp>
#include <renderd7/ResultDecoder.hpp>
#include <renderd7/Screen.hpp>
#include <renderd7/Sheet.hpp>
#include <renderd7/Sprite.hpp>
@ -42,13 +43,16 @@
#include <renderd7/stringtool.hpp>
#include <renderd7/thread.hpp>
extern "C" {
#include <renderd7/external/fs.h>
}
#define RENDERD7VSTRING "0.8.2"
#define RENDERD7VSTRING "0.8.3"
#define CHANGELOG \
"0.8.2: Fix a lot of Stuff and add c++17 based filesystem class.\n0.8.1: " \
"0.8.3: Addet Overlaycount to Info and Addet ResultDecoder for " \
"errors.0.8.2: Fix a lot of Stuff and add c++17 based filesystem " \
"class.\n0.8.1: " \
"Add abillity to Get Stdout as string to render it to the " \
"screen.\n0.8.0: Implement BitmapPrinter\n0.7.3: Implement Over Render " \
"Overlay " \