Gel2D - The free/open source game creation suite

gelDir.h
Go to the documentation of this file.
00001 /*
00002 Gel2D Game Engine - Cross-platform 2D gaming middleware
00003 Copyright (C) 2011 Mark D. Procarione
00004 
00005 Gel2D is free software: you can redistribute it and/or modify
00006 it under the terms of the GNU General Public License as published by
00007 the Free Software Foundation, either version 3 of the License, or
00008 (at your option) any later version.
00009 
00010 Gel2D is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013 GNU General Public License for more details.
00014 */
00015 
00016 #ifndef __GELDIR_H__
00017 #define __GELDIR_H__
00018 
00019 #include "gelString.h"
00020 
00021 namespace gel
00022 {
00025 
00026         class GelDir
00027         {
00028                 public:
00030 
00032                         static bool createDir( const GelString &name );
00033 
00035 
00039                         static bool createPath( const GelString &name );
00040 
00042 
00044                         static bool removeDir( const GelString &name );
00045 
00047 
00049                         static bool removePath( const GelString &name );
00050 
00052 
00054                         static bool setCurDir( const GelString &name );
00055 
00057 
00058                         static GelString getCurDir();
00059 
00061 
00062                         static GelString getAppDir();
00063 
00065 
00066                         static GelString getAppFilePath();
00067 
00069 
00070                         static GelString getAppFileName();
00071         };
00073 }
00074 
00075 #endif // __GELDIR_H__