summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.h
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-09-26 10:58:07 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-09-26 10:58:07 +0100
commita88f38cf10de7c04bf49f599676c03c888dd01e0 (patch)
tree935ae3eb6305d85ac63da4cbcfb2d84bb9056649 /gtk2_ardour/option_editor.h
parent70dcf7878b1f6084a5787c4a4d636f93deb4c871 (diff)
'gtk2_ardour (msvc)' - Some changes needed before anything at all will compile
For the most part, the compilation problems are caused by lines such as:- WM::Proxy<ThemeManager> theme_manager; Before MSVC will compile the above it needs to know that the specified object type contains an appropriate (i.e. publicly available) default c'tor. Therefore the corresponding header file needs to get #included, rather than just declaring that type to be a class (whilst all classes have a default c'tor, it needn't necessarily be public). The remaining changes are mostly minor. This commit should be tested ASAP to make sure it doesn't upset the other compilers.
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r--gtk2_ardour/option_editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h
index 2073da530d..223fd8edbf 100644
--- a/gtk2_ardour/option_editor.h
+++ b/gtk2_ardour/option_editor.h
@@ -30,6 +30,9 @@
#include "audio_clock.h"
#include "ardour/types.h"
+using namespace Glib;
+using namespace Gtk;
+
/** @file option_editor.h
* @brief Base class for option editing dialog boxes.
*