X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Flogging.hpp;h=fe05c5439ecf52d30c663614c08948d1c2b9ef53;hb=87ab03211d827d0585d7c452361d6d0c69015b06;hp=0be270d488d4506cbc82db3fabbc9cfb81458585;hpb=348bae08c18c66974533dde20ba3c426e881f929;p=pulseview.git diff --git a/pv/logging.hpp b/pv/logging.hpp index 0be270d..fe05c54 100644 --- a/pv/logging.hpp +++ b/pv/logging.hpp @@ -22,11 +22,15 @@ #include "globalsettings.hpp" +#include + #include #include #include #include +using std::mutex; + namespace pv { class Logging : public QObject, public GlobalSettingsInterface @@ -70,6 +74,7 @@ Q_SIGNALS: private: int buffer_size_; QStringList buffer_; + mutable mutex log_mutex_; }; extern Logging logging;