Prevent log length to be set to 0
[pulseview.git] / signalhandler.hpp
index fe54ff2a182c66a7219e5d31c3fec6c0519e8a42..a17b04b9eb885d8de55f5bc507d0974eae554668 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_H
-#define SIGNALHANDLER_H
+#ifndef PULSEVIEW_PV_SIGNALHANDLER_HPP
+#define PULSEVIEW_PV_SIGNALHANDLER_HPP
 
 #include <QObject>
 
@@ -33,7 +32,7 @@ public:
        static bool prepare_signals();
 
 public:
-       explicit SignalHandler(QObject* parent = NULL);
+       explicit SignalHandler(QObject* parent = nullptr);
 
 Q_SIGNALS:
        void int_received();
@@ -52,4 +51,4 @@ private:
        static int sockets_[2];
 };
 
-#endif // SIGNALHANDLER_H
+#endif // PULSEVIEW_PV_SIGNALHANDLER_HPP