mirror of
https://github.com/NotImplementedLife/FSPDS.git
synced 2025-06-19 09:25:38 -04:00
17 lines
246 B
C++
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();
|
|
}; |