1
0
Fork 0

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:
Sjoerd van der Berg 2002-10-18 09:19:53 +00:00
parent 04e582fe0a
commit 1591baeb42

View file

@ -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 */
};