view src/modplug/archive/archive.h @ 2138:76f9a4168708

Fix linking with libaudid3tag Linking with libaudid3tag from /usr/lib/audacious, add rpath (affected to tta, shnplug and madplug plugins)
author Vitaly Lipatov <lav@etersoft.ru>
date Sat, 27 Oct 2007 19:34:46 -0500
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