summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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();
};
}