mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 12:39:53 +00:00
Renamed all .h to .hpp for consistency
This commit is contained in:
parent
52e7570b4f
commit
6b0b7c95f8
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_INPUT_FILTER_H
|
||||
#define MANGLE_INPUT_FILTER_H
|
||||
|
||||
#include "../output.h"
|
||||
#include "../output.hpp"
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -1,9 +1,9 @@
|
||||
#ifndef MANGLE_FFMPEG_OPENAL_H
|
||||
#define MANGLE_FFMPEG_OPENAL_H
|
||||
|
||||
#include "input_filter.h"
|
||||
#include "../sources/audiere_source.h"
|
||||
#include "../outputs/openal_out.h"
|
||||
#include "input_filter.hpp"
|
||||
#include "../sources/audiere_source.hpp"
|
||||
#include "../outputs/openal_out.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Sound {
|
@ -2,9 +2,9 @@
|
||||
#define MANGLE_SOUND_OUTPUT_H
|
||||
|
||||
#include <string>
|
||||
#include "source.h"
|
||||
#include "source.hpp"
|
||||
|
||||
#include "../stream/stream.h"
|
||||
#include "../stream/stream.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Sound {
|
@ -1,8 +1,8 @@
|
||||
#include "openal_out.h"
|
||||
#include "openal_out.hpp"
|
||||
#include <assert.h>
|
||||
|
||||
#include "../../stream/filters/buffer_stream.h"
|
||||
#include "../../tools/str_exception.h"
|
||||
#include "../../stream/filters/buffer_stream.hpp"
|
||||
#include "../../tools/str_exception.hpp"
|
||||
|
||||
using namespace Mangle::Sound;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_SOUND_OPENAL_OUT_H
|
||||
#define MANGLE_SOUND_OPENAL_OUT_H
|
||||
|
||||
#include "../output.h"
|
||||
#include "../output.hpp"
|
||||
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
@ -5,7 +5,7 @@
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "../stream/stream.h"
|
||||
#include "../stream/stream.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Sound {
|
@ -1,7 +1,7 @@
|
||||
#include "audiere_source.h"
|
||||
#include "audiere_source.hpp"
|
||||
|
||||
#include "../../stream/clients/audiere_file.h"
|
||||
#include "../../tools/str_exception.h"
|
||||
#include "../../stream/clients/audiere_file.hpp"
|
||||
#include "../../tools/str_exception.hpp"
|
||||
|
||||
using namespace Mangle::Stream;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_SOUND_AUDIERE_SOURCE_H
|
||||
#define MANGLE_SOUND_AUDIERE_SOURCE_H
|
||||
|
||||
#include "../source.h"
|
||||
#include "../source.hpp"
|
||||
|
||||
#include <audiere.h>
|
||||
|
||||
@ -46,7 +46,7 @@ class AudiereSource : public SampleSource
|
||||
size_t size() const { return sample->getLength()*frameSize; }
|
||||
};
|
||||
|
||||
#include "loadertemplate.h"
|
||||
#include "loadertemplate.hpp"
|
||||
|
||||
/// A factory that loads AudiereSources from file and stream
|
||||
typedef SSL_Template<AudiereSource,true,true> AudiereLoader;
|
@ -1,6 +1,6 @@
|
||||
#include "ffmpeg_source.h"
|
||||
#include "ffmpeg_source.hpp"
|
||||
|
||||
#include "../../tools/str_exception.h"
|
||||
#include "../../tools/str_exception.hpp"
|
||||
|
||||
using namespace Mangle::Sound;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_SOUND_FFMPEG_H
|
||||
#define MANGLE_SOUND_FFMPEG_H
|
||||
|
||||
#include "../source.h"
|
||||
#include "../source.hpp"
|
||||
#include <vector>
|
||||
#include <assert.h>
|
||||
|
||||
@ -36,7 +36,7 @@ class FFMpegSource : public SampleSource
|
||||
size_t read(void *data, size_t length);
|
||||
};
|
||||
|
||||
#include "loadertemplate.h"
|
||||
#include "loadertemplate.hpp"
|
||||
|
||||
/// A factory that loads FFMpegSources from file
|
||||
class FFMpegLoader : public SSL_Template<FFMpegSource,false,true>
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_SOUND_STREAMSOURCE_H
|
||||
#define MANGLE_SOUND_STREAMSOURCE_H
|
||||
|
||||
#include "../source.h"
|
||||
#include "../source.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Sound {
|
@ -1,7 +1,7 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "../../stream/servers/file_stream.h"
|
||||
#include "../sources/audiere_source.h"
|
||||
#include "../../stream/servers/file_stream.hpp"
|
||||
#include "../sources/audiere_source.hpp"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "../../stream/servers/file_stream.h"
|
||||
#include "../sources/ffmpeg_source.h"
|
||||
#include "../../stream/servers/file_stream.hpp"
|
||||
#include "../sources/ffmpeg_source.hpp"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
|
||||
#include "../../stream/servers/file_stream.h"
|
||||
#include "../filters/openal_audiere.h"
|
||||
#include "../../stream/servers/file_stream.hpp"
|
||||
#include "../filters/openal_audiere.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
|
||||
#include "../../stream/servers/file_stream.h"
|
||||
#include "../sources/stream_source.h"
|
||||
#include "../outputs/openal_out.h"
|
||||
#include "../../stream/servers/file_stream.hpp"
|
||||
#include "../sources/stream_source.hpp"
|
||||
#include "../outputs/openal_out.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "audiere_file.h"
|
||||
#include "audiere_file.hpp"
|
||||
|
||||
using namespace audiere;
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <audiere.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "../stream.h"
|
||||
#include "../stream.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Stream {
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <OgreDataStream.h>
|
||||
#include <assert.h>
|
||||
#include "../stream.h"
|
||||
#include "../stream.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Stream {
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_STREAM_BUFFER_H
|
||||
#define MANGLE_STREAM_BUFFER_H
|
||||
|
||||
#include "../servers/memory_stream.h"
|
||||
#include "../servers/memory_stream.hpp"
|
||||
#include <vector>
|
||||
|
||||
namespace Mangle {
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_STREAM_FILTER_H
|
||||
#define MANGLE_STREAM_FILTER_H
|
||||
|
||||
#include "../stream.h"
|
||||
#include "../stream.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Stream {
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_STREAM_SLICE_H
|
||||
#define MANGLE_STREAM_SLICE_H
|
||||
|
||||
#include "../stream.h"
|
||||
#include "../stream.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Stream {
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_STREAM_FILESERVER_H
|
||||
#define MANGLE_STREAM_FILESERVER_H
|
||||
|
||||
#include "std_stream.h"
|
||||
#include "std_stream.hpp"
|
||||
#include <fstream>
|
||||
|
||||
namespace Mangle {
|
@ -2,7 +2,7 @@
|
||||
#define MANGLE_STREAM_MEMSERVER_H
|
||||
|
||||
#include <assert.h>
|
||||
#include "../stream.h"
|
||||
#include "../stream.hpp"
|
||||
#include <string.h>
|
||||
|
||||
namespace Mangle {
|
@ -1,9 +1,9 @@
|
||||
#ifndef MANGLE_STREAM_STDIOSERVER_H
|
||||
#define MANGLE_STREAM_STDIOSERVER_H
|
||||
|
||||
#include "../stream.h"
|
||||
#include "../stream.hpp"
|
||||
#include <iostream>
|
||||
#include "../../tools/str_exception.h"
|
||||
#include "../../tools/str_exception.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace Stream {
|
@ -2,7 +2,7 @@
|
||||
#define MANGLE_STREAM_INPUT_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "../tools/shared_ptr.h"
|
||||
#include "../tools/shared_ptr.hpp"
|
||||
#include <assert.h>
|
||||
|
||||
namespace Mangle {
|
@ -6,22 +6,22 @@ I_OGRE=$(shell pkg-config --cflags OGRE)
|
||||
L_OGRE=$(shell pkg-config --libs OGRE)
|
||||
L_AUDIERE=-laudiere
|
||||
|
||||
ogre_client_test: ogre_client_test.cpp ../stream.h ../clients/ogre_datastream.h
|
||||
ogre_client_test: ogre_client_test.cpp ../stream.hpp ../clients/ogre_datastream.hpp
|
||||
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE)
|
||||
|
||||
audiere_client_test: audiere_client_test.cpp ../stream.h ../clients/audiere_file.h ../clients/audiere_file.cpp
|
||||
audiere_client_test: audiere_client_test.cpp ../stream.hpp ../clients/audiere_file.hpp ../clients/audiere_file.cpp
|
||||
$(GCC) $< -o $@ ../clients/audiere_file.cpp $(L_AUDIERE)
|
||||
|
||||
file_server_test: file_server_test.cpp ../stream.h ../servers/file_stream.h ../servers/std_stream.h
|
||||
file_server_test: file_server_test.cpp ../stream.hpp ../servers/file_stream.hpp ../servers/std_stream.hpp
|
||||
$(GCC) $< -o $@
|
||||
|
||||
memory_server_test: memory_server_test.cpp ../stream.h ../servers/memory_stream.h
|
||||
memory_server_test: memory_server_test.cpp ../stream.hpp ../servers/memory_stream.hpp
|
||||
$(GCC) $< -o $@
|
||||
|
||||
buffer_filter_test: buffer_filter_test.cpp ../stream.h ../servers/memory_stream.h ../filters/buffer_stream.h
|
||||
buffer_filter_test: buffer_filter_test.cpp ../stream.hpp ../servers/memory_stream.hpp ../filters/buffer_stream.hpp
|
||||
$(GCC) $< -o $@
|
||||
|
||||
slice_filter_test: slice_filter_test.cpp ../stream.h ../servers/memory_stream.h ../filters/slice_stream.h
|
||||
slice_filter_test: slice_filter_test.cpp ../stream.hpp ../servers/memory_stream.hpp ../filters/slice_stream.hpp
|
||||
$(GCC) $< -o $@
|
||||
|
||||
clean:
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "../servers/memory_stream.h"
|
||||
#include "../clients/audiere_file.h"
|
||||
#include "../servers/memory_stream.hpp"
|
||||
#include "../clients/audiere_file.hpp"
|
||||
#include <audiere.h>
|
||||
#include <iostream>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
|
||||
#include "../filters/buffer_stream.h"
|
||||
#include "../filters/buffer_stream.hpp"
|
||||
|
||||
using namespace Mangle::Stream;
|
||||
using namespace std;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "../servers/file_stream.h"
|
||||
#include "../servers/file_stream.hpp"
|
||||
#include <iostream>
|
||||
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
|
||||
#include "../servers/memory_stream.h"
|
||||
#include "../servers/memory_stream.hpp"
|
||||
|
||||
using namespace Mangle::Stream;
|
||||
using namespace std;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "../servers/memory_stream.h"
|
||||
#include "../clients/ogre_datastream.h"
|
||||
#include "../servers/memory_stream.hpp"
|
||||
#include "../clients/ogre_datastream.hpp"
|
||||
#include <iostream>
|
||||
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
|
||||
#include "../filters/slice_stream.h"
|
||||
#include "../servers/memory_stream.h"
|
||||
#include "../filters/slice_stream.hpp"
|
||||
#include "../servers/memory_stream.hpp"
|
||||
|
||||
using namespace Mangle::Stream;
|
||||
using namespace std;
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
function run()
|
||||
{
|
||||
echo "TESTING $1"
|
||||
cd "$1/tests/"
|
||||
./test.sh
|
||||
cd ../../
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
*/
|
||||
|
||||
#include "sound/filters/openal_audiere.h"
|
||||
#include "vfs/servers/ogre_vfs.h"
|
||||
#include "sound/filters/openal_audiere.hpp"
|
||||
#include "vfs/servers/ogre_vfs.hpp"
|
||||
#include <Ogre.h>
|
||||
#include <iostream>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "ogre_archive.h"
|
||||
#include "ogre_archive.hpp"
|
||||
|
||||
#include "../../stream/clients/ogre_datastream.h"
|
||||
#include "../../stream/clients/ogre_datastream.hpp"
|
||||
|
||||
using namespace Mangle::VFS;
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <OgreArchive.h>
|
||||
#include <assert.h>
|
||||
#include "../vfs.h"
|
||||
#include "../vfs.hpp"
|
||||
|
||||
namespace Mangle {
|
||||
namespace VFS {
|
@ -1,5 +1,5 @@
|
||||
#include "ogre_vfs.h"
|
||||
#include "../../stream/servers/ogre_datastream.h"
|
||||
#include "ogre_vfs.hpp"
|
||||
#include "../../stream/servers/ogre_datastream.hpp"
|
||||
|
||||
using namespace Mangle::VFS;
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_VFS_OGRESERVER_H
|
||||
#define MANGLE_VFS_OGRESERVER_H
|
||||
|
||||
#include "../vfs.h"
|
||||
#include "../vfs.hpp"
|
||||
#include <OgreResourceGroupManager.h>
|
||||
|
||||
namespace Mangle {
|
@ -1,8 +1,8 @@
|
||||
#ifndef MANGLE_VFS_PHYSFS_SERVER_H
|
||||
#define MANGLE_VFS_PHYSFS_SERVER_H
|
||||
|
||||
#include "../vfs.h"
|
||||
#include "../../stream/servers/phys_stream.h"
|
||||
#include "../vfs.hpp"
|
||||
#include "../../stream/servers/phys_stream.hpp"
|
||||
|
||||
#include <physfs.h>
|
||||
#include <assert.h>
|
@ -6,19 +6,19 @@ I_OGRE=$(shell pkg-config --cflags OGRE)
|
||||
L_OGRE=$(shell pkg-config --libs OGRE)
|
||||
L_PHYSFS=-lphysfs
|
||||
|
||||
ogre_client_test: ogre_client_test.cpp dummy_vfs.cpp ../vfs.h ../clients/ogre_archive.h ../clients/ogre_archive.cpp
|
||||
ogre_client_test: ogre_client_test.cpp dummy_vfs.cpp ../vfs.hpp ../clients/ogre_archive.hpp ../clients/ogre_archive.cpp
|
||||
$(GCC) $< ../clients/ogre_archive.cpp -o $@ $(I_OGRE) $(L_OGRE)
|
||||
|
||||
ogre_resource_test: ogre_resource_test.cpp
|
||||
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE)
|
||||
|
||||
ogre_server_test: ogre_server_test.cpp ../vfs.h ../servers/ogre_vfs.h ../servers/ogre_vfs.cpp
|
||||
ogre_server_test: ogre_server_test.cpp ../vfs.hpp ../servers/ogre_vfs.hpp ../servers/ogre_vfs.cpp
|
||||
$(GCC) $< -o $@ $(I_OGRE) $(L_OGRE) ../servers/ogre_vfs.cpp
|
||||
|
||||
physfs_server_test: physfs_server_test.cpp ../vfs.h ../servers/physfs_vfs.h
|
||||
physfs_server_test: physfs_server_test.cpp ../vfs.hpp ../servers/physfs_vfs.hpp
|
||||
$(GCC) $< -o $@ $(L_PHYSFS)
|
||||
|
||||
dummy_test: dummy_test.cpp dummy_vfs.cpp ../vfs.h
|
||||
dummy_test: dummy_test.cpp dummy_vfs.cpp ../vfs.hpp
|
||||
$(GCC) $< -o $@
|
||||
|
||||
clean:
|
||||
|
@ -1,9 +1,9 @@
|
||||
// This file is shared between several test programs
|
||||
#include "vfs.h"
|
||||
#include "vfs.hpp"
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../../stream/servers/memory_stream.h"
|
||||
#include "../../stream/servers/memory_stream.hpp"
|
||||
|
||||
using namespace Mangle::VFS;
|
||||
using namespace Mangle::Stream;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "dummy_vfs.cpp"
|
||||
#include "../clients/ogre_archive.h"
|
||||
#include "../clients/ogre_archive.hpp"
|
||||
#include <iostream>
|
||||
|
||||
using namespace Ogre;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "../servers/ogre_vfs.h"
|
||||
#include "../servers/ogre_vfs.hpp"
|
||||
|
||||
#include <Ogre.h>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
File: Makefile
|
||||
Size: 814
|
||||
Size: 828
|
||||
First line: GCC=g++ -I../
|
||||
|
||||
File: ogre_resource_test.cpp
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
File: Makefile
|
||||
Size: 814
|
||||
Size: 828
|
||||
First 12 bytes: GCC=g++ -I..
|
||||
|
||||
File: testfile.txt
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
File: Makefile
|
||||
Size: 814
|
||||
Size: 828
|
||||
First 12 bytes: GCC=g++ -I..
|
||||
|
||||
File: testfile.txt
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "../servers/physfs_vfs.h"
|
||||
#include "../servers/physfs_vfs.hpp"
|
||||
|
||||
#include "server_common.cpp"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef MANGLE_VFS_H
|
||||
#define MANGLE_VFS_H
|
||||
|
||||
#include "../stream/stream.h"
|
||||
#include "../stream/stream.hpp"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
Loading…
x
Reference in New Issue
Block a user