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 "demo_service_multiton.hpp"
8 : #include "demo_service.hpp"
9 :
10 : #include <wfc/module/multiton.hpp>
11 : #include <wfc/module/instance.hpp>
12 : #include <wfc/name.hpp>
13 :
14 : namespace demo{
15 :
16 : namespace
17 : {
18 0 : WFC_NAME2(service_name, "storage-service")
19 :
20 0 : class impl
21 : : public ::wfc::jsonrpc::service_multiton< service_name, service_method_list>
22 : {};
23 : }
24 :
25 0 : storage_service_multiton::storage_service_multiton()
26 0 : : wfc::component( std::make_shared<impl>() )
27 : {
28 0 : }
29 :
30 3 : }
|