mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2019-06-21 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDApplication::syslog()' methods.
This commit is contained in:
@@ -28,10 +28,11 @@
|
||||
#include <qdatetime.h>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
#include <rdcmd_switch.h>
|
||||
#include <rdconfig.h>
|
||||
|
||||
#include <rdpopup.h>
|
||||
#include "rdpopup.h"
|
||||
|
||||
//
|
||||
// Icons
|
||||
@@ -74,7 +75,7 @@ int main(int argc,char *argv[])
|
||||
}
|
||||
|
||||
//
|
||||
// Open the syslog
|
||||
// Open the config
|
||||
//
|
||||
RDConfig *config=new RDConfig();
|
||||
config->load();
|
||||
@@ -128,7 +129,7 @@ int main(int argc,char *argv[])
|
||||
mb->exec();
|
||||
delete mb;
|
||||
|
||||
syslog(LOG_INFO,"\"%s\" acknowledged",argv[argc-1]);
|
||||
RDApplication::syslog(config,LOG_INFO,"\"%s\" acknowledged",argv[argc-1]);
|
||||
closelog();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user