2021-01-20 Fred Gleason <fredg@paravelsystems.com>

* Split the 'RDApplication' class into the base class
	'RDCoreApplication' and 'RDApplication'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-01-20 19:50:24 -05:00
parent 1b5a800783
commit a3525c88e2
54 changed files with 1475 additions and 1370 deletions

View File

@@ -51,7 +51,7 @@ Xport::Xport(QObject *parent)
//
// Open the Database
//
rda=new RDApplication("rdxport.cgi","rdxport.cgi",RDXPORT_CGI_USAGE,this);
rda=static_cast<RDApplication *>(new RDCoreApplication("rdxport.cgi","rdxport.cgi",RDXPORT_CGI_USAGE,this));
if(!rda->open(&err_msg,NULL,false)) {
printf("Content-type: text/html\n");
printf("Status: 500\n");
@@ -475,7 +475,7 @@ void Xport::XmlExit(const QString &str,int code,const QString &srcfile,
int main(int argc,char *argv[])
{
QApplication a(argc,argv,false);
QCoreApplication a(argc,argv,false);
new Xport();
return a.exec();
}