Added browse_root(void)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@415 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Hak 2002-05-04 10:02:50 +00:00
parent dbf60ee358
commit 523f228bbe
2 changed files with 7 additions and 1 deletions

View file

@ -22,15 +22,20 @@
#include <lcd.h>
#include <button.h>
#include "kernel.h"
#include "tree.h"
#ifdef WIN32
#include <windows.h>
#endif // WIN32
#define TREE_MAX_LEN 15
#define TREE_MAX_LEN 15
#define TREE_MAX_ON_SCREEN 7
int dircursor=0;
void browse_root(void) {
dirbrowse("/");
}
bool dirbrowse(char *root)
{
DIR *dir = opendir(root);

View file

@ -17,4 +17,5 @@
*
****************************************************************************/
void browse_root(void);
bool dirbrowse(char *root);