From d9aebd1cba00652be2cf698bb533ce11a52fa9f6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 18 Nov 2002 18:50:11 +0000 Subject: removed obsolete example svn-id: r5598 --- backends/fs/fs.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/backends/fs/fs.h b/backends/fs/fs.h index 47d28a2fa4..47e47d3a9e 100644 --- a/backends/fs/fs.h +++ b/backends/fs/fs.h @@ -151,21 +151,4 @@ public: 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 -- cgit v1.2.3