[Scummvm-cvs-logs] SF.net SVN: scummvm:[42864] tools/branches/gsoc2009-gui/util.h

Remere at users.sourceforge.net Remere at users.sourceforge.net
Tue Jul 28 23:06:28 CEST 2009


Revision: 42864
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42864&view=rev
Author:   Remere
Date:     2009-07-28 21:06:28 +0000 (Tue, 28 Jul 2009)

Log Message:
-----------
*Forgot to commit a file.

Modified Paths:
--------------
    tools/branches/gsoc2009-gui/util.h

Modified: tools/branches/gsoc2009-gui/util.h
===================================================================
--- tools/branches/gsoc2009-gui/util.h	2009-07-28 20:22:38 UTC (rev 42863)
+++ tools/branches/gsoc2009-gui/util.h	2009-07-28 21:06:28 UTC (rev 42864)
@@ -296,6 +296,7 @@
 
 	bool hasExtension(std::string suffix) const;
 	bool empty() const;
+	bool directory() const {return getFullName().size() == 0;}
 	bool equals(const Filename &other) const;
 	
 	// Doesn't work


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