forked from organicmaps/organicmaps-tmp
[Tizen] Added Target_os.hpp
Derived from noncopyable
This commit is contained in:
parent
91b10d15f1
commit
e5597a3cea
1 changed files with 7 additions and 6 deletions
|
@ -5,9 +5,14 @@
|
|||
#include "../../base/base.hpp"
|
||||
|
||||
#include "../../std/string.hpp"
|
||||
#include "../../std/target_os.hpp"
|
||||
#include "../../std/noncopyable.hpp"
|
||||
|
||||
#ifdef OMIM_OS_WINDOWS
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#ifdef OMIM_OS_TIZEN
|
||||
|
||||
namespace Tizen
|
||||
{
|
||||
namespace Io
|
||||
|
@ -15,13 +20,12 @@ namespace Tizen
|
|||
class File;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
namespace my {
|
||||
|
||||
class FileData
|
||||
class FileData: private noncopyable
|
||||
{
|
||||
public:
|
||||
/// @note Do not change order (@see FileData::FileData).
|
||||
|
@ -45,9 +49,6 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
FileData(FileData const & other);
|
||||
FileData const & operator()(FileData const & other);
|
||||
|
||||
#ifdef OMIM_OS_TIZEN
|
||||
Tizen::Io::File * m_File;
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue