[Scummvm-cvs-logs] CVS: scummvm/backends/fs fs.h,1.2,1.3
Max Horn
fingolfin at projects.sourceforge.net
Mon Nov 18 10:57:04 CET 2002
Update of /cvsroot/scummvm/scummvm/backends/fs
In directory sc8-pr-cvs1:/tmp/cvs-serv13321
Modified Files:
fs.h
Log Message:
removed obsolete example
Index: fs.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/fs/fs.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- fs.h 14 Nov 2002 13:51:59 -0000 1.2
+++ fs.h 18 Nov 2002 18:50:11 -0000 1.3
@@ -151,21 +151,4 @@
int size() const { return _size; }
};
-
-/*
- * Finally, a piece of sample code that does print out the content of your root directory:
-
-void test_FS_stuff() {
- FilesystemNode *root = FilesystemNode::getRoot();
- FSList *filesInRoot = root->listDir();
-
- printf("Content of your root directory:\n");
- for (int i = 0; i < filesInRoot->size(); i++) {
- const FilesystemNode &node = (*filesInRoot)[i];
- printf("File: '%s', path: '%s'\n", node.displayName().c_str(), node.path().c_str());
- }
-}
-
- *
- */
#endif
More information about the Scummvm-git-logs
mailing list