diff options
author | erihel <erihel@gmail.com> | 2013-03-17 19:01:32 +0100 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2013-03-17 19:01:32 +0100 |
commit | d6bbc99c90ef586b041651d373524b30fe6c8676 (patch) | |
tree | e01eee683dc4e693450769a441a37c9d070b97d1 /src/ui/studio.h | |
parent | 9f5bef030d97e9ee20d8c635335fdafd854fed44 (diff) | |
download | colobot-d6bbc99c90ef586b041651d373524b30fe6c8676.tar.gz colobot-d6bbc99c90ef586b041651d373524b30fe6c8676.tar.bz2 colobot-d6bbc99c90ef586b041651d373524b30fe6c8676.zip |
* Changed file loading to fix issue #73
* Moved few functions from misc.cpp to profile.cpp (used to set/get user dir)
* Removed some warnings
* More work to change const char* to std::string
* Some work on file path to fix issue #60 with bad slashes on POSIX platform
Diffstat (limited to 'src/ui/studio.h')
-rw-r--r-- | src/ui/studio.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/studio.h b/src/ui/studio.h index 7c2f652..1c14124 100644 --- a/src/ui/studio.h +++ b/src/ui/studio.h @@ -22,6 +22,9 @@ #include "graphics/engine/camera.h" +#include <boost/filesystem.hpp> + +namespace fs = boost::filesystem; #include <string> @@ -81,7 +84,7 @@ protected: void UpdateDialogAction(); void UpdateDialogPublic(); void UpdateDialogList(); - void SearchDirectory(char* dir, bool bCreate); + std::string SearchDirectory(bool bCreate); bool ReadProgram(); bool WriteProgram(); |