Consistently rename all C++ files .cpp/.hpp.

Fix (some) inclusion guard names to not clash with other libs.


git-svn-id: http://svn.drobilla.net/lad/patchage@613 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
drobilla 2007-07-24 19:26:47 +00:00
parent 1c727aa229
commit a85b4cf9cb
19 changed files with 67 additions and 76 deletions

View File

@ -18,15 +18,13 @@
#include <string>
#include <iostream>
#include <cassert>
#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)

View File

@ -23,7 +23,7 @@
#include <pthread.h>
#include <queue>
#include <string>
#include "Driver.h"
#include "Driver.hpp"
class Patchage;
class PatchagePort;
class PatchageFlowCanvas;

View File

@ -20,8 +20,8 @@
#include <boost/shared_ptr.hpp>
#include <sigc++/sigc++.h>
#include <raul/SRSWQueue.h>
#include "PatchageEvent.h"
#include <raul/SRSWQueue.hpp>
#include "PatchageEvent.hpp"
class PatchagePort;

View File

@ -23,16 +23,14 @@
#include <jack/jack.h>
#include <jack/statistics.h>
#include <jack/thread.h>
#include <raul/SharedPtr.h>
#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 <raul/SharedPtr.hpp>
#include "PatchageCanvas.hpp"
#include "PatchageEvent.hpp"
#include "JackDriver.hpp"
#include "Patchage.hpp"
#include "PatchageModule.hpp"
using namespace std;
using namespace FlowCanvas;

View File

@ -19,21 +19,18 @@
#define JACKDRIVER_H
#include <iostream>
#include <string>
#include <boost/shared_ptr.hpp>
#include <jack/jack.h>
#include <jack/statistics.h>
#include <glibmm/thread.h>
#include "raul/AtomicPtr.h"
#include "Driver.h"
#include <raul/AtomicPtr.hpp>
#include "Driver.hpp"
class Patchage;
class PatchageEvent;
class PatchageFlowCanvas;
class PatchagePort;
class PatchageModule;
using std::string;
/** Handles all externally driven functionality, registering ports etc.
*

View File

@ -15,15 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "LashDriver.h"
#include "config.h"
#include <iostream>
#include <string>
#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)

View File

@ -19,8 +19,8 @@
#define LASHDRIVER_H
#include <lash/lash.h>
#include <raul/LashServerInterface.h>
#include "Driver.h"
#include <raul/LashServerInterface.hpp>
#include "Driver.hpp"
class Patchage;

View File

@ -17,27 +17,27 @@
#include <cmath>
#include <sstream>
#include "Patchage.h"
#include "PatchageEvent.h"
#include "../../config/config.h"
#include <libgnomecanvasmm.h>
#include <libglademm/xml.h>
#include <fstream>
#include <pthread.h>
#include "StateManager.h"
#include "PatchageCanvas.h"
#include <jack/statistics.h>
#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 <raul/SharedPtr.h>
#include <raul/SharedPtr.hpp>

View File

@ -15,15 +15,15 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <raul/SharedPtr.h>
#include "config.h"
#include "PatchageCanvas.h"
#include "Patchage.h"
#include "JackDriver.h"
#include "PatchageModule.h"
#include "PatchagePort.h"
#include <raul/SharedPtr.hpp>
#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)

View File

@ -23,8 +23,8 @@
#ifdef HAVE_ALSA
#include <alsa/asoundlib.h>
#endif
#include <flowcanvas/Canvas.h>
#include "StateManager.h"
#include <flowcanvas/Canvas.hpp>
#include "StateManager.hpp"
class Patchage;
class PatchageModule;

View File

@ -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 <raul/SharedPtr.hpp>
#include "Patchage.hpp"
#include "PatchageCanvas.hpp"
#include "PatchageModule.hpp"
#include "PatchageEvent.hpp"
#include "JackDriver.hpp"
SharedPtr<PatchagePort>

View File

@ -18,13 +18,12 @@
#ifndef PATCHAGEEVENT_H
#define PATCHAGEEVENT_H
#include <string>
#include <jack/jack.h>
#include "../../config/config.h"
#ifdef HAVE_ALSA
#include <alsa/asoundlib.h>
#endif
#include "PatchagePort.h"
#include "PatchagePort.hpp"
class Patchage;

View File

@ -23,11 +23,11 @@
#ifdef HAVE_ALSA
#include <alsa/asoundlib.h>
#endif
#include <flowcanvas/Canvas.h>
#include <flowcanvas/Module.h>
#include "PatchageCanvas.h"
#include "StateManager.h"
#include "PatchagePort.h"
#include <flowcanvas/Canvas.hpp>
#include <flowcanvas/Module.hpp>
#include "PatchageCanvas.hpp"
#include "StateManager.hpp"
#include "PatchagePort.hpp"
using std::string; using std::list;

View File

@ -18,12 +18,13 @@
#ifndef PATCHAGEPORT_H
#define PATCHAGEPORT_H
#include "config.h"
#include "../../config/config.h"
#include <string>
#include <list>
#include <flowcanvas/Port.h>
#include <flowcanvas/Module.h>
#include <boost/shared_ptr.hpp>
#include <flowcanvas/Port.hpp>
#include <flowcanvas/Module.hpp>
#ifdef HAVE_ALSA
#include <alsa/asoundlib.h>

View File

@ -15,15 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "StateManager.h"
#include <stdexcept>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#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()

View File

@ -22,7 +22,7 @@
#include <list>
#include <map>
#include <iostream>
#include "PatchagePort.h"
#include "PatchagePort.hpp"
using std::string; using std::list; using std::map;

View File

@ -15,14 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "../../config/config.h"
#include <iostream>
#include <libgnomecanvasmm.h>
#include <glibmm/exception.h>
#include "Patchage.h"
#include "JackDriver.h"
#include "Patchage.hpp"
#include "JackDriver.hpp"
#ifdef HAVE_LASH
#include <lash/lash.h>