summaryrefslogtreecommitdiff
path: root/p2pvr/lib/bindSiParserHandler.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-01-27 02:41:29 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-06-13 17:29:49 +0100
commit33a8b31afd92bf6c51b665fa95cb3662e8e60038 (patch)
tree579067c3603768d7972f218364ef0ac3679a74cf /p2pvr/lib/bindSiParserHandler.h
parentAdd deps on sql (diff)
downloadp2pvr-33a8b31afd92bf6c51b665fa95cb3662e8e60038.tar.bz2
p2pvr-33a8b31afd92bf6c51b665fa95cb3662e8e60038.tar.xz
p2pvr-33a8b31afd92bf6c51b665fa95cb3662e8e60038.zip
Move some bits from lib into more focused parts
Diffstat (limited to 'p2pvr/lib/bindSiParserHandler.h')
-rw-r--r--p2pvr/lib/bindSiParserHandler.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/p2pvr/lib/bindSiParserHandler.h b/p2pvr/lib/bindSiParserHandler.h
deleted file mode 100644
index a4813c2..0000000
--- a/p2pvr/lib/bindSiParserHandler.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef BINDSIPARSERHANDLER_H
-#define BINDSIPARSERHANDLER_H
-
-#include <boost/function.hpp>
-
-template <typename SIObject, typename Base>
-class BindSiParserHandler : public Base {
- public:
- typedef boost::function<bool(SIObject)> Callback;
- BindSiParserHandler(const Callback & cb) :
- callBack(cb)
- {
- }
-
- bool HandleTable(SIObject siObject)
- {
- return callBack(siObject);
- }
-
- private:
- const Callback callBack;
-};
-
-#endif
-