OpenZWave Library
1.4.0
Loading...
Searching...
No Matches
cpp
src
platform
FileOps.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
//
3
// FileOps.h
4
//
5
// Cross-platform File Operations
6
//
7
// Copyright (c) 2012 Greg Satz <satz@iranger.com>
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 _FileOps_H
29
#define _FileOps_H
30
31
#include <stdarg.h>
32
#include <string>
33
#include "
Defs.h
"
34
35
namespace
OpenZWave
36
{
37
class
FileOpsImpl
;
38
41
class
FileOps
42
{
43
public
:
49
static
FileOps*
Create
();
50
55
static
void
Destroy
();
56
62
static
bool
FolderExists
(
const
string
&_folderName );
63
64
private
:
65
FileOps();
66
~FileOps();
67
68
static
FileOpsImpl
* m_pImpl;
// Pointer to an object that encapsulates the platform-specific implementation of the FileOps.
69
static
FileOps* s_instance;
70
};
71
72
}
// namespace OpenZWave
73
74
#endif
//_FileOps_H
75
Defs.h
OpenZWave::FileOpsImpl
Definition
windows/FileOpsImpl.h:39
OpenZWave::FileOps::Create
static FileOps * Create()
Definition
FileOps.cpp:49
OpenZWave::FileOps::Destroy
static void Destroy()
Definition
FileOps.cpp:64
OpenZWave::FileOps::FolderExists
static bool FolderExists(const string &_folderName)
Definition
FileOps.cpp:76
OpenZWave
Definition
Bitfield.h:35
Generated on
for OpenZWave Library by
1.16.1