DnDTreeview: allow to handle multiple drag-targets
[ardour.git] / gtk2_ardour / fft_result.h
index c6c952db1c348ae19740c7000cc0cf173915a6f8..ddf2bb18424fdd04568b4b817960dbb013685fde 100644 (file)
@@ -21,7 +21,6 @@
 #ifndef __ardour_fft_result_h
 #define __ardour_fft_result_h
 
-#include <ardour/types.h>
 #include <fftw3.h>
 
 #include <gdkmm/color.h>
@@ -33,26 +32,26 @@ class FFTGraph;
 class FFTResult
 {
        public:
-               
+
                ~FFTResult();
 
                void analyzeWindow(float *window);
                void finalize();
 
-               const int length() { return _dataSize; }
+               int length() const { return _dataSize; }
 
                float avgAt(int x);
                float maxAt(int x);
                float minAt(int x);
-               
-               const float minimum() { return _minimum; }
-               const float maximum() { return _maximum; }
-               
-               const Gdk::Color get_color() { return _color; }
-               
+
+               float minimum() const { return _minimum; }
+               float maximum() const { return _maximum; }
+
+               Gdk::Color get_color() const { return _color; }
+
        private:
                FFTResult(FFTGraph *graph, Gdk::Color color, std::string trackname);
-               
+
                int     _averages;
 
                float*  _data_avg;
@@ -68,10 +67,10 @@ class FFTResult
                float   _maximum;
 
                FFTGraph *_graph;
-               
+
                Gdk::Color _color;
                std::string _trackname;
-               
+
        friend class FFTGraph;
 };