CApplication update:

- Initialise params in definition (not constructor)
This commit is contained in:
2022-10-13 16:22:45 +02:00
parent 7dfdfdb4ce
commit a5d3f469cb
2 changed files with 22 additions and 32 deletions

View File

@@ -27,10 +27,6 @@ CApplication::CApplication( EDebugLevel pLogLevel )
// Set signal handlers
ConfigureSignalHandlers();
DefinitionFile = NULL;
ConfigFile = NULL;
AddressFile = NULL;
// Create output logger
Log = new CLogCore( stdout, 5000 );
LogLevel = pLogLevel;
@@ -43,13 +39,6 @@ CApplication::CApplication( EDebugLevel pLogLevel )
AddressList = DataTree->GetChild( "AddressList", true );
JSONparser = new CJSONparse( DataTree );
// Selector
Selector = NULL;
// List
FirstFunctionType = NULL;
FirstFunction = NULL;
// Add Core Function Types
//AddFunctionType( TYPE_FUNCTION, NewFunctionCore ); // <-- Can't add virtual function
AddFunctionType( TYPE_SELECTABLE, NewSelectableCore );