view src/modplug/archive/arch_zip.h @ 3087:f333e6df5fa9

ungetc(): trash the stack of ungetc()'d chars if a seek is made
author William Pitcock <nenolod@atheme.org>
date Wed, 29 Apr 2009 21:12:44 -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_ARCH_ZIP_H__INCLUDED__
#define __MODPLUG_ARCH_ZIP_H__INCLUDED__

#include "archive.h"
#include <string>

class arch_Zip: public Archive
{
public:
	arch_Zip(const string& aFileName);
	virtual ~arch_Zip();
	
	static bool ContainsMod(const string& aFileName);
	static bool processLine(char *buffer, uint32 *mSize, char *filename);
};

#endif