From a22fd021e9fe1e798bf72c537cce482268d1c9ed Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Sat, 2 Jan 2010 00:07:20 +0000 Subject: Move the LZSS code to the Groovie namespace. svn-id: r46867 --- engines/groovie/lzss.cpp | 4 ++++ engines/groovie/lzss.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'engines') diff --git a/engines/groovie/lzss.cpp b/engines/groovie/lzss.cpp index 750625d70d..889a12bd12 100644 --- a/engines/groovie/lzss.cpp +++ b/engines/groovie/lzss.cpp @@ -25,6 +25,8 @@ #include "groovie/lzss.h" +namespace Groovie { + #define OUT_BUFF_SIZE 131072 #define COMP_THRESH 3 // Compression not attempted if string to be compressed is less than 3 long @@ -97,3 +99,5 @@ uint32 LzssReadStream::read(void *buf, uint32 size) { return size; } + +} // End of Groovie namespace diff --git a/engines/groovie/lzss.h b/engines/groovie/lzss.h index 2aa0816252..f78bc20351 100644 --- a/engines/groovie/lzss.h +++ b/engines/groovie/lzss.h @@ -25,6 +25,8 @@ #include "common/stream.h" +namespace Groovie { + class LzssReadStream : public Common::ReadStream { private: uint8 *_outLzssBufData; @@ -40,3 +42,5 @@ public: bool eos() const; uint32 read(void *buf, uint32 size); }; + +} // End of Groovie namespace -- cgit v1.2.3