29 #ifndef SOUNDNOTIFYPLUGIN_H
30 #define SOUNDNOTIFYPLUGIN_H
40 #include <QMediaPlayer>
41 #include <QMediaPlaylist>
55 Q_PLUGIN_METADATA(IID
"org.dronin.plugins.NotifyPlugin")
60 void extensionsInitialized();
61 bool initialize(
const QStringList &arguments, QString *errorString);
69 bool getEnableSound()
const {
return enableSound; }
70 void setEnableSound(
bool value) { enableSound = value; }
83 void onTelemetryManagerAdded(QObject *obj);
84 void onAutopilotDisconnect();
85 void connectNotifications();
86 void resetNotification(
void);
87 void on_arrived_Notification(
UAVObject *
object);
88 void on_timerRepeated_Notification(
void);
89 void on_expiredTimer_Notification(
void);
90 void stateChanged(QMediaPlayer::State newstate);
106 QMediaPlaylist *playlist;
109 #endif // SOUNDNOTIFYPLUGIN_H
struct PhononObject * pPhononObject
NotificationItem * notify
void updateNotificationList(QList< NotificationItem * > list)
The Config Info is a helper-class to handle version changes in GCS configuration files.