From: Joel Holdsworth Date: Tue, 15 Oct 2013 10:57:29 +0000 (+0100) Subject: Added missing includes and defintions X-Git-Tag: pulseview-0.2.0~245 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b213ef0991a13af0c74ffe5c54382c5c455c5496;p=pulseview.git Added missing includes and defintions --- diff --git a/pv/data/decoder.cpp b/pv/data/decoder.cpp index 5907f649..65fc8fff 100644 --- a/pv/data/decoder.cpp +++ b/pv/data/decoder.cpp @@ -22,6 +22,8 @@ #include +#include + #include "decoder.h" #include diff --git a/pv/data/decoder.h b/pv/data/decoder.h index 5a4b4a99..93d8fa6a 100644 --- a/pv/data/decoder.h +++ b/pv/data/decoder.h @@ -30,9 +30,12 @@ #include +#include + struct srd_decoder; struct srd_decoder_inst; struct srd_probe; +struct srd_proto_data; struct srd_session; namespace pv { diff --git a/pv/view/decode/annotation.cpp b/pv/view/decode/annotation.cpp index 94f1fff5..339b46af 100644 --- a/pv/view/decode/annotation.cpp +++ b/pv/view/decode/annotation.cpp @@ -26,11 +26,12 @@ extern "C" { #include +#include + #include #include "annotation.h" -using namespace boost; using namespace std; namespace pv { diff --git a/pv/view/decodesignal.cpp b/pv/view/decodesignal.cpp index 1e9f2582..32307e9c 100644 --- a/pv/view/decodesignal.cpp +++ b/pv/view/decodesignal.cpp @@ -24,7 +24,10 @@ extern "C" { #include +#include + #include +#include #include "decodesignal.h" diff --git a/pv/view/logicsignal.cpp b/pv/view/logicsignal.cpp index a9484817..31b8f0a2 100644 --- a/pv/view/logicsignal.cpp +++ b/pv/view/logicsignal.cpp @@ -22,6 +22,9 @@ #include +#include +#include + #include "logicsignal.h" #include "view.h" diff --git a/pv/view/ruler.cpp b/pv/view/ruler.cpp index ad7082e6..a9a8452d 100644 --- a/pv/view/ruler.cpp +++ b/pv/view/ruler.cpp @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/pv/view/signal.cpp b/pv/view/signal.cpp index d031b27a..1f00477a 100644 --- a/pv/view/signal.cpp +++ b/pv/view/signal.cpp @@ -24,6 +24,8 @@ #include #include +#include +#include #include "signal.h" #include "view.h" diff --git a/pv/view/timemarker.cpp b/pv/view/timemarker.cpp index 4c3645b4..5935fb3b 100644 --- a/pv/view/timemarker.cpp +++ b/pv/view/timemarker.cpp @@ -22,6 +22,7 @@ #include "view.h" +#include #include #include diff --git a/pv/view/trace.cpp b/pv/view/trace.cpp index 19fea812..ffbab063 100644 --- a/pv/view/trace.cpp +++ b/pv/view/trace.cpp @@ -23,6 +23,9 @@ #include #include +#include +#include + #include "trace.h" #include "tracepalette.h" #include "view.h" diff --git a/pv/view/trace.h b/pv/view/trace.h index ca4040d2..85d137bc 100644 --- a/pv/view/trace.h +++ b/pv/view/trace.h @@ -31,6 +31,8 @@ #include "selectableitem.h" +class QFormLayout; + namespace pv { class SigSession; diff --git a/pv/widgets/colourbutton.cpp b/pv/widgets/colourbutton.cpp index c0cd7f28..fd417c11 100644 --- a/pv/widgets/colourbutton.cpp +++ b/pv/widgets/colourbutton.cpp @@ -20,6 +20,11 @@ #include "colourbutton.h" +#include + +#include +#include + namespace pv { namespace widgets { diff --git a/pv/widgets/colourbutton.h b/pv/widgets/colourbutton.h index 22f6bdbc..45a3ffff 100644 --- a/pv/widgets/colourbutton.h +++ b/pv/widgets/colourbutton.h @@ -21,6 +21,8 @@ #ifndef PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H #define PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H +#include + #include "colourpopup.h" namespace pv { diff --git a/pv/widgets/popup.cpp b/pv/widgets/popup.cpp index 399f5e28..ec6e60c4 100644 --- a/pv/widgets/popup.cpp +++ b/pv/widgets/popup.cpp @@ -20,6 +20,8 @@ #include +#include + #include #include "popup.h"