From cd6ee0589d0556d3d9e81d835c8b900636083de5 Mon Sep 17 00:00:00 2001 From: Ori Avtalion Date: Mon, 25 Apr 2011 22:29:26 +0300 Subject: JANITORIAL: Format forward declarations to follow convention --- audio/decoders/adpcm.h | 4 +++- audio/decoders/aiff.h | 4 +++- audio/decoders/flac.h | 2 +- audio/decoders/iff_sound.h | 2 +- audio/decoders/mac_snd.h | 4 +++- audio/decoders/mp3.h | 2 +- audio/decoders/raw.h | 5 +++-- audio/decoders/vag.h | 2 +- audio/decoders/voc.h | 6 ++++-- audio/decoders/vorbis.h | 2 +- audio/decoders/wave.h | 4 +++- audio/mididrv.h | 6 ++++-- 12 files changed, 28 insertions(+), 15 deletions(-) (limited to 'audio') diff --git a/audio/decoders/adpcm.h b/audio/decoders/adpcm.h index f6b424c463..b0f0e9ee60 100644 --- a/audio/decoders/adpcm.h +++ b/audio/decoders/adpcm.h @@ -40,7 +40,9 @@ #include "common/scummsys.h" #include "common/types.h" -namespace Common { class SeekableReadStream; } +namespace Common { +class SeekableReadStream; +} namespace Audio { diff --git a/audio/decoders/aiff.h b/audio/decoders/aiff.h index 06c56ecd38..dddbffb520 100644 --- a/audio/decoders/aiff.h +++ b/audio/decoders/aiff.h @@ -37,7 +37,9 @@ #include "common/scummsys.h" #include "common/types.h" -namespace Common { class SeekableReadStream; } +namespace Common { +class SeekableReadStream; +} namespace Audio { diff --git a/audio/decoders/flac.h b/audio/decoders/flac.h index 17f95ec1fb..211347afcf 100644 --- a/audio/decoders/flac.h +++ b/audio/decoders/flac.h @@ -49,7 +49,7 @@ #ifdef USE_FLAC namespace Common { - class SeekableReadStream; +class SeekableReadStream; } namespace Audio { diff --git a/audio/decoders/iff_sound.h b/audio/decoders/iff_sound.h index 4e53059380..4d26b32e71 100644 --- a/audio/decoders/iff_sound.h +++ b/audio/decoders/iff_sound.h @@ -33,7 +33,7 @@ #define SOUND_IFF_H namespace Common { - class ReadStream; +class ReadStream; } namespace Audio { diff --git a/audio/decoders/mac_snd.h b/audio/decoders/mac_snd.h index 198a61333e..bf6331a265 100644 --- a/audio/decoders/mac_snd.h +++ b/audio/decoders/mac_snd.h @@ -35,7 +35,9 @@ #include "common/scummsys.h" #include "common/types.h" -namespace Common { class SeekableReadStream; } +namespace Common { +class SeekableReadStream; +} namespace Audio { diff --git a/audio/decoders/mp3.h b/audio/decoders/mp3.h index 72bc6e1b3e..84f7fac6cd 100644 --- a/audio/decoders/mp3.h +++ b/audio/decoders/mp3.h @@ -50,7 +50,7 @@ #ifdef USE_MAD namespace Common { - class SeekableReadStream; +class SeekableReadStream; } namespace Audio { diff --git a/audio/decoders/raw.h b/audio/decoders/raw.h index 3e9426012c..6434366c32 100644 --- a/audio/decoders/raw.h +++ b/audio/decoders/raw.h @@ -32,8 +32,9 @@ #include "common/list.h" -namespace Common { class SeekableReadStream; } - +namespace Common { +class SeekableReadStream; +} namespace Audio { diff --git a/audio/decoders/vag.h b/audio/decoders/vag.h index cdf91a8ea1..4db9eeefa2 100644 --- a/audio/decoders/vag.h +++ b/audio/decoders/vag.h @@ -35,7 +35,7 @@ #define SOUND_VAG_H namespace Common { - class SeekableReadStream; +class SeekableReadStream; } namespace Audio { diff --git a/audio/decoders/voc.h b/audio/decoders/voc.h index 82cc261f2c..38250dcf7a 100644 --- a/audio/decoders/voc.h +++ b/audio/decoders/voc.h @@ -41,8 +41,10 @@ #include "common/scummsys.h" #include "common/types.h" -namespace Common { class ReadStream; } -namespace Common { class SeekableReadStream; } +namespace Common { +class ReadStream; +class SeekableReadStream; +} namespace Audio { diff --git a/audio/decoders/vorbis.h b/audio/decoders/vorbis.h index 7cc395cccb..9829f74a36 100644 --- a/audio/decoders/vorbis.h +++ b/audio/decoders/vorbis.h @@ -49,7 +49,7 @@ #ifdef USE_VORBIS namespace Common { - class SeekableReadStream; +class SeekableReadStream; } namespace Audio { diff --git a/audio/decoders/wave.h b/audio/decoders/wave.h index 2bdbe8f0b6..33c3e798a0 100644 --- a/audio/decoders/wave.h +++ b/audio/decoders/wave.h @@ -43,7 +43,9 @@ #include "common/scummsys.h" #include "common/types.h" -namespace Common { class SeekableReadStream; } +namespace Common { +class SeekableReadStream; +} namespace Audio { diff --git a/audio/mididrv.h b/audio/mididrv.h index 8d6f942455..92fbb09fa3 100644 --- a/audio/mididrv.h +++ b/audio/mididrv.h @@ -33,9 +33,11 @@ class MidiChannel; class MusicDevice; namespace Audio { - class Mixer; +class Mixer; +} +namespace Common { +class String; } -namespace Common { class String; } /** * Music types that music drivers can implement and engines can rely on. -- cgit v1.2.3