9f17d59e
陈明泉
no message
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef MAINAPP_H
#define MAINAPP_H
#include <QApplication>
#include "Notification.h"
class MainApp : public QApplication
{
Q_OBJECT
public:
MainApp(int & argc, char ** argv);
void notifyServiceEvent(const QString &name, size_t cookie, const Notification &info);
void notifyAudioEvent(int eventType, const Notification &info);
void notifyVideoEvent(int eventType, const Notification &info);
virtual bool winEventFilter(MSG * msg, long * result);
Q_SIGNALS:
void serviceEvent(const QString &name, size_t cookie, const Notification &info);
void audioEvent(int eventType, const Notification &info);
void videoEvent(int eventType, const Notification &info);
};
#endif // MAINAPP_H
|