mainapp.h
719 Bytes
#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