From d14a0a7be38de94dce84818c904e609d31da21ab Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Wed, 15 Dec 2010 22:46:10 +0000 Subject: Major cleanup in the #includes. Moved the contents of all.h into individal files. --- muse2/awl/aslider.cpp | 3 +++ muse2/awl/aslider.h | 5 +++++ muse2/awl/checkbox.h | 2 ++ muse2/awl/combobox.h | 2 ++ muse2/awl/drawbar.cpp | 2 ++ muse2/awl/floatentry.cpp | 4 ++++ muse2/awl/floatentry.h | 6 ++++++ muse2/awl/knob.cpp | 5 +++++ muse2/awl/midimeter.cpp | 3 +++ muse2/awl/midimslider.cpp | 3 +++ muse2/awl/mslider.cpp | 4 +++- muse2/awl/pitchedit.cpp | 4 ++++ muse2/awl/pitchedit.h | 4 ++++ muse2/awl/pitchlabel.cpp | 3 +++ muse2/awl/pitchlabel.h | 2 ++ muse2/awl/posedit.cpp | 7 ++++++- muse2/awl/posedit.h | 2 ++ muse2/awl/sigedit.cpp | 3 +++ muse2/awl/sigedit.h | 2 ++ muse2/awl/slider.cpp | 3 +++ muse2/awl/tempoedit.cpp | 5 +++++ muse2/awl/tempoedit.h | 2 ++ muse2/awl/tempolabel.cpp | 2 ++ muse2/awl/tempolabel.h | 2 ++ muse2/awl/volslider.cpp | 2 ++ 25 files changed, 80 insertions(+), 2 deletions(-) (limited to 'muse2/awl') diff --git a/muse2/awl/aslider.cpp b/muse2/awl/aslider.cpp index 79a36b88..b48ccbe0 100644 --- a/muse2/awl/aslider.cpp +++ b/muse2/awl/aslider.cpp @@ -21,6 +21,9 @@ #include "fastlog.h" #include "aslider.h" +#include +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/aslider.h b/muse2/awl/aslider.h index 32fc89f9..9354e6c7 100644 --- a/muse2/awl/aslider.h +++ b/muse2/awl/aslider.h @@ -21,6 +21,11 @@ #ifndef __AWLASLIDER_H__ #define __AWLASLIDER_H__ +#include + +class QKeyEvent; +class QWheelEvent; + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/checkbox.h b/muse2/awl/checkbox.h index ac67fc57..94cc3db3 100644 --- a/muse2/awl/checkbox.h +++ b/muse2/awl/checkbox.h @@ -21,6 +21,8 @@ #ifndef __AWLCHECKBOX_H__ #define __AWLCHECKBOX_H__ +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/combobox.h b/muse2/awl/combobox.h index d335d993..1754338b 100644 --- a/muse2/awl/combobox.h +++ b/muse2/awl/combobox.h @@ -21,6 +21,8 @@ #ifndef __AWLCOMBOBOX_H__ #define __AWLCOMBOBOX_H__ +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/drawbar.cpp b/muse2/awl/drawbar.cpp index 18525ded..a82ed248 100644 --- a/muse2/awl/drawbar.cpp +++ b/muse2/awl/drawbar.cpp @@ -20,6 +20,8 @@ #include "drawbar.h" +#include + namespace Awl { #if 0 diff --git a/muse2/awl/floatentry.cpp b/muse2/awl/floatentry.cpp index 7831614f..471ec5a0 100644 --- a/muse2/awl/floatentry.cpp +++ b/muse2/awl/floatentry.cpp @@ -21,6 +21,10 @@ #include "floatentry.h" #include "fastlog.h" +#include +#include +#include + #define TIMER1 400 #define TIMER2 200 #define TIMEC 7 diff --git a/muse2/awl/floatentry.h b/muse2/awl/floatentry.h index a90232a9..16aa7c8c 100644 --- a/muse2/awl/floatentry.h +++ b/muse2/awl/floatentry.h @@ -21,6 +21,12 @@ #ifndef __FLOATLABEL_H__ #define __FLOATLABEL_H__ +#include + +class QMouseEvent; +class QTimer; +class QWheelEvent; + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/knob.cpp b/muse2/awl/knob.cpp index ccc3988e..00665d21 100644 --- a/muse2/awl/knob.cpp +++ b/muse2/awl/knob.cpp @@ -18,8 +18,13 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //============================================================================= +#include + #include "knob.h" +#include +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/midimeter.cpp b/muse2/awl/midimeter.cpp index 312e5efe..255232d7 100644 --- a/muse2/awl/midimeter.cpp +++ b/muse2/awl/midimeter.cpp @@ -21,6 +21,9 @@ #include "fastlog.h" #include "midimeter.h" +#include +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/midimslider.cpp b/muse2/awl/midimslider.cpp index 92325d4a..a4867044 100644 --- a/muse2/awl/midimslider.cpp +++ b/muse2/awl/midimslider.cpp @@ -21,6 +21,9 @@ #include "fastlog.h" #include "midimslider.h" +#include +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/mslider.cpp b/muse2/awl/mslider.cpp index 63c3ea4e..7424dfac 100644 --- a/muse2/awl/mslider.cpp +++ b/muse2/awl/mslider.cpp @@ -19,9 +19,11 @@ //============================================================================= #include "fastlog.h" - #include "mslider.h" +#include +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/pitchedit.cpp b/muse2/awl/pitchedit.cpp index 18136074..93f4b310 100644 --- a/muse2/awl/pitchedit.cpp +++ b/muse2/awl/pitchedit.cpp @@ -18,9 +18,13 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //============================================================================= +#include + #include "pitchedit.h" #include "utils.h" +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/pitchedit.h b/muse2/awl/pitchedit.h index dd0ba4c7..bdcfc4c4 100644 --- a/muse2/awl/pitchedit.h +++ b/muse2/awl/pitchedit.h @@ -21,6 +21,10 @@ #ifndef __AWLPITCHEDIT_H__ #define __AWLPITCHEDIT_H__ +#include + +class QKeyEvent; + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/pitchlabel.cpp b/muse2/awl/pitchlabel.cpp index 1d7149f6..d6e83515 100644 --- a/muse2/awl/pitchlabel.cpp +++ b/muse2/awl/pitchlabel.cpp @@ -22,6 +22,9 @@ #include "pitchlabel.h" #include "utils.h" +#include +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/pitchlabel.h b/muse2/awl/pitchlabel.h index 36a3cbfa..e5c34dba 100644 --- a/muse2/awl/pitchlabel.h +++ b/muse2/awl/pitchlabel.h @@ -21,6 +21,8 @@ #ifndef __AWLPITCHLABEL_H__ #define __AWLPITCHLABEL_H__ +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/posedit.cpp b/muse2/awl/posedit.cpp index 97f36a63..3d4abaab 100644 --- a/muse2/awl/posedit.cpp +++ b/muse2/awl/posedit.cpp @@ -23,8 +23,13 @@ #include "posedit.h" #include "al/sig.h" //#include "sig.h" - //#include "sync.h" // Tim. + +#include +#include +#include +#include + extern int mtcType; namespace Awl { diff --git a/muse2/awl/posedit.h b/muse2/awl/posedit.h index 5b04c640..09cfd6e3 100644 --- a/muse2/awl/posedit.h +++ b/muse2/awl/posedit.h @@ -24,6 +24,8 @@ ///#include "al/pos.h" #include "pos.h" +#include + namespace Awl { ///using AL::Pos; diff --git a/muse2/awl/sigedit.cpp b/muse2/awl/sigedit.cpp index 3e995a93..826182ca 100644 --- a/muse2/awl/sigedit.cpp +++ b/muse2/awl/sigedit.cpp @@ -24,6 +24,9 @@ #include "al/sig.h" //#include "sig.h" +#include +#include + namespace Awl { using AL::sigmap; diff --git a/muse2/awl/sigedit.h b/muse2/awl/sigedit.h index 35cb0f12..dd059ea2 100644 --- a/muse2/awl/sigedit.h +++ b/muse2/awl/sigedit.h @@ -24,6 +24,8 @@ #include "al/sig.h" //#include "sig.h" +#include + namespace AL { class TimeSignature; }; diff --git a/muse2/awl/slider.cpp b/muse2/awl/slider.cpp index 7686e850..00f3d925 100644 --- a/muse2/awl/slider.cpp +++ b/muse2/awl/slider.cpp @@ -20,6 +20,9 @@ #include "slider.h" +#include +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/tempoedit.cpp b/muse2/awl/tempoedit.cpp index d7dbac81..7bdc5c2d 100644 --- a/muse2/awl/tempoedit.cpp +++ b/muse2/awl/tempoedit.cpp @@ -18,8 +18,13 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //============================================================================= +#include + #include "tempoedit.h" +#include +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/tempoedit.h b/muse2/awl/tempoedit.h index af06221d..8ad83dc7 100644 --- a/muse2/awl/tempoedit.h +++ b/muse2/awl/tempoedit.h @@ -21,6 +21,8 @@ #ifndef __AWLTEMPOEDIT_H__ #define __AWLTEMPOEDIT_H__ +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/tempolabel.cpp b/muse2/awl/tempolabel.cpp index 3fcdec5c..fc4e8daa 100644 --- a/muse2/awl/tempolabel.cpp +++ b/muse2/awl/tempolabel.cpp @@ -20,6 +20,8 @@ #include "tempolabel.h" +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/tempolabel.h b/muse2/awl/tempolabel.h index cf30444e..df9abfcd 100644 --- a/muse2/awl/tempolabel.h +++ b/muse2/awl/tempolabel.h @@ -21,6 +21,8 @@ #ifndef __AWLTEMPOLABEL_H__ #define __AWLTEMPOLABEL_H__ +#include + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/volslider.cpp b/muse2/awl/volslider.cpp index 59f1b8cf..87997510 100644 --- a/muse2/awl/volslider.cpp +++ b/muse2/awl/volslider.cpp @@ -21,6 +21,8 @@ #include "fastlog.h" #include "volslider.h" +#include + namespace Awl { //--------------------------------------------------------- -- cgit v1.2.3