summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-09-19 17:48:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-09-19 17:48:42 +0200
commit0d85a30e61e662affc1d12a4c1ca71d8b7a8e94b (patch)
treef1abf85d169796ba86cd6bedcdbb380f72697bd6 /vdr.c
parent3219452195dec73875dfc5e30e575df11b33d4e8 (diff)
downloadvdr-0d85a30e61e662affc1d12a4c1ca71d8b7a8e94b.tar.gz
vdr-0d85a30e61e662affc1d12a4c1ca71d8b7a8e94b.tar.bz2
Fixed 'confirm' dialog
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/vdr.c b/vdr.c
index 2ab32c17..14cf8068 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.33 2000/09/17 14:15:24 kls Exp $
+ * $Id: vdr.c 1.34 2000/09/18 22:29:56 kls Exp $
*/
#include <getopt.h>
@@ -34,7 +34,6 @@
#include "interface.h"
#include "menu.h"
#include "recording.h"
-#include "svdrp.h"
#include "tools.h"
#include "videodir.h"
@@ -176,7 +175,7 @@ int main(int argc, char *argv[])
if (!Keys.Load(AddDirectory(ConfigDirectory, KEYS_CONF)))
Interface.LearnKeys();
#endif
- Interface.Init();
+ Interface.Init(SVDRPport);
cDvbApi::SetPrimaryDvbApi(Setup.PrimaryDVB);
@@ -191,7 +190,6 @@ int main(int argc, char *argv[])
// Main program loop:
- cSVDRP *SVDRP = SVDRPport ? new cSVDRP(SVDRPport) : NULL;
cOsdBase *Menu = NULL;
cReplayControl *ReplayControl = NULL;
int LastChannel = -1;
@@ -281,13 +279,11 @@ int main(int argc, char *argv[])
default: break;
}
}
- if (SVDRP)
- SVDRP->Process();//TODO lock menu vs. SVDRP?
}
isyslog(LOG_INFO, "caught signal %d", Interrupted);
delete Menu;
delete ReplayControl;
- delete SVDRP;
+ Interface.Cleanup();
cDvbApi::Cleanup();
isyslog(LOG_INFO, "exiting");
if (SysLogLevel > 0)