Subversion Repositories spk

Rev

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

Rev 171 Rev 172
Line 157... Line 157...
157
	void AddFileScript(FileType filetype, bool shared, bool packed, const Utils::String &rest, const Utils::String &sMainGame, Utils::CStringList &otherGames, Utils::CStringList &gameAddons, CProgressInfo *progress = NULL);
157
	void AddFileScript(FileType filetype, bool shared, bool packed, const Utils::String &rest, const Utils::String &sMainGame, Utils::CStringList &otherGames, Utils::CStringList &gameAddons, CProgressInfo *progress = NULL);
158
	void AddFile(C_File* file);
158
	void AddFile(C_File* file);
159
	C_File* addFile(const Utils::String& file, const Utils::String& dir, FileType type, int game = 0, bool packed = false);
159
	C_File* addFile(const Utils::String& file, const Utils::String& dir, FileType type, int game = 0, bool packed = false);
160
	C_File* appendFile(const Utils::String& file, int type, int game, bool packed, const Utils::String& dir = Utils::String::Null(), CProgressInfo* progress = NULL);
160
	C_File* appendFile(const Utils::String& file, int type, int game, bool packed, const Utils::String& dir = Utils::String::Null(), CProgressInfo* progress = NULL);
161
	bool addFileNow(const Utils::String&, const Utils::String&, FileType type, CProgressInfo* progress = NULL);
161
	bool addFileNow(const Utils::String&, const Utils::String&, FileType type, CProgressInfo* progress = NULL);
162
	virtual bool RemoveFile(int pos);
162
	bool removeFile(size_t pos);
163
	virtual bool RemoveFile(C_File* files);
163
	bool removeFile(C_File* files);
164
	virtual bool removeFile(const Utils::String &file, FileType type, const Utils::String &dir = Utils::String::Null(), int game = 0);
164
	bool removeFile(const Utils::String &file, FileType type, const Utils::String &dir = Utils::String::Null(), int game = 0);
165
	virtual bool RemoveFile(CyString file, int type, CyString dir = NullString, int game = 0) { return removeFile(file.ToString(), static_cast<FileType>(type), dir.ToString(), game); }
-
 
166
	void removeAllFiles(FileType type, int game);
165
	void removeAllFiles(FileType type, int game);
167
 
166
 
168
	Utils::String createFilesLine(bool updateheader, CProgressInfo* = NULL);
167
	Utils::String createFilesLine(bool updateheader, CProgressInfo* = NULL);
169
 
168
 
170
	// error handling
169
	// error handling