2018-10-26 Fred Gleason <fredg@paravelsystems.com>

* Added a warning when starting a module if the host does not
	have a corresponding entry in the database.
This commit is contained in:
Fred Gleason
2018-10-26 10:57:41 -04:00
parent 326de7c1aa
commit 501ed6ae1f
10 changed files with 107 additions and 3 deletions

View File

@@ -40,10 +40,11 @@ class RDApplication : public QObject
{
Q_OBJECT;
public:
enum ErrorType {ErrorOk=0,ErrorDbVersionSkew=1,ErrorNoHostEntry=2};
RDApplication(const QString &module_name,const QString &cmdname,
const QString &usage,QObject *parent=0);
~RDApplication();
bool open(QString *err_msg);
bool open(QString *err_msg,ErrorType *err_type=NULL);
RDAirPlayConf *airplayConf();
RDCae *cae();
RDCmdSwitch *cmdSwitch();