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.

osxplatform.h 476 B

8 years ago
8 years ago
8 years ago
1234567891011121314151617181920212223
  1. #ifndef OSXPLATFORM_H
  2. #define OSXPLATFORM_H
  3. #include "../platformdepend.h"
  4. #include "notification.h"
  5. class OsxPlatform : public IPlatform
  6. {
  7. public:
  8. OsxPlatform();
  9. public:
  10. long showNotify(const QString& title, const QString& content, const QString &fellowIp) override;
  11. void hideAllNotify() override;
  12. void setBadgeNumber(int number) override;
  13. void setMainWnd(MainWindow *mainWnd) override;
  14. private:
  15. Notification mNotify;
  16. };
  17. #endif // OSXPLATFORM_H

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

Contributors (1)