1
2
3
4
5
6 #ifndef CMAJOR_RT_DIRECTORY_INCLUDED
7 #define CMAJOR_RT_DIRECTORY_INCLUDED
8 #include <cmajor/rt/RtApi.hpp>
9 #include <stdint.h>
10
11 namespace cmajor { namespace rt {
12
13 void InitDirectory();
14 void DoneDirectory();
15
16 } }
17
18 extern "C" bool RtDirectoryExists(const char* directoryPath);
19 extern "C" void RtCreateDirectories(const char* directoryPath);
20 extern "C" int32_t RtBeginIterateDirectory(const char* directoryPath);
21 extern "C" const char* RtGetNextFilePath(int32_t directoryIterationHandle);
22 extern "C" const char* RtGetNextDirectoryPath(int32_t directoryIterationHandle);
23 extern "C" void RtEndIterateDirectory(int32_t directoryIterationHandle);
24
25 #endif // CMAJOR_RT_DIRECTORY_INCLUDED