summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-09-15 16:40:20 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-09-15 16:41:16 (GMT)
commitc0ea59aed73b5425ad78e6bdb6f8f12e2b44567e (patch)
treebc111c071c92911d7e9745c86c8cdfac69cd64e7 /SwifTools/Notifier/Notifier.h
parent3c45ed7c3b62609824c0ea50f1ce9c00bbe00849 (diff)
downloadswift-c0ea59aed73b5425ad78e6bdb6f8f12e2b44567e.zip
swift-c0ea59aed73b5425ad78e6bdb6f8f12e2b44567e.tar.bz2
Added Snarl notification support
Diffstat (limited to 'SwifTools/Notifier/Notifier.h')
-rw-r--r--SwifTools/Notifier/Notifier.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/SwifTools/Notifier/Notifier.h b/SwifTools/Notifier/Notifier.h
index 3e3da8a..f1a89ef 100644
--- a/SwifTools/Notifier/Notifier.h
+++ b/SwifTools/Notifier/Notifier.h
@@ -7,6 +7,7 @@
#pragma once
#include <boost/function.hpp>
+#include <boost/filesystem/path.hpp>
#include "Swiften/Base/String.h"
@@ -24,7 +25,12 @@ namespace Swift {
Type type,
const String& subject,
const String& description,
- const ByteArray& picture,
+ const boost::filesystem::path& picture,
boost::function<void()> callback) = 0;
+
+ protected:
+ String typeToString(Type type);
+ static std::vector<Type> getAllTypes();
+ static std::vector<Type> getDefaultTypes();
};
}