Subversion Repositories spk

Rev

Rev 124 | Rev 127 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 124 Rev 125
Line 40... Line 40...
40
 
40
 
41
public:
41
public:
42
	CCatFile ();
42
	CCatFile ();
43
	~CCatFile ();
43
	~CCatFile ();
44
 
44
 
45
	int  Open ( CyString catfile, CyString addon, int readtype = CATREAD_CATDECRYPT, bool = true );
45
	int  open(const Utils::String &catfile, const Utils::String &addon, int readtype = CATREAD_CATDECRYPT, bool create = true);
46
	bool DecryptData ();
46
	bool DecryptData ();
47
	bool DecryptData ( unsigned char *data, size_t size );
47
	bool DecryptData ( unsigned char *data, size_t size );
48
	void DecryptDAT(unsigned char *buffer, size_t size);
48
	void DecryptDAT(unsigned char *buffer, size_t size);
49
	void DecryptDAT(SInCatFile *pFile);
49
	void DecryptDAT(SInCatFile *pFile);
50
	bool readFiles ();
50
	bool readFiles ();