diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-15 11:18:36 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-15 11:18:36 +0200 |
commit | 4ba450b7372709507a8602ae5c80b47ef39b6d38 (patch) | |
tree | 325667a6b015156e4e25c5f14bf6b02959bff064 /vdr.c | |
parent | 3d8a9c965366f35ceeadcceb9744ef0fc8f26455 (diff) | |
download | vdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.gz vdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.bz2 |
Implemented cPlugin::Active()
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.256 2006/04/14 11:45:05 kls Exp $ + * $Id: vdr.c 1.257 2006/04/15 11:05:49 kls Exp $ */ #include <getopt.h> @@ -980,6 +980,8 @@ int main(int argc, char *argv[]) if (Interface->Confirm(tr("Recording - shut down anyway?"))) ForceShutdown = true; } + if (cPluginManager::Active(tr("shut down anyway?"))) + ForceShutdown = true; LastActivity = 1; // not 0, see below! UserShutdown = true; break; @@ -1093,7 +1095,7 @@ int main(int argc, char *argv[]) Skins.Message(mtInfo, tr("Editing process finished")); } } - if (!Interact && ((!cRecordControls::Active() && !cCutter::Active() && (!Interface->HasSVDRPConnection() || UserShutdown)) || ForceShutdown)) { + if (!Interact && ((!cRecordControls::Active() && !cCutter::Active() && !cPluginManager::Active() && (!Interface->HasSVDRPConnection() || UserShutdown)) || ForceShutdown)) { time_t Now = time(NULL); if (Now - LastActivity > ACTIVITYTIMEOUT) { // Shutdown: |