aboutsummaryrefslogtreecommitdiff
path: root/services.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'services.cxx')
-rw-r--r--services.cxx17
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);