Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
asset-controller.cpp
Go to the documentation of this file.
1 /*
2  AssetController - asset management UI top level
3 
4  Copyright (C) Lumiera.org
5  2017, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 * *****************************************************/
22 
23 
33 //#include "gui/ctrl/global-ctx.hpp"
35 //#include "lib/util.hpp"
36 
37 //using util::cStr;
39 //using util::isnil;
40 
41 
42 namespace gui {
43 namespace setting {
44 
45 
46 
47  // dtors via smart-ptr invoked from here...
49  { }
50 
51 
59  : model::Controller{identity, nexus}
60  { }
61 
62 
63  void
64  AssetController::buildMutator (TreeMutator::Handle buffer)
65  {
66 // using Attrib = std::pair<const string,string>;
67 // using lib::diff::collection;
68 
69  buffer.create (
70  TreeMutator::build()
71  );
72  UNIMPLEMENTED ("create a sensible binding between AssetManager in the section and AssetController in the UI");
73  }
74 
75 
80 }}// namespace gui::setting
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:47
void buildMutator(lib::diff::TreeMutator::Handle) override
content population and manipulation via UI-Bus
ctrl::BusTerm::ID ID
Definition: tangible.hpp:170
Customisable intermediary to abstract generic tree mutation operations.
AssetController(ID identity, ctrl::BusTerm &nexus)
Establish the UI section to deal with asset management.
connection point at the UI-Bus.
Definition: bus-term.hpp:105
User interface for asset management.
Customisable intermediary to abstract mutating operations on arbitrary, hierarchical object-like data...