]> sigrok.org Git - pulseview.git/blobdiff - signalhandler.hpp
DecodeSignal: Use better colors and names for decoder output signals
[pulseview.git] / signalhandler.hpp
index fff9efc7a1cf6fda5f31d42d2feeea9c84034cda..0246dc991935a46457bd9e348105ac48ceca1710 100644 (file)
  * 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 <http://www.gnu.org/licenses/>.
  */
 
-#ifndef SIGNALHANDLER_HPP
-#define SIGNALHANDLER_HPP
+#ifndef PULSEVIEW_SIGNALHANDLER_HPP
+#define PULSEVIEW_SIGNALHANDLER_HPP
 
 #include <QObject>
 
@@ -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