mirror of
https://github.com/joel16/ElevenMPV.git
synced 2024-11-27 05:20:30 +00:00
1d22c961ef
There is probably a much better way to do this, but this works for now.
22 lines
484 B
C
22 lines
484 B
C
#ifndef _ELEVENMPV_DIRBROWSE_H_
|
|
#define _ELEVENMPV_DIRBROWSE_H_
|
|
|
|
#include <psp2/types.h>
|
|
|
|
typedef struct File {
|
|
struct File *next; // Next item
|
|
SceBool is_dir; // Folder flag
|
|
char name[256]; // File name
|
|
char ext[5]; // File extension
|
|
} File;
|
|
|
|
extern File *files;
|
|
|
|
int Dirbrowse_PopulateFiles(SceBool clear);
|
|
void Dirbrowse_DisplayFiles(void);
|
|
File *Dirbrowse_GetFileIndex(int index);
|
|
void Dirbrowse_OpenFile(void);
|
|
int Dirbrowse_Navigate(SceBool parent);
|
|
|
|
#endif
|