along with Lugaru. If not, see <http://www.gnu.org/licenses/>.
*/
-/**> HEADER FILES <**/
-#include "WinDefs.h"
-#include <windows.h>
+#include "WinDefs.hpp"
+
#include <errno.h>
-#include <time.h>
#include <stdio.h>
+#include <time.h>
+#include <windows.h>
class AppTime
return time;
}
-
-
-static char g_filename[ 256];
-char* ConvertFileName( const char* orgfilename)
-{
- // translate filename into proper path name
- if (orgfilename[ 0] == ':')
- orgfilename++;
- strcpy( g_filename, orgfilename);
-
- for (int n = 0; g_filename[ n]; n++) {
- if (g_filename[ n] == ':')
- g_filename[ n] = '/';
- }
-
- return g_filename;
-}
-
-char* ConvertFileName( const char* orgfilename, const char* junk)
-{
- return ConvertFileName(orgfilename);
-}