Engauge Digitizer 2
Loading...
Searching...
No Matches
CreateNetwork.cpp
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2018 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#include "CreateNetwork.h"
8#include "Logger.h"
9#include "MainWindow.h"
10#ifdef NETWORKING
11#include "NetworkClient.h"
12#endif
13
17
19#ifdef NETWORKING
20 mw
21#endif
22 )
23{
24 LOG4CPP_INFO_S ((*mainCat)) << "CreateNetwork::create";
25
26#ifdef NETWORKING
27 mw.m_networkClient = new NetworkClient (&mw);
28#endif
29}
log4cpp::Category * mainCat
Definition Logger.cpp:14
void create(MainWindow &mw)
Create QNetwork.
CreateNetwork()
Single constructor.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition MainWindow.h:95
Client for interacting with Engauge server.
#define LOG4CPP_INFO_S(logger)
Definition convenience.h:18