/* * Copyright (c) 2012 Tobias Markmann * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include #include namespace Swift { class NotificationCenterNotifier : public Notifier { public: NotificationCenterNotifier(const std::string& name); virtual ~NotificationCenterNotifier(); virtual void showMessage(Type type, const std::string& subject, const std::string& description, const boost::filesystem::path& picture, boost::function callback); virtual void purgeCallbacks(); static bool isSupported(); void handleNotificationClicked(void* notification); public: class Private; boost::shared_ptr p; }; }