Reorder headers a bit. Add control.h and bios_disk.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3280
This commit is contained in:
parent
bb4141a03a
commit
c11d55a223
7 changed files with 209 additions and 104 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2002-2007 The DOSBox Team
|
||||
* Copyright (C) 2002-2008 The DOSBox Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: cross.h,v 1.18 2007-01-08 19:45:37 qbix79 Exp $ */
|
||||
/* $Id: cross.h,v 1.19 2009-02-01 14:11:45 qbix79 Exp $ */
|
||||
|
||||
#ifndef DOSBOX_CROSS_H
|
||||
#define DOSBOX_CROSS_H
|
||||
|
@ -28,6 +28,7 @@
|
|||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <string>
|
||||
|
||||
#if defined (_MSC_VER) /* MS Visual C++ */
|
||||
#include <direct.h>
|
||||
|
@ -66,4 +67,14 @@
|
|||
static inline float powf (float x, float y) { return (float) pow (x,y); }
|
||||
#endif
|
||||
|
||||
class Cross {
|
||||
public:
|
||||
static void GetPlatformConfigDir(std::string& in);
|
||||
static void GetPlatformConfigName(std::string& in);
|
||||
static void CreatePlatformConfigDir(std::string& in);
|
||||
static void ResolveHomedir(std::string & temp_line);
|
||||
static void CreateDir(std::string const& temp);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue