00001 /*************************************************************************** 00002 fileutils.h - description 00003 ------------------- 00004 begin : Sun Oct 7 2001 00005 copyright : (C) 2001 by Matt Grover 00006 email : mpgrover@sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef FILEUTILS_H 00019 #define FILEUTILS_H 00020 00021 00026 class FileUtils { 00027 public: 00028 FileUtils(); 00029 ~FileUtils(); 00030 00031 static void GetExecDir(const char* argv, const char* execName, char* path); 00032 static bool FindFile(const char* dir, const char* file); 00033 }; 00034 00035 #endif