aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/package/packagemanager.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-09-02 12:14:04 +0000
committerEugene Sandulenko2010-10-12 23:30:00 +0000
commit086f5961b6575c50bb386750b6e9a3ed1efdd8cd (patch)
tree75c532790d67ccd3b8fdc5c371a3ce3bf0705dca /engines/sword25/package/packagemanager.h
parent0cdb2ded85d17150cb108a5d63dd8957c29af2a5 (diff)
downloadscummvm-rg350-086f5961b6575c50bb386750b6e9a3ed1efdd8cd.tar.gz
scummvm-rg350-086f5961b6575c50bb386750b6e9a3ed1efdd8cd.tar.bz2
scummvm-rg350-086f5961b6575c50bb386750b6e9a3ed1efdd8cd.zip
SWORD25: unsigned int -> uint
svn-id: r53309
Diffstat (limited to 'engines/sword25/package/packagemanager.h')
-rw-r--r--engines/sword25/package/packagemanager.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sword25/package/packagemanager.h b/engines/sword25/package/packagemanager.h
index 4aaa05c589..996c94cd8b 100644
--- a/engines/sword25/package/packagemanager.h
+++ b/engines/sword25/package/packagemanager.h
@@ -100,7 +100,7 @@ public:
* @return Specifies a pointer to the loaded data of the file
* @remark The client must not forget to release the data of the file using BE_DELETE_A.
*/
- virtual byte *GetFile(const Common::String &FileName, unsigned int *pFileSize = NULL) = 0;
+ virtual byte *GetFile(const Common::String &FileName, uint *pFileSize = NULL) = 0;
/**
* Returns a stream from file file from the virtual directory tree
@@ -116,9 +116,9 @@ public:
* @return Specifies a pointer to the loaded data of the file
* @remark The client must not forget to release the data of the file using BE_DELETE_A.
*/
- char *GetXmlFile(const Common::String &FileName, unsigned int *pFileSize = NULL) {
+ char *GetXmlFile(const Common::String &FileName, uint *pFileSize = NULL) {
const char *versionStr = "<?xml version=\"1.0\"?>";
- unsigned int fileSize;
+ uint fileSize;
char *data = (char *)GetFile(FileName, &fileSize);
char *result = (char *)malloc(fileSize + strlen(versionStr) + 1);
strcpy(result, versionStr);
@@ -162,7 +162,7 @@ public:
* @return Specifies a pointer to a BS_PackageManager::FileSearch object, or NULL if no file was found.
* @remark Do not forget to delete the object after use.
*/
- virtual int doSearch(Common::ArchiveMemberList &list, const Common::String &Filter, const Common::String &Path, unsigned int TypeFilter = FT_DIRECTORY | FT_FILE) = 0;
+ virtual int doSearch(Common::ArchiveMemberList &list, const Common::String &Filter, const Common::String &Path, uint TypeFilter = FT_DIRECTORY | FT_FILE) = 0;
/**
* Returns a file's size
@@ -170,7 +170,7 @@ public:
* @return The file size. If an error occurs, then 0xffffffff is returned.
* @remarks For files in packages, then uncompressed size is returned.
**/
- virtual unsigned int GetFileSize(const Common::String &FileName) = 0;
+ virtual uint GetFileSize(const Common::String &FileName) = 0;
/**
* Returns the type of a file.
@@ -179,7 +179,7 @@ public:
* or BS_PackageManager::FT_FILE).
* If the file was not found, then 0 is returned.
*/
- virtual unsigned int GetFileType(const Common::String &FileName) = 0;
+ virtual uint GetFileType(const Common::String &FileName) = 0;
/**
* Determines whether a file exists