You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

notification.h 356 B

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
12345678910111213141516171819
  1. #ifndef OSXNOTIFICATION_H
  2. #define OSXNOTIFICATION_H
  3. #include <QString>
  4. #include <QObject>
  5. class MainWindow;
  6. class Notification
  7. {
  8. public:
  9. explicit Notification();
  10. int show(const QString& title, const QString& content, const QString &fellowIp);
  11. void hideAll();
  12. public:
  13. void setMainWnd(MainWindow* mainWnd);
  14. };
  15. #endif // OSXNOTIFICATION_H

mac下的“飞秋”大多数只是飞鸽传书协议,而且未发现令人满意的开源项目,所以基于c++与qt实现了基础的飞秋协议。

Contributors (1)