Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 :
7 : #include "startup_module.hpp"
8 : #include "startup/startup_singleton.hpp"
9 : #include <wfc/module/component_list.hpp>
10 : #include <wfc/name.hpp>
11 :
12 : namespace wfc{ namespace core{
13 :
14 : namespace
15 : {
16 0 : WFC_NAME2(module_name, "startup")
17 :
18 0 : class impl: public ::wfc::component_list<
19 : module_name,
20 : startup_singleton
21 : >
22 : {
23 0 : virtual std::string description() const override
24 : {
25 0 : return "Оne-component module";
26 : }
27 : };
28 : }
29 :
30 0 : startup_module::startup_module()
31 0 : : module( std::make_shared<impl>() )
32 0 : {}
33 :
34 3 : }}
|