Support for the new environment functions.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@343
This commit is contained in:
parent
04e582fe0a
commit
1591baeb42
1 changed files with 5 additions and 4 deletions
|
@ -23,6 +23,7 @@
|
|||
#include "setup.h"
|
||||
|
||||
|
||||
|
||||
class Program;
|
||||
|
||||
typedef void (PROGRAMS_Main)(Program * * make);
|
||||
|
@ -36,10 +37,10 @@ public:
|
|||
CommandLine * cmd;
|
||||
DOS_PSP * psp;
|
||||
virtual void Run(void)=0;
|
||||
char * GetEnvStr(char * env_entry);
|
||||
char * GetEnvNum(Bit32u num);
|
||||
Bit32u GetEnvCount(void);
|
||||
bool SetEnv(char * env_entry,char * new_string);
|
||||
bool Program::GetEnvStr(const char * entry,std::string & result);
|
||||
bool GetEnvNum(Bitu num,std::string & result);
|
||||
Bitu GetEnvCount(void);
|
||||
bool SetEnv(const char * entry,const char * new_string);
|
||||
void WriteOut(const char * format,...); /* Write to standard output */
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue