1 //-----------------------------------------------------------------------------
2 //
3 //	FileOpsImpl.h
4 //
5 //	WinRT implementation of file operations
6 //
7 //	Copyright (c) 2015 Microsoft Corporation
8 //	All rights reserved.
9 //
10 //	SOFTWARE NOTICE AND LICENSE
11 //
12 //	This file is part of OpenZWave.
13 //
14 //	OpenZWave is free software: you can redistribute it and/or modify
15 //	it under the terms of the GNU Lesser General Public License as published
16 //	by the Free Software Foundation, either version 3 of the License,
17 //	or (at your option) any later version.
18 //
19 //	OpenZWave is distributed in the hope that it will be useful,
20 //	but WITHOUT ANY WARRANTY; without even the implied warranty of
21 //	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 //	GNU Lesser General Public License for more details.
23 //
24 //	You should have received a copy of the GNU Lesser General Public License
25 //	along with OpenZWave.  If not, see <http://www.gnu.org/licenses/>.
26 //
27 //-----------------------------------------------------------------------------
28 #ifndef _FileOpsImpl_H
29 #define _FileOpsImpl_H
30 
31 #include <stdarg.h>
32 #include <string>
33 #include "Defs.h"
34 #include "platform/FileOps.h"
35 
36 namespace OpenZWave
37 {
38 	namespace Internal
39 	{
40 		namespace Platform
41 		{
42 
43 			class FileOpsImpl
44 			{
45 					friend class FileOps;
46 
47 				private:
48 					FileOpsImpl();
49 					~FileOpsImpl();
50 
51 					bool FolderExists(const string &_filename);
52 					bool FileExists(const string _filename);
53 					bool FileWriteable(const string _filename);
54 					bool FileRotate(const string _filename);
55 					bool FileCopy(const string, const string);
56 					bool FolderCreate(const string _dirname);
57 
58 			};
59 		} // namespace Platform
60 	} // namespace Internal
61 } // namespace OpenZWave
62 
63 #endif //_FileOpsImpl_H
64 
65