comparison 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
comparison
equal deleted inserted replaced
11:cff1d04026ae 12:3da1b8942b8b
1 /* Modplug XMMS Plugin
2 * Authors: Kenton Varda <temporal@gauge3d.org>
3 *
4 * This source code is public domain.
5 */
6
7 #ifndef __MODPLUG_ARCHIVE_H__INCLUDED__
8 #define __MODPLUG_ARCHIVE_H__INCLUDED__
9
10 #include "../stddefs.h"
11 #include <string>
12 #include <cctype>
13
14 using namespace std;
15
16 class Archive
17 {
18 protected:
19 uint32 mSize;
20 void* mMap;
21
22 //This version of IsOurFile is slightly different...
23 static bool IsOurFile(const string& aFileName);
24
25 public:
26 virtual ~Archive();
27
28 inline uint32 Size() {return mSize;}
29 inline void* Map() {return mMap;}
30 };
31
32 #endif