mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2018-01-31 Fred Gleason <fredg@paravelsystems.com>
* Converted rdrepld(8) to use RDApplication.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Rivendell Replicator Daemon
|
||||
//
|
||||
// (C) Copyright 2010,2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2010,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
|
||||
@@ -26,12 +26,10 @@
|
||||
#include <qobject.h>
|
||||
#include <qtimer.h>
|
||||
|
||||
#include <rdcheck_daemons.h>
|
||||
#include <rdsystem.h>
|
||||
#include <rdstation.h>
|
||||
#include <rdconfig.h>
|
||||
#include <rdcheck_daemons.h>
|
||||
|
||||
#include <replfactory.h>
|
||||
#include "replfactory.h"
|
||||
|
||||
#define RDREPLD_USAGE "[-d][--event-id=<id>]\n\nOptions:\n\n-d\n Set 'debug' mode, causing rdrepld(8) to stay in the foreground\n and print debugging info on standard output.\n\n"
|
||||
#define RD_RDREPLD_PID "rdrepl.pid"
|
||||
@@ -53,8 +51,6 @@ class MainObject : public QObject
|
||||
void FreeReplicators();
|
||||
QTimer *repl_loop_timer;
|
||||
QString repl_temp_dir;
|
||||
RDStation *repl_station;
|
||||
QSqlDatabase *repl_db;
|
||||
std::vector<ReplFactory *> repl_replicators;
|
||||
bool debug;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user