summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--raul/Array.hpp (renamed from raul/Array.h)10
-rw-r--r--raul/Atom.hpp (renamed from raul/Atom.h)6
-rw-r--r--raul/AtomLiblo.hpp (renamed from raul/AtomLiblo.h)8
-rw-r--r--raul/AtomRedland.hpp (renamed from raul/AtomRedland.h)8
-rw-r--r--raul/AtomicInt.hpp (renamed from raul/AtomicInt.h)6
-rw-r--r--raul/AtomicPtr.hpp (renamed from raul/AtomicPtr.h)6
-rw-r--r--raul/Deletable.hpp (renamed from raul/Deletable.h)6
-rw-r--r--raul/DoubleBuffer.hpp (renamed from raul/DoubleBuffer.h)10
-rw-r--r--raul/JackDriver.hpp (renamed from raul/JackDriver.h)6
-rw-r--r--raul/LashClient.hpp (renamed from raul/LashClient.h)8
-rw-r--r--raul/LashProject.hpp (renamed from raul/LashProject.h)12
-rw-r--r--raul/LashServerInterface.hpp (renamed from raul/LashServerInterface.h)12
-rw-r--r--raul/List.hpp (renamed from raul/List.h)12
-rw-r--r--raul/MIDISink.hpp (renamed from raul/MIDISink.h)10
-rw-r--r--raul/Maid.hpp (renamed from raul/Maid.h)14
-rw-r--r--raul/Makefile.am70
-rw-r--r--raul/Namespaces.hpp (renamed from raul/Namespaces.h)6
-rw-r--r--raul/Path.hpp (renamed from raul/Path.h)6
-rw-r--r--raul/Process.hpp (renamed from raul/Process.h)6
-rw-r--r--raul/Quantizer.hpp (renamed from raul/Quantizer.h)6
-rw-r--r--raul/RDFModel.hpp (renamed from raul/RDFModel.h)12
-rw-r--r--raul/RDFNode.hpp (renamed from raul/RDFNode.h)8
-rw-r--r--raul/RDFQuery.hpp (renamed from raul/RDFQuery.h)10
-rw-r--r--raul/RDFWorld.hpp (renamed from raul/RDFWorld.h)10
-rw-r--r--raul/RingBuffer.hpp (renamed from raul/RingBuffer.h)6
-rw-r--r--raul/SMFReader.hpp (renamed from raul/SMFReader.h)6
-rw-r--r--raul/SMFWriter.hpp (renamed from raul/SMFWriter.h)8
-rw-r--r--raul/SRMWQueue.hpp (renamed from raul/SRMWQueue.h)8
-rw-r--r--raul/SRSWQueue.hpp (renamed from raul/SRSWQueue.h)8
-rw-r--r--raul/Semaphore.hpp (renamed from raul/Semaphore.h)6
-rw-r--r--raul/SharedPtr.hpp (renamed from raul/SharedPtr.h)6
-rw-r--r--raul/Slave.hpp (renamed from raul/Slave.h)10
-rw-r--r--raul/StampedChunkRingBuffer.hpp (renamed from raul/StampedChunkRingBuffer.h)10
-rw-r--r--raul/Stateful.hpp (renamed from raul/Stateful.h)2
-rw-r--r--raul/Thread.hpp (renamed from raul/Thread.h)6
-rw-r--r--raul/TimeSlice.hpp (renamed from raul/TimeSlice.h)8
-rw-r--r--raul/WeakPtr.hpp (renamed from raul/WeakPtr.h)6
-rw-r--r--raul/midi_events.h6
-rw-r--r--raul/midi_names.h14
-rw-r--r--raul/types.hpp (renamed from raul/types.h)6
-rw-r--r--src/JackDriver.cpp2
-rw-r--r--src/LashClient.cpp2
-rw-r--r--src/LashProject.cpp2
-rw-r--r--src/LashServerInterface.cpp2
-rw-r--r--src/Maid.cpp4
-rw-r--r--src/Namespaces.cpp2
-rw-r--r--src/Path.cpp2
-rw-r--r--src/RDFModel.cpp8
-rw-r--r--src/RDFNode.cpp4
-rw-r--r--src/RDFQuery.cpp4
-rw-r--r--src/RDFWorld.cpp6
-rw-r--r--src/SMFReader.cpp4
-rw-r--r--src/SMFWriter.cpp2
-rw-r--r--src/Thread.cpp2
-rw-r--r--src/TimeSlice.cpp2
55 files changed, 220 insertions, 212 deletions
diff --git a/raul/Array.h b/raul/Array.hpp
index aa6aa70..b972b87 100644
--- a/raul/Array.h
+++ b/raul/Array.hpp
@@ -15,13 +15,13 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_ARRAY_H
-#define RAUL_ARRAY_H
+#ifndef RAUL_ARRAY_HPP
+#define RAUL_ARRAY_HPP
#include <cassert>
#include <cstdlib>
-#include "types.h"
-#include "Deletable.h"
+#include "types.hpp"
+#include "Deletable.hpp"
namespace Raul {
@@ -107,4 +107,4 @@ private:
} // namespace Raul
-#endif // RAUL_ARRAY_H
+#endif // RAUL_ARRAY_HPP
diff --git a/raul/Atom.h b/raul/Atom.hpp
index 2b9d800..4b9e6a8 100644
--- a/raul/Atom.h
+++ b/raul/Atom.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_ATOM_H
-#define RAUL_ATOM_H
+#ifndef RAUL_ATOM_HPP
+#define RAUL_ATOM_HPP
#include <cstdlib>
#include <cassert>
@@ -133,4 +133,4 @@ private:
} // namespace Raul
-#endif // RAUL_ATOM_H
+#endif // RAUL_ATOM_HPP
diff --git a/raul/AtomLiblo.h b/raul/AtomLiblo.hpp
index eecc417..88adf1a 100644
--- a/raul/AtomLiblo.h
+++ b/raul/AtomLiblo.hpp
@@ -15,11 +15,11 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_ATOM_LIBLO_H
-#define RAUL_ATOM_LIBLO_H
+#ifndef RAUL_ATOM_LIBLO_HPP
+#define RAUL_ATOM_LIBLO_HPP
#include <lo/lo.h>
-#include "raul/Atom.h"
+#include <raul/Atom.hpp>
namespace Raul {
@@ -77,4 +77,4 @@ public:
} // namespace Raul
-#endif // RAUL_ATOM_LIBLO_H
+#endif // RAUL_ATOM_LIBLO_HPP
diff --git a/raul/AtomRedland.h b/raul/AtomRedland.hpp
index ae4e3b4..09bf276 100644
--- a/raul/AtomRedland.h
+++ b/raul/AtomRedland.hpp
@@ -15,14 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_ATOM_REDLAND_H
-#define RAUL_ATOM_REDLAND_H
+#ifndef RAUL_ATOM_REDLAND_HPP
+#define RAUL_ATOM_REDLAND_HPP
#include <iostream>
#include <sstream>
#include <cstring>
#include <librdf.h>
-#include "raul/Atom.h"
+#include <raul/Atom.hpp>
using std::cerr; using std::endl;
#define U(x) ((const unsigned char*)(x))
@@ -104,4 +104,4 @@ public:
} // namespace Raul
-#endif // RAUL_ATOM_REDLAND_H
+#endif // RAUL_ATOM_REDLAND_HPP
diff --git a/raul/AtomicInt.h b/raul/AtomicInt.hpp
index d83a63b..70191cb 100644
--- a/raul/AtomicInt.h
+++ b/raul/AtomicInt.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_ATOMIC_INT_H
-#define RAUL_ATOMIC_INT_H
+#ifndef RAUL_ATOMIC_INT_HPP
+#define RAUL_ATOMIC_INT_HPP
#include <glib.h>
@@ -81,4 +81,4 @@ private:
} // namespace Raul
-#endif // RAUL_ATOMIC_INT_H
+#endif // RAUL_ATOMIC_INT_HPP
diff --git a/raul/AtomicPtr.h b/raul/AtomicPtr.hpp
index bc24f59..82be18a 100644
--- a/raul/AtomicPtr.h
+++ b/raul/AtomicPtr.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_ATOMIC_PTR_H
-#define RAUL_ATOMIC_PTR_H
+#ifndef RAUL_ATOMIC_PTR_HPP
+#define RAUL_ATOMIC_PTR_HPP
#include <glib.h>
@@ -50,4 +50,4 @@ private:
} // namespace Raul
-#endif // RAUL_ATOMIC_PTR_H
+#endif // RAUL_ATOMIC_PTR_HPP
diff --git a/raul/Deletable.h b/raul/Deletable.hpp
index 1e47279..6431c36 100644
--- a/raul/Deletable.h
+++ b/raul/Deletable.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_DELETABLE_H
-#define RAUL_DELETABLE_H
+#ifndef RAUL_DELETABLE_HPP
+#define RAUL_DELETABLE_HPP
namespace Raul {
@@ -35,4 +35,4 @@ public:
} // namespace Raul
-#endif // RAUL_DELETABLE_H
+#endif // RAUL_DELETABLE_HPP
diff --git a/raul/DoubleBuffer.h b/raul/DoubleBuffer.hpp
index 8b0f340..dd50e6a 100644
--- a/raul/DoubleBuffer.h
+++ b/raul/DoubleBuffer.hpp
@@ -15,12 +15,12 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_DOUBLE_BUFFER_H
-#define RAUL_DOUBLE_BUFFER_H
+#ifndef RAUL_DOUBLE_BUFFER_HPP
+#define RAUL_DOUBLE_BUFFER_HPP
#include <boost/utility.hpp>
-#include <raul/AtomicInt.h>
-#include <raul/AtomicPtr.h>
+#include <raul/AtomicInt.hpp>
+#include <raul/AtomicPtr.hpp>
namespace Raul {
@@ -94,4 +94,4 @@ private:
} // namespace Raul
-#endif // RAUL_DOUBLE_BUFFER_H
+#endif // RAUL_DOUBLE_BUFFER_HPP
diff --git a/raul/JackDriver.h b/raul/JackDriver.hpp
index 844f109..d939cb4 100644
--- a/raul/JackDriver.h
+++ b/raul/JackDriver.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_JACKDRIVER_H
-#define RAUL_JACKDRIVER_H
+#ifndef RAUL_JACK_DRIVER_HPP
+#define RAUL_JACK_DRIVER_HPP
#include <iostream>
#include <string>
@@ -119,4 +119,4 @@ private:
} // namespace Raul
-#endif // RAUL_JACKDRIVER_H
+#endif // RAUL_JACK_DRIVER_HPP
diff --git a/raul/LashClient.h b/raul/LashClient.hpp
index 1325bc8..69ab618 100644
--- a/raul/LashClient.h
+++ b/raul/LashClient.hpp
@@ -15,13 +15,13 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_LASH_CLIENT_H
-#define RAUL_LASH_CLIENT_H
+#ifndef RAUL_LASH_CLIENT_HPP
+#define RAUL_LASH_CLIENT_HPP
#include <string>
#include <boost/enable_shared_from_this.hpp>
#include <lash/lash.h>
-#include <raul/SharedPtr.h>
+#include <raul/SharedPtr.hpp>
namespace Raul {
@@ -56,5 +56,5 @@ protected:
} // namespace Raul
-#endif // RAUL_LASH_CLIENT_H
+#endif // RAUL_LASH_CLIENT_HPP
diff --git a/raul/LashProject.h b/raul/LashProject.hpp
index 93a2163..ae641a5 100644
--- a/raul/LashProject.h
+++ b/raul/LashProject.hpp
@@ -15,14 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_LASH_PROJECT_H
-#define RAUL_LASH_PROJECT_H
+#ifndef RAUL_LASH_PROJECT_HPP
+#define RAUL_LASH_PROJECT_HPP
#include <string>
#include <sigc++/sigc++.h>
-#include <raul/SharedPtr.h>
-#include <raul/WeakPtr.h>
-#include <raul/LashClient.h>
+#include <raul/SharedPtr.hpp>
+#include <raul/WeakPtr.hpp>
+#include <raul/LashClient.hpp>
namespace Raul {
@@ -56,5 +56,5 @@ private:
} // namespace Raul
-#endif // RAUL_LASH_PROJECT_H
+#endif // RAUL_LASH_PROJECT_HPP
diff --git a/raul/LashServerInterface.h b/raul/LashServerInterface.hpp
index 9a2d332..be47ef3 100644
--- a/raul/LashServerInterface.h
+++ b/raul/LashServerInterface.hpp
@@ -15,15 +15,15 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_LASH_SERVER_INTERFACE_H
-#define RAUL_LASH_SERVER_INTERFACE_H
+#ifndef RAUL_LASH_SERVER_INTERFACE_HPP
+#define RAUL_LASH_SERVER_INTERFACE_HPP
#include <string>
#include <list>
#include <lash/lash.h>
-#include <raul/LashClient.h>
-#include <raul/LashProject.h>
-#include <raul/SharedPtr.h>
+#include <raul/LashClient.hpp>
+#include <raul/LashProject.hpp>
+#include <raul/SharedPtr.hpp>
#include <sigc++/sigc++.h>
@@ -59,5 +59,5 @@ private:
} // namespace Raul
-#endif // RAUL_LASH_SERVER_INTERFACE_H
+#endif // RAUL_LASH_SERVER_INTERFACE_HPP
diff --git a/raul/List.h b/raul/List.hpp
index 79748ba..d3f4707 100644
--- a/raul/List.h
+++ b/raul/List.hpp
@@ -15,14 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_LIST_H
-#define RAUL_LIST_H
+#ifndef RAUL_LIST_HPP
+#define RAUL_LIST_HPP
#include <cstddef>
#include <cassert>
-#include "Deletable.h"
-#include "AtomicPtr.h"
-#include "AtomicInt.h"
+#include <raul/Deletable.hpp>
+#include <raul/AtomicPtr.hpp>
+#include <raul/AtomicInt.hpp>
namespace Raul {
@@ -541,4 +541,4 @@ List<T>::end() const
} // namespace Raul
-#endif // RAUL_LIST_H
+#endif // RAUL_LIST_HPP
diff --git a/raul/MIDISink.h b/raul/MIDISink.hpp
index fe5f4e8..6955911 100644
--- a/raul/MIDISink.h
+++ b/raul/MIDISink.hpp
@@ -15,12 +15,12 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_MIDISINK_H
-#define RAUL_MIDISINK_H
+#ifndef RAUL_MIDI_SINK_HPP
+#define RAUL_MIDI_SINK_HPP
#include <stdexcept>
-#include <raul/TimeSlice.h>
-#include <raul/Deletable.h>
+#include <raul/TimeSlice.hpp>
+#include <raul/Deletable.hpp>
namespace Raul {
@@ -37,5 +37,5 @@ public:
} // namespace Raul
-#endif // RAUL_MIDISINK_H
+#endif // RAUL_MIDI_SINK_HPP
diff --git a/raul/Maid.h b/raul/Maid.hpp
index f8f6c29..0643062 100644
--- a/raul/Maid.h
+++ b/raul/Maid.hpp
@@ -15,14 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_MAID_H
-#define RAUL_MAID_H
+#ifndef RAUL_MAID_HPP
+#define RAUL_MAID_HPP
#include <boost/utility.hpp>
-#include "raul/SharedPtr.h"
-#include "raul/SRSWQueue.h"
-#include "raul/Deletable.h"
-#include "raul/List.h"
+#include <raul/SharedPtr.hpp>
+#include <raul/SRSWQueue.hpp>
+#include <raul/Deletable.hpp>
+#include <raul/List.hpp>
namespace Raul {
@@ -72,5 +72,5 @@ private:
} // namespace Raul
-#endif // RAUL_MAID_H
+#endif // RAUL_MAID_HPP
diff --git a/raul/Makefile.am b/raul/Makefile.am
index 82c69de..77df449 100644
--- a/raul/Makefile.am
+++ b/raul/Makefile.am
@@ -1,48 +1,48 @@
raulincludedir = $(includedir)/raul
raulinclude_HEADERS = \
- Array.h \
- Atom.h \
- AtomicInt.h \
- AtomicPtr.h \
- Deletable.h \
- DoubleBuffer.h \
- JackDriver.h \
- List.h \
- StampedChunkRingBuffer.h \
- MIDISink.h \
- Maid.h \
- Namespaces.h \
- Path.h \
- Process.h \
- Quantizer.h \
- RDFModel.h \
- RDFNode.h \
- RDFQuery.h \
- RDFWorld.h \
- RingBuffer.h \
- SMFReader.h \
- SMFWriter.h \
- SRMWQueue.h \
- SRSWQueue.h \
- Semaphore.h \
- SharedPtr.h \
- Slave.h \
- Stateful.h \
- Thread.h \
- TimeSlice.h \
- WeakPtr.h \
+ Array.hpp \
+ Atom.hpp \
+ AtomicInt.hpp \
+ AtomicPtr.hpp \
+ Deletable.hpp \
+ DoubleBuffer.hpp \
+ JackDriver.hpp \
+ List.hpp \
+ MIDISink.hpp \
+ Maid.hpp \
+ Namespaces.hpp \
+ Path.hpp \
+ Process.hpp \
+ Quantizer.hpp \
+ RDFModel.hpp \
+ RDFNode.hpp \
+ RDFQuery.hpp \
+ RDFWorld.hpp \
+ RingBuffer.hpp \
+ SMFReader.hpp \
+ SMFWriter.hpp \
+ SRMWQueue.hpp \
+ SRSWQueue.hpp \
+ Semaphore.hpp \
+ SharedPtr.hpp \
+ Slave.hpp \
+ StampedChunkRingBuffer.hpp \
+ Stateful.hpp \
+ Thread.hpp \
+ TimeSlice.hpp \
+ WeakPtr.hpp \
midi_events.h \
- types.h
+ types.hpp
if WITH_LIBLO
-raulinclude_HEADERS += AtomLiblo.h
+raulinclude_HEADERS += AtomLiblo.hpp
endif
if WITH_REDLAND
-raulinclude_HEADERS += AtomRedland.h
+raulinclude_HEADERS += AtomRedland.hpp
endif
if WITH_LASH
-raulinclude_HEADERS += LashClient.h LashServerInterface.h LashProject.h
+raulinclude_HEADERS += LashClient.hpp LashServerInterface.hpp LashProject.hpp
endif
diff --git a/raul/Namespaces.h b/raul/Namespaces.hpp
index 673bbd5..abaa838 100644
--- a/raul/Namespaces.h
+++ b/raul/Namespaces.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_NAMESPACES_H
-#define RAUL_NAMESPACES_H
+#ifndef RAUL_NAMESPACES_HPP
+#define RAUL_NAMESPACES_HPP
#include <map>
#include <string>
@@ -34,4 +34,4 @@ public:
} // namespace Raul
-#endif // RAUL_NAMESPACES_H
+#endif // RAUL_NAMESPACES_HPP
diff --git a/raul/Path.h b/raul/Path.hpp
index 5a8fbb8..5776309 100644
--- a/raul/Path.h
+++ b/raul/Path.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_PATH_H
-#define RAUL_PATH_H
+#ifndef RAUL_PATH_HPP
+#define RAUL_PATH_HPP
#include <cctype>
#include <string>
@@ -125,4 +125,4 @@ public:
} // namespace Raul
-#endif // RAUL_PATH_H
+#endif // RAUL_PATH_HPP
diff --git a/raul/Process.h b/raul/Process.hpp
index 7e14566..80063a1 100644
--- a/raul/Process.h
+++ b/raul/Process.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_PROCESS_H
-#define RAUL_PROCESS_H
+#ifndef RAUL_PROCESS_HPP
+#define RAUL_PROCESS_HPP
#include <string>
#include <iostream>
@@ -89,4 +89,4 @@ private:
} // namespace Raul
-#endif // RAUL_PROCESS_H
+#endif // RAUL_PROCESS_HPP
diff --git a/raul/Quantizer.h b/raul/Quantizer.hpp
index 350e2e2..13a5cb1 100644
--- a/raul/Quantizer.h
+++ b/raul/Quantizer.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_QUANTIZER_H
-#define RAUL_QUANTIZER_H
+#ifndef RAUL_QUANTIZER_HPP
+#define RAUL_QUANTIZER_HPP
#include <cmath>
@@ -33,4 +33,4 @@ public:
} // namespace Raul
-#endif // RAUL_QUANTIZER_H
+#endif // RAUL_QUANTIZER_HPP
diff --git a/raul/RDFModel.h b/raul/RDFModel.hpp
index 35910b5..d6f224e 100644
--- a/raul/RDFModel.h
+++ b/raul/RDFModel.hpp
@@ -15,17 +15,17 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RDFMODEL_H
-#define RDFMODEL_H
+#ifndef RAUL_RDF_MODEL_HPP
+#define RAUL_RDF_MODEL_HPP
#include <stdexcept>
#include <string>
#include <librdf.h>
#include <glibmm/ustring.h>
#include <boost/utility.hpp>
-#include "raul/Namespaces.h"
-#include "raul/Atom.h"
-#include "raul/RDFNode.h"
+#include <raul/Namespaces.hpp>
+#include <raul/Atom.hpp>
+#include <raul/RDFNode.hpp>
namespace Raul {
@@ -79,4 +79,4 @@ private:
} // namespace RDF
} // namespace Raul
-#endif // RDFMODEL_H
+#endif // RAUL_RDF_MODEL_HPP
diff --git a/raul/RDFNode.h b/raul/RDFNode.hpp
index 2213b5d..8a09699 100644
--- a/raul/RDFNode.h
+++ b/raul/RDFNode.hpp
@@ -15,13 +15,13 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RDFNODE_H
-#define RDFNODE_H
+#ifndef RAUL_RDF_NODE_HPP
+#define RAUL_RDF_NODE_HPP
#include <stdexcept>
#include <string>
#include <librdf.h>
-#include "raul/Atom.h"
+#include <raul/Atom.hpp>
namespace Raul {
namespace RDF {
@@ -76,4 +76,4 @@ private:
} // namespace RDF
} // namespace Raul
-#endif // RDFNODE_H
+#endif // RAUL_RDF_NODE_HPP
diff --git a/raul/RDFQuery.h b/raul/RDFQuery.hpp
index eef52bd..76ae128 100644
--- a/raul/RDFQuery.h
+++ b/raul/RDFQuery.hpp
@@ -15,14 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_RDFQUERY_H
-#define RAUL_RDFQUERY_H
+#ifndef RAUL_RDF_QUERY_HPP
+#define RAUL_RDF_QUERY_HPP
#include <map>
#include <list>
#include <glibmm/ustring.h>
-#include "raul/RDFWorld.h"
-#include "raul/Namespaces.h"
+#include <raul/RDFWorld.hpp>
+#include <raul/Namespaces.hpp>
namespace Raul {
namespace RDF {
@@ -64,5 +64,5 @@ private:
} // namespace RDF
} // namespace Raul
-#endif // RAUL_RDFQUERY_H
+#endif // RAUL_RDF_QUERY_HPP
diff --git a/raul/RDFWorld.h b/raul/RDFWorld.hpp
index 8bbd3d1..7e3833f 100644
--- a/raul/RDFWorld.h
+++ b/raul/RDFWorld.hpp
@@ -15,15 +15,15 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RDFWORLD_H
-#define RDFWORLD_H
+#ifndef RAUL_RDF_WORLD_HPP
+#define RAUL_RDF_WORLD_HPP
#include <stdexcept>
#include <string>
#include <librdf.h>
#include <boost/utility.hpp>
-#include "raul/Namespaces.h"
-#include "raul/RDFNode.h"
+#include <raul/Namespaces.hpp>
+#include <raul/RDFNode.hpp>
namespace Raul {
namespace RDF {
@@ -57,4 +57,4 @@ private:
} // namespace RDF
} // namespace Raul
-#endif // RDFWORLD_H
+#endif // RAUL_RDF_WORLD_HPP
diff --git a/raul/RingBuffer.h b/raul/RingBuffer.hpp
index beaf957..b746bce 100644
--- a/raul/RingBuffer.h
+++ b/raul/RingBuffer.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL__RING_BUFFER_H
-#define RAUL__RING_BUFFER_H
+#ifndef RAUL_RING_BUFFER_HPP
+#define RAUL_RING_BUFFER_HPP
#include <cassert>
#include <glib.h>
@@ -159,5 +159,5 @@ RingBuffer<T>::full_read(size_t size, T* dst)
} // namespace Raul
-#endif // RAUL_RING_BUFFER_H
+#endif // RAUL_RING_BUFFER_HPP
diff --git a/raul/SMFReader.h b/raul/SMFReader.hpp
index 771f139..bc7035d 100644
--- a/raul/SMFReader.h
+++ b/raul/SMFReader.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_SMFREADER_H
-#define RAUL_SMFREADER_H
+#ifndef RAUL_SMF_READER_HPP
+#define RAUL_SMF_READER_HPP
#include <stdexcept>
@@ -67,5 +67,5 @@ protected:
} // namespace Raul
-#endif // RAUL_SMFREADER_H
+#endif // RAUL_SMF_READER_HPP
diff --git a/raul/SMFWriter.h b/raul/SMFWriter.hpp
index 875c151..8994131 100644
--- a/raul/SMFWriter.h
+++ b/raul/SMFWriter.hpp
@@ -15,11 +15,11 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_SMFWRITER_H
-#define RAUL_SMFWRITER_H
+#ifndef RAUL_SMF_WRITER_HPP
+#define RAUL_SMF_WRITER_HPP
#include <stdexcept>
-#include <raul/MIDISink.h>
+#include <raul/MIDISink.hpp>
namespace Raul {
@@ -68,5 +68,5 @@ protected:
} // namespace Raul
-#endif // RAUL_SMFWRITER_H
+#endif // RAUL_SMF_WRITER_HPP
diff --git a/raul/SRMWQueue.h b/raul/SRMWQueue.hpp
index 5b841e5..ebdce5b 100644
--- a/raul/SRMWQueue.h
+++ b/raul/SRMWQueue.hpp
@@ -15,14 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_SRMW_QUEUE_H
-#define RAUL_SRMW_QUEUE_H
+#ifndef RAUL_SRMW_QUEUE_HPP
+#define RAUL_SRMW_QUEUE_HPP
#include <cassert>
#include <cstdlib>
#include <cmath>
#include <boost/utility.hpp>
-#include "raul/AtomicInt.h"
+#include <raul/AtomicInt.hpp>
#include <iostream>
using namespace std;
@@ -221,4 +221,4 @@ SRMWQueue<T>::pop()
} // namespace Raul
-#endif // RAUL_SRMW_QUEUE_H
+#endif // RAUL_SRMW_QUEUE_HPP
diff --git a/raul/SRSWQueue.h b/raul/SRSWQueue.hpp
index c5c2d1d..0273f80 100644
--- a/raul/SRSWQueue.h
+++ b/raul/SRSWQueue.hpp
@@ -15,13 +15,13 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_SRSW_QUEUE_H
-#define RAUL_SRSW_QUEUE_H
+#ifndef RAUL_SRSW_QUEUE_HPP
+#define RAUL_SRSW_QUEUE_HPP
#include <cassert>
#include <cstdlib>
#include <boost/utility.hpp>
-#include "raul/AtomicInt.h"
+#include <raul/AtomicInt.hpp>
namespace Raul {
@@ -154,4 +154,4 @@ SRSWQueue<T>::pop()
} // namespace Raul
-#endif // RAUL_SRSW_QUEUE_H
+#endif // RAUL_SRSW_QUEUE_HPP
diff --git a/raul/Semaphore.h b/raul/Semaphore.hpp
index 28bd93e..93dae0a 100644
--- a/raul/Semaphore.h
+++ b/raul/Semaphore.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_SEMAPHORE_H
-#define RAUL_SEMAPHORE_H
+#ifndef RAUL_SEMAPHORE_HPP
+#define RAUL_SEMAPHORE_HPP
#include <semaphore.h>
#include <boost/utility.hpp>
@@ -72,4 +72,4 @@ private:
} // namespace Raul
-#endif // RAUL_SEMAPHORE_H
+#endif // RAUL_SEMAPHORE_HPP
diff --git a/raul/SharedPtr.h b/raul/SharedPtr.hpp
index 60840c0..34a9d3d 100644
--- a/raul/SharedPtr.h
+++ b/raul/SharedPtr.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_SHARED_PTR_H
-#define RAUL_SHARED_PTR_H
+#ifndef RAUL_SHARED_PTR_HPP
+#define RAUL_SHARED_PTR_HPP
#include <cassert>
#include <cstddef>
@@ -59,5 +59,5 @@ namespace boost {
#define SharedPtr boost::shared_ptr
#define PtrCast boost::dynamic_pointer_cast
-#endif // RAUL_SHARED_PTR_H
+#endif // RAUL_SHARED_PTR_HPP
diff --git a/raul/Slave.h b/raul/Slave.hpp
index f02b55c..91c90f3 100644
--- a/raul/Slave.h
+++ b/raul/Slave.hpp
@@ -15,12 +15,12 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_SLAVE_H
-#define RAUL_SLAVE_H
+#ifndef RAUL_SLAVE_HPP
+#define RAUL_SLAVE_HPP
#include <pthread.h>
-#include "raul/Semaphore.h"
-#include "raul/Thread.h"
+#include <raul/Semaphore.hpp>
+#include <raul/Thread.hpp>
namespace Raul {
@@ -64,4 +64,4 @@ private:
} // namespace Raul
-#endif // RAUL_SLAVE_H
+#endif // RAUL_SLAVE_HPP
diff --git a/raul/StampedChunkRingBuffer.h b/raul/StampedChunkRingBuffer.hpp
index 838ea0f..b4f9371 100644
--- a/raul/StampedChunkRingBuffer.h
+++ b/raul/StampedChunkRingBuffer.hpp
@@ -15,14 +15,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_STAMPED_CHUNK_RING_BUFFER_H
-#define RAUL_STAMPED_CHUNK_RING_BUFFER_H
+#ifndef RAUL_STAMPED_CHUNK_RING_BUFFER_HPP
+#define RAUL_STAMPED_CHUNK_RING_BUFFER_HPP
#include <cassert>
#include <algorithm>
#include <glib.h>
-#include <raul/types.h>
-#include <raul/RingBuffer.h>
+#include <raul/types.hpp>
+#include <raul/RingBuffer.hpp>
namespace Raul {
@@ -79,5 +79,5 @@ StampedChunkRingBuffer::write(TickTime time, size_t size, const Byte* buf)
} // namespace Raul
-#endif // RAUL_STAMPED_CHUNK_RING_BUFFER_H
+#endif // RAUL_STAMPED_CHUNK_RING_BUFFER_HPP
diff --git a/raul/Stateful.h b/raul/Stateful.hpp
index a366ffd..a5ecdb8 100644
--- a/raul/Stateful.h
+++ b/raul/Stateful.hpp
@@ -18,7 +18,7 @@
#ifndef STATEFUL_H
#define STATEFUL_H
-#include "raul/RDFModel.h"
+#include <raul/RDFModel.hpp>
namespace Raul {
diff --git a/raul/Thread.h b/raul/Thread.hpp
index 8c739f1..e444c6e 100644
--- a/raul/Thread.h
+++ b/raul/Thread.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_THREAD_H
-#define RAUL_THREAD_H
+#ifndef RAUL_THREAD_HPP
+#define RAUL_THREAD_HPP
#include <string>
#include <iostream>
@@ -104,4 +104,4 @@ private:
} // namespace Raul
-#endif // RAUL_THREAD_H
+#endif // RAUL_THREAD_HPP
diff --git a/raul/TimeSlice.h b/raul/TimeSlice.hpp
index 2d9c5ac..0681fb5 100644
--- a/raul/TimeSlice.h
+++ b/raul/TimeSlice.hpp
@@ -15,13 +15,13 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_TIMESLICE_H
-#define RAUL_TIMESLICE_H
+#ifndef RAUL_TIME_SLICE_HPP
+#define RAUL_TIME_SLICE_HPP
#include <cassert>
#include <cmath>
#include <boost/utility.hpp>
-#include <raul/types.h>
+#include <raul/types.hpp>
namespace Raul {
@@ -156,4 +156,4 @@ private:
} // namespace Raul
-#endif // RAUL_TIMESLICE_H
+#endif // RAUL_TIME_SLICE_HPP
diff --git a/raul/WeakPtr.h b/raul/WeakPtr.hpp
index ef4b70e..650b437 100644
--- a/raul/WeakPtr.h
+++ b/raul/WeakPtr.hpp
@@ -15,12 +15,12 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_WEAK_PTR_H
-#define RAUL_WEAK_PTR_H
+#ifndef RAUL_WEAK_PTR_HPP
+#define RAUL_WEAK_PTR_HPP
#include <boost/weak_ptr.hpp>
#define WeakPtr boost::weak_ptr
-#endif // RAUL_WEAK_PTR_H
+#endif // RAUL_WEAK_PTR_HPP
diff --git a/raul/midi_events.h b/raul/midi_events.h
index 863fe0f..1c786aa 100644
--- a/raul/midi_events.h
+++ b/raul/midi_events.h
@@ -18,8 +18,8 @@
*
*/
-#ifndef RAUL_MIDIEVENTS_H
-#define RAUL_MIDIEVENTS_H
+#ifndef RAUL_MIDI_EVENTS_H
+#define RAUL_MIDI_EVENTS_H
/**
@@ -130,4 +130,4 @@
/** \} */
-#endif /* RAUL_MIDIEVENTS_H */
+#endif /* RAUL_MIDI_EVENTS_H */
diff --git a/raul/midi_names.h b/raul/midi_names.h
index 45b61ef..1b98f9a 100644
--- a/raul/midi_names.h
+++ b/raul/midi_names.h
@@ -17,12 +17,16 @@
*
*/
-#ifndef RAUL_MIDINAMES_H
-#define RAUL_MIDINAMES_H
+#ifndef RAUL_MIDI_NAMES_H
+#define RAUL_MIDI_NAMES_H
#include "midi_events.h"
+#ifdef __cplusplus
namespace Raul {
+extern "C" {
+#endif
+
/** \group midi
*/
@@ -226,6 +230,10 @@ inline static const char* midi_name(uint8_t status)
}
+#ifdef __cplusplus
+} // extern "C"
} // namespace Raul
+#endif
+
-#endif /* RAUL_MIDINAMES_H */
+#endif /* RAUL_MIDI_NAMES_H */
diff --git a/raul/types.h b/raul/types.hpp
index 00d6479..fe98e38 100644
--- a/raul/types.h
+++ b/raul/types.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RAUL_TYPES_H
-#define RAUL_TYPES_H
+#ifndef RAUL_TYPES_HPP
+#define RAUL_TYPES_HPP
#include <stdint.h>
@@ -32,4 +32,4 @@ typedef unsigned char Byte;
}
-#endif // RAUL_TYPES_H
+#endif // RAUL_TYPES_HPP
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp
index 486f076..6c60085 100644
--- a/src/JackDriver.cpp
+++ b/src/JackDriver.cpp
@@ -22,7 +22,7 @@
#include <jack/jack.h>
#include <jack/statistics.h>
#include <jack/thread.h>
-#include "raul/JackDriver.h"
+#include "raul/JackDriver.hpp"
using std::cerr; using std::endl;
using std::string;
diff --git a/src/LashClient.cpp b/src/LashClient.cpp
index aa035a5..387ba45 100644
--- a/src/LashClient.cpp
+++ b/src/LashClient.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <raul/LashClient.h>
+#include <raul/LashClient.hpp>
using namespace std;
diff --git a/src/LashProject.cpp b/src/LashProject.cpp
index 77f6d7d..6cc7288 100644
--- a/src/LashProject.cpp
+++ b/src/LashProject.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <raul/LashProject.h>
+#include <raul/LashProject.hpp>
using namespace std;
diff --git a/src/LashServerInterface.cpp b/src/LashServerInterface.cpp
index 07a50c3..484a693 100644
--- a/src/LashServerInterface.cpp
+++ b/src/LashServerInterface.cpp
@@ -16,7 +16,7 @@
*/
#include <iostream>
-#include <raul/LashServerInterface.h>
+#include <raul/LashServerInterface.hpp>
using namespace std;
diff --git a/src/Maid.cpp b/src/Maid.cpp
index ec1e837..dda8f27 100644
--- a/src/Maid.cpp
+++ b/src/Maid.cpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "raul/Maid.h"
-#include "raul/Deletable.h"
+#include "raul/Maid.hpp"
+#include "raul/Deletable.hpp"
namespace Raul {
diff --git a/src/Namespaces.cpp b/src/Namespaces.cpp
index 5bdb3b9..8e0a055 100644
--- a/src/Namespaces.cpp
+++ b/src/Namespaces.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "raul/Namespaces.h"
+#include "raul/Namespaces.hpp"
namespace Raul {
diff --git a/src/Path.cpp b/src/Path.cpp
index 39a2b71..8853e34 100644
--- a/src/Path.cpp
+++ b/src/Path.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "raul/Path.h"
+#include "raul/Path.hpp"
namespace Raul {
diff --git a/src/RDFModel.cpp b/src/RDFModel.cpp
index df5936d..e68bd01 100644
--- a/src/RDFModel.cpp
+++ b/src/RDFModel.cpp
@@ -16,10 +16,10 @@
*/
#include <sstream>
-#include "raul/RDFWorld.h"
-#include "raul/RDFModel.h"
-#include "raul/RDFNode.h"
-#include "raul/AtomRedland.h"
+#include "raul/RDFWorld.hpp"
+#include "raul/RDFModel.hpp"
+#include "raul/RDFNode.hpp"
+#include "raul/AtomRedland.hpp"
#define U(x) ((const unsigned char*)(x))
diff --git a/src/RDFNode.cpp b/src/RDFNode.cpp
index 2278a7a..afba06c 100644
--- a/src/RDFNode.cpp
+++ b/src/RDFNode.cpp
@@ -16,8 +16,8 @@
*/
#include <string>
-#include <raul/RDFWorld.h>
-#include <raul/RDFNode.h>
+#include <raul/RDFWorld.hpp>
+#include <raul/RDFNode.hpp>
using namespace std;
diff --git a/src/RDFQuery.cpp b/src/RDFQuery.cpp
index 2cc2209..0e99a22 100644
--- a/src/RDFQuery.cpp
+++ b/src/RDFQuery.cpp
@@ -18,8 +18,8 @@
#include <iostream>
#include <cassert>
#include <rasqal.h>
-#include "raul/RDFQuery.h"
-#include "raul/RDFModel.h"
+#include "raul/RDFQuery.hpp"
+#include "raul/RDFModel.hpp"
using namespace std;
diff --git a/src/RDFWorld.cpp b/src/RDFWorld.cpp
index caf6fb8..e5bc42a 100644
--- a/src/RDFWorld.cpp
+++ b/src/RDFWorld.cpp
@@ -16,9 +16,9 @@
*/
#include <sstream>
-#include "raul/RDFWorld.h"
-#include "raul/RDFNode.h"
-#include "raul/AtomRedland.h"
+#include "raul/RDFWorld.hpp"
+#include "raul/RDFNode.hpp"
+#include "raul/AtomRedland.hpp"
#define U(x) ((const unsigned char*)(x))
diff --git a/src/SMFReader.cpp b/src/SMFReader.cpp
index a267e48..49e3888 100644
--- a/src/SMFReader.cpp
+++ b/src/SMFReader.cpp
@@ -19,8 +19,8 @@
#include <cassert>
#include <iostream>
#include <glibmm/miscutils.h>
-#include "raul/SMFReader.h"
-#include "raul/midi_events.h"
+#include <raul/SMFReader.hpp>
+#include <raul/midi_events.h>
using namespace std;
diff --git a/src/SMFWriter.cpp b/src/SMFWriter.cpp
index 0af7688..0ba9379 100644
--- a/src/SMFWriter.cpp
+++ b/src/SMFWriter.cpp
@@ -18,7 +18,7 @@
#include <cstdio>
#include <iostream>
#include <glibmm/miscutils.h>
-#include "raul/SMFWriter.h"
+#include "raul/SMFWriter.hpp"
using namespace std;
diff --git a/src/Thread.cpp b/src/Thread.cpp
index 1542363..cea32d8 100644
--- a/src/Thread.cpp
+++ b/src/Thread.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "raul/Thread.h"
+#include "raul/Thread.hpp"
namespace Raul {
diff --git a/src/TimeSlice.cpp b/src/TimeSlice.cpp
index d6b7fc6..e983a33 100644
--- a/src/TimeSlice.cpp
+++ b/src/TimeSlice.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <raul/TimeSlice.h>
+#include <raul/TimeSlice.hpp>
namespace Raul {