diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index 6a074873..058b0a13 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -18,15 +18,13 @@ #include #include #include -#include "PatchageCanvas.h" -#include "AlsaDriver.h" -#include "Patchage.h" -#include "PatchageModule.h" -#include "PatchagePort.h" - -using std::cerr; -using std::string; +#include "PatchageCanvas.hpp" +#include "AlsaDriver.hpp" +#include "Patchage.hpp" +#include "PatchageModule.hpp" +#include "PatchagePort.hpp" +using namespace std; using namespace FlowCanvas; AlsaDriver::AlsaDriver(Patchage* app) diff --git a/src/AlsaDriver.h b/src/AlsaDriver.hpp similarity index 98% rename from src/AlsaDriver.h rename to src/AlsaDriver.hpp index 2408d9dd..d251d781 100644 --- a/src/AlsaDriver.h +++ b/src/AlsaDriver.hpp @@ -23,7 +23,7 @@ #include #include #include -#include "Driver.h" +#include "Driver.hpp" class Patchage; class PatchagePort; class PatchageFlowCanvas; diff --git a/src/Driver.h b/src/Driver.hpp similarity index 96% rename from src/Driver.h rename to src/Driver.hpp index 7feb8ca7..5d0c59da 100644 --- a/src/Driver.h +++ b/src/Driver.hpp @@ -20,8 +20,8 @@ #include #include -#include -#include "PatchageEvent.h" +#include +#include "PatchageEvent.hpp" class PatchagePort; diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 45138301..e088590b 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -23,16 +23,14 @@ #include #include #include -#include -#include "PatchageCanvas.h" -#include "PatchageEvent.h" -#include "JackDriver.h" -#include "Patchage.h" -#include "PatchageModule.h" - -using std::cerr; using std::endl; -using std::string; +#include +#include "PatchageCanvas.hpp" +#include "PatchageEvent.hpp" +#include "JackDriver.hpp" +#include "Patchage.hpp" +#include "PatchageModule.hpp" +using namespace std; using namespace FlowCanvas; diff --git a/src/JackDriver.h b/src/JackDriver.hpp similarity index 97% rename from src/JackDriver.h rename to src/JackDriver.hpp index 1c039727..b66e4ee2 100644 --- a/src/JackDriver.h +++ b/src/JackDriver.hpp @@ -19,21 +19,18 @@ #define JACKDRIVER_H #include -#include #include #include #include #include -#include "raul/AtomicPtr.h" -#include "Driver.h" +#include +#include "Driver.hpp" class Patchage; class PatchageEvent; class PatchageFlowCanvas; class PatchagePort; class PatchageModule; -using std::string; - /** Handles all externally driven functionality, registering ports etc. * diff --git a/src/JackSettingsDialog.h b/src/JackSettingsDialog.hpp similarity index 100% rename from src/JackSettingsDialog.h rename to src/JackSettingsDialog.hpp diff --git a/src/LashDriver.cpp b/src/LashDriver.cpp index 114748ba..5c584449 100644 --- a/src/LashDriver.cpp +++ b/src/LashDriver.cpp @@ -15,15 +15,14 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "LashDriver.h" -#include "config.h" #include #include -#include "Patchage.h" -#include "StateManager.h" +#include "../../config/config.h" +#include "LashDriver.hpp" +#include "Patchage.hpp" +#include "StateManager.hpp" -using std::cerr; using std::cout; using std::endl; -using std::string; +using namespace std; LashDriver::LashDriver(Patchage* app, int argc, char** argv) diff --git a/src/LashDriver.h b/src/LashDriver.hpp similarity index 97% rename from src/LashDriver.h rename to src/LashDriver.hpp index 01215098..225c72fa 100644 --- a/src/LashDriver.h +++ b/src/LashDriver.hpp @@ -19,8 +19,8 @@ #define LASHDRIVER_H #include -#include -#include "Driver.h" +#include +#include "Driver.hpp" class Patchage; diff --git a/src/Patchage.cpp b/src/Patchage.cpp index b6e7f84a..a21e5781 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -17,27 +17,27 @@ #include #include -#include "Patchage.h" -#include "PatchageEvent.h" #include "../../config/config.h" #include #include #include #include -#include "StateManager.h" -#include "PatchageCanvas.h" #include -#include "JackDriver.h" -#include "JackSettingsDialog.h" +#include "Patchage.hpp" +#include "PatchageEvent.hpp" +#include "StateManager.hpp" +#include "PatchageCanvas.hpp" +#include "JackDriver.hpp" +#include "JackSettingsDialog.hpp" #ifdef HAVE_LASH -#include "LashDriver.h" +#include "LashDriver.hpp" #endif #ifdef HAVE_ALSA -#include "AlsaDriver.h" +#include "AlsaDriver.hpp" #endif // FIXME: include to avoid undefined reference to boost SP debug hooks stuff -#include +#include diff --git a/src/Patchage.h b/src/Patchage.hpp similarity index 100% rename from src/Patchage.h rename to src/Patchage.hpp diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp index 6c9e2c8e..22b4d1fb 100644 --- a/src/PatchageCanvas.cpp +++ b/src/PatchageCanvas.cpp @@ -15,15 +15,15 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include -#include "config.h" -#include "PatchageCanvas.h" -#include "Patchage.h" -#include "JackDriver.h" -#include "PatchageModule.h" -#include "PatchagePort.h" +#include +#include "../../config/config.h" +#include "PatchageCanvas.hpp" +#include "Patchage.hpp" +#include "JackDriver.hpp" +#include "PatchageModule.hpp" +#include "PatchagePort.hpp" #ifdef HAVE_ALSA -#include "AlsaDriver.h" +#include "AlsaDriver.hpp" #endif PatchageCanvas::PatchageCanvas(Patchage* app, int width, int height) diff --git a/src/PatchageCanvas.h b/src/PatchageCanvas.hpp similarity index 96% rename from src/PatchageCanvas.h rename to src/PatchageCanvas.hpp index 4ac5c625..fd662f13 100644 --- a/src/PatchageCanvas.h +++ b/src/PatchageCanvas.hpp @@ -23,8 +23,8 @@ #ifdef HAVE_ALSA #include #endif -#include -#include "StateManager.h" +#include +#include "StateManager.hpp" class Patchage; class PatchageModule; diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index 493050a4..f996495d 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -16,12 +16,12 @@ */ #include "../../config/config.h" -#include "raul/SharedPtr.h" -#include "Patchage.h" -#include "PatchageCanvas.h" -#include "PatchageModule.h" -#include "PatchageEvent.h" -#include "JackDriver.h" +#include +#include "Patchage.hpp" +#include "PatchageCanvas.hpp" +#include "PatchageModule.hpp" +#include "PatchageEvent.hpp" +#include "JackDriver.hpp" SharedPtr diff --git a/src/PatchageEvent.h b/src/PatchageEvent.hpp similarity index 98% rename from src/PatchageEvent.h rename to src/PatchageEvent.hpp index 24dd7ba2..ada47180 100644 --- a/src/PatchageEvent.h +++ b/src/PatchageEvent.hpp @@ -18,13 +18,12 @@ #ifndef PATCHAGEEVENT_H #define PATCHAGEEVENT_H -#include #include #include "../../config/config.h" #ifdef HAVE_ALSA #include #endif -#include "PatchagePort.h" +#include "PatchagePort.hpp" class Patchage; diff --git a/src/PatchageModule.h b/src/PatchageModule.hpp similarity index 95% rename from src/PatchageModule.h rename to src/PatchageModule.hpp index 131c86aa..244e7bf5 100644 --- a/src/PatchageModule.h +++ b/src/PatchageModule.hpp @@ -23,11 +23,11 @@ #ifdef HAVE_ALSA #include #endif -#include -#include -#include "PatchageCanvas.h" -#include "StateManager.h" -#include "PatchagePort.h" +#include +#include +#include "PatchageCanvas.hpp" +#include "StateManager.hpp" +#include "PatchagePort.hpp" using std::string; using std::list; diff --git a/src/PatchagePort.h b/src/PatchagePort.hpp similarity index 95% rename from src/PatchagePort.h rename to src/PatchagePort.hpp index 6109fbae..52fe7201 100644 --- a/src/PatchagePort.h +++ b/src/PatchagePort.hpp @@ -18,12 +18,13 @@ #ifndef PATCHAGEPORT_H #define PATCHAGEPORT_H -#include "config.h" +#include "../../config/config.h" #include #include -#include -#include #include +#include +#include + #ifdef HAVE_ALSA #include diff --git a/src/StateManager.cpp b/src/StateManager.cpp index 8ed3ac83..22fdb9a0 100644 --- a/src/StateManager.cpp +++ b/src/StateManager.cpp @@ -15,15 +15,14 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "StateManager.h" #include #include #include #include -#include "Patchage.h" +#include "StateManager.hpp" +#include "Patchage.hpp" -using std::map; using std::list; -using std::cerr; using std::cout; using std::endl; +using namespace std; StateManager::StateManager() diff --git a/src/StateManager.h b/src/StateManager.hpp similarity index 98% rename from src/StateManager.h rename to src/StateManager.hpp index d7065dd6..af89944d 100644 --- a/src/StateManager.h +++ b/src/StateManager.hpp @@ -22,7 +22,7 @@ #include #include #include -#include "PatchagePort.h" +#include "PatchagePort.hpp" using std::string; using std::list; using std::map; diff --git a/src/main.cpp b/src/main.cpp index c17e3e06..b7bfc367 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,14 +15,14 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" +#include "../../config/config.h" #include #include #include -#include "Patchage.h" -#include "JackDriver.h" +#include "Patchage.hpp" +#include "JackDriver.hpp" #ifdef HAVE_LASH #include