over time, a specific Lumiera code writing style has emerged. The GUI, as it stood, used somewhat different conventions, which now have been aligned to the common standard. Basically we use GNU style, with some adjustments for OO-programming, we prefer CamelCase, and write TypeNames uppercase, variableNames lowercase
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
/*
|
|
UiBus - UI model and control backbone
|
|
|
|
Copyright (C) Lumiera.org
|
|
2008, Joel Holdsworth <joel@airwebreathe.org.uk>
|
|
2015, Hermann Vosseler <Ichthyostega@web.de>
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License as
|
|
published by the Free Software Foundation; either version 2 of
|
|
the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
* *****************************************************/
|
|
|
|
|
|
#include "gui/ui-bus.hpp"
|
|
|
|
namespace gui {
|
|
namespace controller {
|
|
|
|
Controller::Controller (model::Project& modelProject)
|
|
: project_(modelProject)
|
|
, playback_()
|
|
{ }
|
|
|
|
|
|
|
|
PlaybackController& Controller::get_playback_controller()
|
|
{
|
|
return playback_;
|
|
}
|
|
|
|
}}// namespace gui::controller
|
|
|