fw4spl
core/fwGui/src/fwGui/factory/new.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include "fwGui/GuiBaseObject.hpp"
8 #include "fwGui/factory/new.hpp"
9 
10 
11 namespace fwGui
12 {
13 
14 namespace factory
15 {
16 
17 ::fwGui::GuiBaseObject::sptr New( const ::fwGui::registry::KeyType & classname )
18 {
19  return ::fwGui::registry::get()->create(classname);
20 }
21 
22 } // namespace factory
23 
24 } // namespace fwGui
25 
26 
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
Contains fwAtomsFilter::factory utilities.