X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=signalhandler.hpp;h=0246dc991935a46457bd9e348105ac48ceca1710;hb=9431e2d3d256f3602c3637847a8ec3ad3fdcd590;hp=fff9efc7a1cf6fda5f31d42d2feeea9c84034cda;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f;p=pulseview.git
diff --git a/signalhandler.hpp b/signalhandler.hpp
index fff9efc7..0246dc99 100644
--- a/signalhandler.hpp
+++ b/signalhandler.hpp
@@ -14,12 +14,11 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
-#ifndef SIGNALHANDLER_HPP
-#define SIGNALHANDLER_HPP
+#ifndef PULSEVIEW_SIGNALHANDLER_HPP
+#define PULSEVIEW_SIGNALHANDLER_HPP
#include
@@ -33,11 +32,12 @@ public:
static bool prepare_signals();
public:
- explicit SignalHandler(QObject* parent = NULL);
+ explicit SignalHandler(QObject* parent = nullptr);
Q_SIGNALS:
void int_received();
void term_received();
+ void usr1_received();
private Q_SLOTS:
void on_socket_notifier_activated();
@@ -52,4 +52,4 @@ private:
static int sockets_[2];
};
-#endif // SIGNALHANDLER_HPP
+#endif // PULSEVIEW_SIGNALHANDLER_HPP