#pragma once

#include "Swift/Controllers/SystemTray.h"

#include <QSystemTrayIcon>

class QIcon;

namespace Swift {
	class QtSystemTray : public QObject, public SystemTray {
		Q_OBJECT
		public:
			QtSystemTray();
			~QtSystemTray();
			void setUnreadMessages(bool some);
		signals:
			void clicked();
		private slots:
			void handleIconActivated(QSystemTrayIcon::ActivationReason reason);
		private:
			QSystemTrayIcon* trayIcon_;
			QIcon standardIcon_;
			QIcon newMessageIcon_;
	};
}