#31 Squashed merge of commits relating to the plugin system and IContext redesign, from the 'interconnect' branch.

This commit is contained in:
Mathew Sutcliffe
2013-04-17 01:26:54 +01:00
parent 4e812975b4
commit 9916419678
57 changed files with 1517 additions and 1092 deletions

View File

@@ -1,5 +1,6 @@
#include <QCoreApplication>
#include "blackmisc/debug.h"
#include "blackmisc/context.h"
#include "blackcore/constants.h"
#include <limits>
#include <iostream>
@@ -9,10 +10,12 @@ int main(int argc, char *argv[])
QCoreApplication a(argc, argv);
BlackMisc::CApplicationContext myApplicationContext;
bInfo << "This is a Info log message";
bWarning << "This is a bWarning log message";
bError << "This is a bError log message";
bDebug << "This is a bDebug log message";
BlackMisc::IContext::getInstance().setSingleton(new BlackMisc::CDebug());
bAppInfo << "This is a Info log message";
bAppWarning << "This is a bWarning log message";
bAppError << "This is a bError log message";
bAppDebug << "This is a bDebug log message";
return a.exec();
}