Mercurial > audlegacy-plugins
diff src/modplug/archive/archive.h @ 12:3da1b8942b8b trunk
[svn] - remove src/Input src/Output src/Effect src/General src/Visualization src/Container
author | nenolod |
---|---|
date | Mon, 18 Sep 2006 03:14:20 -0700 |
parents | src/Input/modplug/archive/archive.h@13389e613d67 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/modplug/archive/archive.h Mon Sep 18 03:14:20 2006 -0700 @@ -0,0 +1,32 @@ +/* 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