Mercurial > audlegacy-plugins
view src/modplug/archive/archive.h @ 3158:8b97f9560dc3
More clean-up of roll-up code (should fix bug #37; if not, it's a WM problem).
author | John Lindgren <john.lindgren@tds.net> |
---|---|
date | Fri, 01 May 2009 16:59:54 -0400 |
parents | 3da1b8942b8b |
children |
line wrap: on
line source
/* Modplug XMMS Plugin * Authors: Kenton Varda <temporal@gauge3d.org> * * This source code is public domain. */ #ifndef __MODPLUG_ARCHIVE_H__INCLUDED__ #define __MODPLUG_ARCHIVE_H__INCLUDED__ #include "../stddefs.h" #include <string> #include <cctype> using namespace std; class Archive { protected: uint32 mSize; void* mMap; //This version of IsOurFile is slightly different... static bool IsOurFile(const string& aFileName); public: virtual ~Archive(); inline uint32 Size() {return mSize;} inline void* Map() {return mMap;} }; #endif