FSPDS/arm9/include/filesystem.hpp
2023-06-16 11:40:36 +03:00

17 lines
246 B
C++

#pragma once
#include <fat.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <sys/stat.h>
class DirStream
{
private:
DIR* root = nullptr;
public:
bool open(const char* dir);
bool next(char* dest_name);
void close();
};