mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #316 Swiftcore, swiftgui, and samples use CLogHandler to display subscribed messages.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "blackcore/network_vatlib.h"
|
||||
#include "blackmisc/loghandler.h"
|
||||
#include "client.h"
|
||||
#include "reader.h"
|
||||
#include <QCoreApplication>
|
||||
@@ -12,6 +13,7 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication app (argc, argv);
|
||||
BlackMisc::CLogHandler::instance()->install();
|
||||
|
||||
Client client(&app);
|
||||
LineReader reader;
|
||||
|
||||
Reference in New Issue
Block a user