59 class rmanClientApp :
public wxApp
63 rmanClientApp(
const char *homevar,
const char *prefsname,
const char *labelname);
64 virtual ~rmanClientApp(
void);
66 int OpenServer(
const char *srvname,
int srvport,
const char *dbname,
67 const char *usrname,
const char *usrpassword);
68 int CloseServer(
void);
69 bool ReadDBState(
void);
70 int LookupCollection(
void);
71 int LookupScaledCollection(
void);
72 int LookupScaledCollection(
const char *name,
double scale);
73 int LookupOrthosection(
void);
74 int LookupOrthosection(
const char *name,
const double *loid);
75 int CreateCollection(
void);
76 int DeleteCollection(
void);
77 rviewFrame *OpenFile(
unsigned int flags=0, r_Ref<r_GMarray> *newMddObj=NULL,
bool resultwin=
FALSE);
78 virtual void Shutdown(
void);
79 int insertMDD(r_Ref<r_GMarray> srcMdd,
char *collName=NULL, r_Minterval *domain=NULL);
80 int executeQuery(
char *query, r_Ref<r_GMarray> *updateMdd=NULL);
81 collection_desc *executeQuerySync(
char *query, r_Ref<r_GMarray> *updateMdd=NULL,
bool showProgress=
TRUE);
82 int getMinterval(r_Minterval &dom,
const char *collname,
const double *loid=NULL);
84 int SavePreferences(
void)
const;
85 bool findPreferencesOnPath(
char *path);
88 static rmanClientApp *theApp(
void);
92 rviewDatabase database;
93 char prefsFile[STRINGSIZE];
94 char prefsSaveFile[STRINGSIZE];
95 char prefsFileLeafname[STRINGSIZE];
96 char homeDir[STRINGSIZE];
100 static rmanClientApp *theclientapp;
101 static const char *vffFileName;
#define FALSE
Definition: defs.h:70
#define TRUE
Definition: defs.h:67