Line data Source code
1 : //---------------------------------------------------------------- 2 : // 3 : // File: RedFlame.cpp 4 : // 5 : //---------------------------------------------------------------- 6 : 7 : #include "RedFlame.h" 8 : #include <iostream> 9 : #include <rang.hpp> 10 : #include "gen/BuildInfo.h" 11 : #include "gen/StringUtils.h" 12 : #include "codec/EnumChannelDirection.h" 13 : #include "CommandLine.h" 14 : #include "Properties.h" 15 : 16 : using namespace App; 17 : 18 : /*-----------------------------------------------------------*//** 19 : 20 : Constructor 21 : 22 : @param[in] argc 23 : Number of items in argv array. 24 : 25 : @param[in] argv 26 : Array of command line args. 27 : */ 28 0 : RedFlame::RedFlame(int argc, char* argv[]) 29 : { 30 0 : Gen::BuildInfo bld("RedFlame"); 31 0 : CommandLine cmdline(argc, argv, bld); 32 0 : std::cout << bld.fullInfo() << std::endl; 33 : 34 0 : ChannelDirection cd = ChannelDirection::Forward; 35 0 : std::cout << "Channel direction: " << rang::fg::yellow 36 0 : << cd << rang::fg::reset << std::endl; 37 : 38 0 : std::string x("QuestionEverything"); 39 0 : std::string y = Gen::StringUtils::toLower(x); 40 0 : Properties props; 41 0 : (void)props; 42 0 : } 43 : 44 : //----------------------------------------------------------------