diff options
author | bloodstalker <thabogre@gmail.com> | 2017-04-30 07:06:59 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-04-30 07:06:59 +0000 |
commit | fffd09e3c7c8787d72c71e4fcc2a367739f44a8d (patch) | |
tree | 721a11ac6539f330e8b7b1c4893940919f5992d3 | |
parent | added some excuse of a shell functionality (diff) | |
download | mutator-fffd09e3c7c8787d72c71e4fcc2a367739f44a8d.tar.gz mutator-fffd09e3c7c8787d72c71e4fcc2a367739f44a8d.zip |
added some excuse of shell functionality
Diffstat (limited to '')
-rw-r--r-- | bruiser/bruiser.h | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h index 384b441..a001f62 100644 --- a/bruiser/bruiser.h +++ b/bruiser/bruiser.h @@ -37,6 +37,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.* #include "clang/AST/ASTTypeTraits.h" /*llvm headers*/ +/*boost*/ +#include "boost/circular_buffer.hpp" /**********************************************************************************************************************/ /*using*/ using namespace tinyxml2; @@ -48,6 +50,19 @@ namespace bruiser /**********************************************************************************************************************/ const char* M0REP = "../test/misrareport.xml"; /**********************************************************************************************************************/ +#define RED "\033[1;31m" +#define CYAN "\033[1;36m" +#define GREEN "\033[1;32m" +#define BLUE "\033[1;34m" +#define BLACK "\033[1;30m" +#define BROWN "\033[1;33m" +#define MAGENTA "\033[1;35m" +#define GRAY "\033[1;37m" +#define DARKGRAY "\033[1;30m" +#define YELLOW "\033[1;33m" +#define NORMAL "\033[0m" +#define CLEAR "\033[2J" +/**********************************************************************************************************************/ /*Error Codes*/ #define M0_ERROR_CODES \ X(BAD_M0_XML, "bad m0 xml.", 100) \ @@ -97,7 +112,7 @@ class ReadM0 { try { - XMLError eResult = IntermediateXMLDoc.LoadFile(M0REP); + XMLError eResult [[maybe_unused]] = IntermediateXMLDoc.LoadFile(M0REP); RootPointer = IntermediateXMLDoc.FirstChild(); } @@ -161,6 +176,22 @@ class SearchM0 XMLNode* RootPointer; }; /**********************************************************************************************************************/ +class ShellHistory +{ + public: + ShellHistory() {} + boost::circular_buffer<std::string> History{100}; +}; +/**********************************************************************************************************************/ +class Daemonize +{ + public: + Daemonize () {} + + private: + +}; +/**********************************************************************************************************************/ } // end of namespace bruiser #endif /*last line intentionally left balnk.*/ |