X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=signalhandler.hpp;h=0246dc991935a46457bd9e348105ac48ceca1710;hp=fe54ff2a182c66a7219e5d31c3fec6c0519e8a42;hb=e505bec82f581f838bdcaae3c75bce96676cc9fd;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329 diff --git a/signalhandler.hpp b/signalhandler.hpp index fe54ff2a..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_H -#define SIGNALHANDLER_H +#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_H +#endif // PULSEVIEW_SIGNALHANDLER_HPP