mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
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:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Command Line Operations for RDLogManager
|
||||
//
|
||||
// (C) Copyright 2012-2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2012-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -47,7 +47,7 @@ int RunReportOperation(int argc,char *argv[],const QString &rptname,
|
||||
return 256;
|
||||
}
|
||||
|
||||
rda=new RDApplication("RDLogManager","rdlogmanager",RDLOGMANAGER_USAGE);
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("RDLogManager","rdlogmanager",RDLOGMANAGER_USAGE));
|
||||
if(!rda->open(&err_msg)) {
|
||||
fprintf(stderr,"rdlogmanager: %s\n",err_msg.toUtf8().constData());
|
||||
exit(RDApplication::ExitNoDb);
|
||||
|
@@ -46,7 +46,7 @@ LogObject::LogObject(const QString &svcname,int start_offset,
|
||||
//
|
||||
// Open the Database
|
||||
//
|
||||
rda=new RDApplication("RDLogManager","rdlogmanager","");
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("RDLogManager","rdlogmanager",""));
|
||||
if(!rda->open(&err_msg)) {
|
||||
fprintf(stderr,"rdlogmanager: %s\n",err_msg.toUtf8().constData());
|
||||
exit(RDApplication::ExitNoDb);
|
||||
|
Reference in New Issue
Block a user