diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-09 15:44:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-09 15:44:57 +0200 |
commit | 9d346aa8894e567d2871125826488c2ca181d0f5 (patch) | |
tree | 870664c4612d246c37d687fba7156de33568bec6 /services.cxx | |
parent | cf5c6478240d8e4fe88c4abddf2234ef18b71c4f (diff) |
Further interface prototyping
Diffstat (limited to 'services.cxx')
-rw-r--r-- | services.cxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/services.cxx b/services.cxx new file mode 100644 index 0000000..746aefa --- /dev/null +++ b/services.cxx @@ -0,0 +1,17 @@ +// file : services.cxx -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#include <web/apache/service> + +#include <brep/search> +#include <brep/view> + +using namespace brep; +using web::apache::service; + +static const search search_mod; +service<search> AP_MODULE_DECLARE_DATA search_srv ("search", search_mod); + +static const view view_mod; +service<view> AP_MODULE_DECLARE_DATA view_srv ("view", view_mod); |