[Scummvm-cvs-logs] SF.net SVN: scummvm: [27089] scummvm/branches/gsoc2007-fsnode/common/fs.h

david_corrales at users.sourceforge.net david_corrales at users.sourceforge.net
Tue Jun 5 00:16:18 CEST 2007


Revision: 27089
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27089&view=rev
Author:   david_corrales
Date:     2007-06-04 15:16:17 -0700 (Mon, 04 Jun 2007)

Log Message:
-----------
Expose new fs backend methods in the FilesystemNode class.

Modified Paths:
--------------
    scummvm/branches/gsoc2007-fsnode/common/fs.h

Modified: scummvm/branches/gsoc2007-fsnode/common/fs.h
===================================================================
--- scummvm/branches/gsoc2007-fsnode/common/fs.h	2007-06-04 22:03:22 UTC (rev 27088)
+++ scummvm/branches/gsoc2007-fsnode/common/fs.h	2007-06-04 22:16:17 UTC (rev 27089)
@@ -127,6 +127,11 @@
 	 */
 	virtual Common::String displayName() const;
 
+	/*
+	 * Indicates whether the object refered by this path exists in the filesystem or not.
+	 */
+	virtual bool exists() const;
+
 	/**
 	 * Return a string representation of the name of the file. This is can be
 	 * used e.g. by detection code that relies on matching the name of a given
@@ -184,9 +189,19 @@
 	virtual bool isDirectory() const;
 	
 	/**
+	 * Indicates whether this path can be read from or not.
+	 */
+	virtual bool isReadable() const;
+	
+	/**
 	 * Indicates whether this path is valid or not for usage.
 	 */
 	bool isValid() const;
+	
+	/**
+	 * Indicates whether this path can be written to or not.
+	 */
+	virtual bool isWritable() const;
 
 protected:
 	/**


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list