namespace and filename cleanup

This commit is contained in:
Paul Davis
2015-11-24 20:12:01 -05:00
parent 71520c7432
commit 9106512000
5 changed files with 12 additions and 1 deletions

View File

@@ -48,6 +48,7 @@
#include "faderport.h"
using namespace ARDOUR;
using namespace ArdourSurface;
using namespace PBD;
using namespace Glib;
using namespace std;

View File

@@ -61,6 +61,8 @@ class MIDIControllable;
class MIDIFunction;
class MIDIAction;
namespace ArdourSurface {
class FaderPort : public ARDOUR::ControlProtocol {
public:
FaderPort (ARDOUR::Session&);
@@ -166,4 +168,6 @@ class FaderPort : public ARDOUR::ControlProtocol {
std::map<int,ButtonID> buttons;
};
}
#endif /* ardour_surface_faderport_h */

View File

@@ -23,6 +23,7 @@
#include "faderport.h"
using namespace ARDOUR;
using namespace ArdourSurface;
static ControlProtocol*
new_faderport_midi_protocol (ControlProtocolDescriptor* /*descriptor*/, Session* s)

View File

@@ -35,6 +35,8 @@
#include "i18n.h"
namespace ArdourSurface {
class GMCPGUI : public Gtk::VBox
{
public:
@@ -56,8 +58,11 @@ private:
void threshold_changed ();
};
}
using namespace PBD;
using namespace ARDOUR;
using namespace ArdourSurface;
using namespace std;
using namespace Gtk;
using namespace Gtkmm2ext;

View File

@@ -16,7 +16,7 @@ def build(bld):
obj = bld(features = 'cxx cxxshlib')
obj.source = '''
faderport.cc
fmcp_gui.cc
gui.cc
faderport_interface.cc
'''
obj.export_includes = ['.']