Remote Call Framework 3.1
FileSystem.hpp
Go to the documentation of this file.
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2019, Delta V Software. All rights reserved.
6 // http://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF
12 // under GPL terms.
13 //
14 // Version: 3.1
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
20 
21 #ifndef INCLUDE_RCF_FILESYSTEM_HPP
22 #define INCLUDE_RCF_FILESYSTEM_HPP
23 
24 #include <experimental/filesystem>
25 #include <cstdint>
26 
27 #include <RCF/Export.hpp>
28 
29 //#define RCF_FILESYSTEM_NS std::tr2::sys
30 #define RCF_FILESYSTEM_NS std::experimental::filesystem
31 
32 namespace RCF
33 {
35  typedef RCF_FILESYSTEM_NS::path Path;
36 
37  RCF_EXPORT Path makeCanonical(const Path& p);
38 
39  RCF_EXPORT void setLastWriteTime(const Path& p, std::uint64_t writeTime);
40  RCF_EXPORT std::uint64_t getLastWriteTime(const Path& p);
41 
42 }
43 
44 #endif // ! INCLUDE_RCF_FILESYSTEM_HPP
45 
RCF_FILESYSTEM_NS::path Path
Typedef for standard C++ path type.
Definition: FileSystem.hpp:35
Definition: AmiIoHandler.hpp:24