os_fs.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 // This file is part of FZIs ic_workspace.
00005 //
00006 // This program is free software licensed under the LGPL
00007 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
00008 // You can find a copy of this license in LICENSE folder in the top
00009 // directory of the source code.
00010 //
00011 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
00012 //
00013 // -- END LICENSE BLOCK ------------------------------------------------
00014 
00015 //----------------------------------------------------------------------
00024 //----------------------------------------------------------------------
00025 #ifndef ICL_CORE_OS_FS_H_INCLUDED
00026 #define ICL_CORE_OS_FS_H_INCLUDED
00027 
00028 #include "icl_core/ImportExport.h"
00029 #include "icl_core/os_ns.h"
00030 
00031 #ifdef _IC_BUILDER_DEPRECATED_STYLE_
00032 # include "icl_core/Deprecate.h"
00033 #endif
00034 
00035 #if defined _SYSTEM_POSIX_
00036 # include "icl_core/os_posix_fs.h"
00037 #elif defined _SYSTEM_WIN32_
00038 # include "icl_core/os_win32_fs.h"
00039 #else
00040 # error "No os_fs implementation defined for this platform."
00041 #endif
00042 
00043 namespace icl_core {
00045 namespace os {
00046 
00047 inline int rename(const char *old_filename, const char *new_filename)
00048 {
00049   return ICL_CORE_OS_IMPL_NS::rename(old_filename, new_filename);
00050 }
00051 
00052 inline int unlink(const char *filename)
00053 {
00054   return ICL_CORE_OS_IMPL_NS::unlink(filename);
00055 }
00056 
00057 #ifdef _IC_BUILDER_ZLIB_
00058 
00062 bool ICL_CORE_IMPORT_EXPORT zipFile(const char *filename, const char *additional_extension = "");
00063 
00065 #ifdef _IC_BUILDER_DEPRECATED_STYLE_
00066 
00067 bool ICL_CORE_IMPORT_EXPORT ICL_CORE_VC_DEPRECATE_STYLE
00068 ZipFile(const char *filename, const char *additional_extension = "") ICL_CORE_GCC_DEPRECATE_STYLE;
00069 
00070 #endif
00071 
00072 
00073 #endif
00074 
00075 }
00076 }
00077 
00078 #endif


fzi_icl_core
Author(s):
autogenerated on Tue Aug 8 2017 02:28:03