File indexing completed on 2024-04-14 05:45:38

0001 /*
0002  *   Copyright (C) 2016 by Aditya Mehra <aix.m@outlook.com>                      *
0003  *   This program is free software; you can redistribute it and/or modify
0004  *   it under the terms of the GNU Library General Public License as
0005  *   published by the Free Software Foundation; either version 2, or
0006  *   (at your option) any later version.
0007  *
0008  *   This program is distributed in the hope that it will be useful,
0009  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
0010  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0011  *   GNU General Public License for more details
0012  *
0013  *   You should have received a copy of the GNU Library General Public
0014  *   License along with this program; if not, write to the
0015  *   Free Software Foundation, Inc.,
0016  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
0017  */
0018 
0019 #ifndef NOTIFY_H
0020 #define NOTIFY_H
0021 
0022 #include <QObject>
0023 #include <QStringList>
0024 
0025 class Notify : public QObject
0026 {
0027     Q_OBJECT
0028 
0029 public:
0030     explicit Notify(QObject *parent = Q_NULLPTR);
0031 
0032 public Q_SLOTS:
0033     void mycroftResponse(const QString &title, const QString &notiftext);
0034     void mycroftConnectionStatus(const QString &connectionStatus);
0035 Q_SIGNALS: // SIGNALS
0036     void notificationStopSpeech();
0037     void notificationShowResponse();
0038 };
0039 
0040 #endif // NOTIFY_H