Engauge Digitizer  2
CreateCommandStackShadow.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 "CmdStackShadow.h"
9 #include "Logger.h"
10 #include "MainWindow.h"
11 
13 {
14 }
15 
17 {
18  LOG4CPP_INFO_S ((*mainCat)) << "CreateCommandStackShadow::create";
19 
20  mw.m_cmdStackShadow = new CmdStackShadow;
21 }
MainWindow
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition: MainWindow.h:90
Logger.h
LOG4CPP_INFO_S
#define LOG4CPP_INFO_S(logger)
Definition: convenience.h:18
mainCat
log4cpp::Category * mainCat
Definition: Logger.cpp:14
MainWindow.h
CreateCommandStackShadow.h
CmdStackShadow
Command stack that shadows the CmdMediator command stack at startup when reading commands from an err...
Definition: CmdStackShadow.h:29
CreateCommandStackShadow::create
void create(MainWindow &mw)
Create shadow command stack.
Definition: CreateCommandStackShadow.cpp:16
CreateCommandStackShadow::CreateCommandStackShadow
CreateCommandStackShadow()
Single constructor.
Definition: CreateCommandStackShadow.cpp:12
CmdStackShadow.h