This class sets up some static classes used by many other WXP classes. More...
#include "../include/Prog.h"
Static Public Member Functions | |
| static int | readResrcFile (const char *prog, const char *name, const char *tag, const char *file) |
| static int | readResrcFile (const char *prog, const char *file) |
| static int | readResrcFile (const char *prog) |
| static int | readResrcFile () |
| static int | printProg (int level, const char *string) |
| static int | printProg (const char *string) |
| static int | printHelp (ResrcDBList &res_key, ResrcDBList &res_pos, const char *descript) |
| static int | setCommand (const char *string) |
| static int | prompt (const char *prompt, char *str, int len) |
| static int | prompt (const char *prompt, String &str) |
| static String | prompt (const char *prompt) |
This class sets up some static classes used by many other WXP classes.
| int Prog::readResrcFile | ( | const char * | prog, | |
| const char * | file | |||
| ) | [static] |
A simple resource file reader
| prog | Program name | |
| file | Filename or directory of where resource file is located |
References readResrcFile().
| int Prog::readResrcFile | ( | const char * | prog, | |
| const char * | name, | |||
| const char * | tag, | |||
| const char * | file | |||
| ) | [static] |
A simple resource file reader
| prog | Program name | |
| name | Name to use in resource parsing | |
| tag | Tag to set prior to parsing | |
| file | Filename or directory of where resource file is located |
References WXP::Wxp::exit(), WXP::String::get(), WXP::Strings::getNum(), WXP::DateTool::getSeconds(), WXP::Strings::getString(), WXP::ResrcFile::getValid(), WXP::Wxp::NORUN, WXP::ResrcFile::open(), WXP::Strings::set(), WXP::ResrcFile::set(), WXP::Wxp::setDatabasePath(), WXP::Wxp::setMessage(), WXP::ResrcFile::setTag(), and WXP::StrLib::valid().
Referenced by readResrcFile().
1.6.1