2018-02-06 Fred Gleason <fredg@paravelsystems.com>

* Refactored the RDListLogs class to use RDApplication.
	* Converted rdadmin(1) to use RDApplication.
This commit is contained in:
Fred Gleason
2018-02-05 22:22:50 -05:00
parent dbbf49e987
commit 2d2d52e408
38 changed files with 315 additions and 311 deletions

View File

@@ -2,7 +2,7 @@
//
// Global Definitions for RDAdmin
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2003,2016-2018 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
@@ -21,21 +21,11 @@
#ifndef GLOBALS_H
#define GLOBALS_H
#include <rdripc.h>
#include <rdconfig.h>
#include <rduser.h>
#include <rdstation.h>
#include <rdsystem.h>
#include <rdcart_dialog.h>
//
// Global Classes
//
extern RDRipc *rdripc;
extern RDConfig *admin_config;
extern RDUser *admin_user;
extern RDStation *admin_station;
extern RDSystem *admin_system;
extern RDCartDialog *admin_cart_dialog;
extern QString admin_svc_name;
extern QString admin_admin_username;
@@ -46,4 +36,5 @@ extern bool admin_skip_backup;
extern QString admin_backup_filename;
extern void PrintError(const QString &str,bool interactive);
#endif // GLOBALS_H