WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Prog.h
1#ifndef _WINC_PROG
2#define _WINC_PROG
3
4#include <WXP/ResrcDBList.h>
5#include <WXP/String.h>
6
7namespace WXP {
8 class Prog { /* Coordinate data structure */
9 public:
10 static int readResrcFile( const char *prog, const char *name,
11 const char *tag, const char *file );
12 static int readResrcFile( const char *prog, const char *file );
13 static int readResrcFile( const char *prog );
14 static int readResrcFile();
15 static int printProg( int level, const char *string );
16 static int printProg( const char *string );
17 static int printHelp( ResrcDBList &res_key, ResrcDBList &res_pos,
18 const char *descript );
19
20 static int setCommand( const char *string );
21 static int prompt( const char *prompt, char *str, int len );
22 static int prompt( const char *prompt, String &str );
23 static String prompt( const char *prompt );
24 };
25}
26#endif
This class sets up some static classes used by WXP programs.
Definition Prog.h:8
static int setCommand(const char *string)
Definition Prog.cc:162
static int prompt(const char *prompt, char *str, int len)
Definition Prog.cc:192
static int printProg(int level, const char *string)
Definition Prog.cc:126
static int readResrcFile()
Definition Prog.cc:117
static int printHelp(ResrcDBList &res_key, ResrcDBList &res_pos, const char *descript)
Definition Prog.cc:147
This class stores resource database information.
Definition ResrcDBList.h:7
This is a variable length string class.
Definition String.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4