Reverted out changes to JFileSystem - WIP, not meant for the tree yet.

This commit is contained in:
wrenczes@gmail.com
2011-06-02 05:39:06 +00:00
parent a06558be55
commit 382fb5969d
2 changed files with 1 additions and 195 deletions

View File

@@ -28,61 +28,6 @@
using namespace std;
class JFile
{
public:
JFile();
virtual ~JFile();
virtual bool OpenFile(const string &filename);
virtual int ReadFile(void *buffer, int size);
virtual int GetFileSize();
virtual void CloseFile();
protected:
std::string mFilename;
#if defined (PSP)
SceUID mFile;
#else
FILE *mFile;
#endif
int mFileSize;
};
class JZipFile : public JFile
{
public:
JZipFile(const std::string& inZipFilename);
virtual ~JZipFile();
/*
** Access filename within the zip.
*/
virtual bool OpenFile(const string &filename);
virtual int ReadFile(void *buffer, int size);
virtual int GetFileSize();
virtual void CloseFile();
private:
std::string mZipFilename;
unzFile mZipFile;
};
//////////////////////////////////////////////////////////////////////////
/// Interface for low level file access with ZIP archive support. All
/// file operations in JGE are handled through this class so if a ZIP