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_gateway_multiton.hpp"
8 : #include "demo_gateway.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 0 : WFC_NAME2(storage_gateway_name, "storage-gateway")
17 :
18 0 : class storage_gateway_multiton::impl
19 : : public ::wfc::jsonrpc::gateway_multiton<
20 : storage_gateway_name,
21 : gateway_method_list,
22 : storage_interface
23 : >
24 : {};
25 :
26 0 : storage_gateway_multiton::storage_gateway_multiton()
27 0 : : wfc::component( std::make_shared<impl>() )
28 : {
29 0 : }
30 :
31 3 : }
|