1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file src/visualizer/InputManager.cpp
10 #include "visualizer/InputManager.h"
11 #include "util/MessageSystem.h"
13 namespace Visualizer
{
15 InputManager::InputManager() {
16 m_artisanManager
= new ArtisanManager();
19 InputManager::~InputManager() {
20 delete m_artisanManager
;
23 void InputManager::addInput(DataInput
*input
) {
24 Message(Debug
, "Adding input . . .");
25 m_inputList
.push_back(input
);
26 emit
inputAdded(input
);
29 } // namespace Visualizer