TurtleBrains  0.3.5
High quality, portable, C++ framework for rapid 2D game development.
tb_system_utilities.hpp
1 
9 #ifndef TurtleBrains_Utilities_hpp
10 #define TurtleBrains_Utilities_hpp
11 
12 #include <turtle_brains/core/tb_string.hpp>
13 
14 namespace TurtleBrains
15 {
16  namespace System
17  {
21  tbCore::tbString UserDirectoryPath(void);
22 
26  bool CreateDirectoryPath(const tbCore::tbString& pathToDirectory);
27 
31  bool DoesFileExist(const tbCore::tbString& pathToFile);
32 
36  bool DoesDirectoryExist(const tbCore::tbString& pathToDirectory);
37 
45  tbCore::tbString PathToSystemSlashes(const tbCore::tbString& path);
46  tbCore::tbString& PathToSystemSlashes(tbCore::tbString& path);
47 
54  tbCore::tbString PathToNormalSlashes(const tbCore::tbString& path);
55  tbCore::tbString& PathToNormalSlashes(tbCore::tbString& path);
56 
60  void OpenBrowserTo(const tbCore::tbString& uri);
61 
62  }; /* namespace System */
63 }; /* namespace TurtleBrains */
64 
65 namespace tbSystem = TurtleBrains::System;
66 
67 #endif /* TurtleBrains_Utilities_hpp */
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:21
Definition: tb_system_timer.hpp:14
std::string tbString
Definition: tb_string.hpp:335