gatelib  2.1
g_io_common_functions.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "g_common_def.h"
5 
6 namespace g
7 {
8 namespace io
9 {
10 
17  void G_LIB_ITEM set_current_dir ( const GWchar_t* );
20  void G_LIB_ITEM set_current_dir ( const char* );
21 
23  std::string G_LIB_ITEM get_current_dir ( );
25  std::wstring G_LIB_ITEM get_current_dirW ( );
26 
28  bool G_LIB_ITEM is_file_existing ( const char* );
30  bool G_LIB_ITEM is_file_existing ( const GWchar_t* );
31 
33  bool G_LIB_ITEM is_dir_existing ( const char* );
35  bool G_LIB_ITEM is_dir_existing ( const GWchar_t* );
36 
39 }//namespace io
40 }//namespace g
void G_LIB_ITEM set_current_dir(const char *)
Sets process current directory (wide char version).
std::string G_LIB_ITEM get_current_dir()
Gets process current directory.
bool G_LIB_ITEM is_file_existing(const GWchar_t *)
Returns true if a file is existing (wide char version).
Definition: g.mthread.ThreadSimpleEvent.h:5
std::wstring G_LIB_ITEM get_current_dirW()
Gets process current directory (wide char version).
bool G_LIB_ITEM is_dir_existing(const GWchar_t *)
Returns true if a directory is existing (wide char version).