mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
port: use own modules for record and network setup
- changes on locales - moved functions int safe_mkdir() and int check_dir from neutrino.cpp into settings_helper.cpp/ - /gui/makefile.am: added network_setup.cpp and record_setup.cpp - small whitespace clean ups and useles comments removed - TODO: Filename Templates in record settings git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@958 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
|
||||
#include <gui/movieinfo.h>
|
||||
|
||||
|
||||
#include <driver/encoding.h>
|
||||
#include <driver/stream2file.h>
|
||||
|
||||
@@ -82,7 +83,6 @@ extern "C" {
|
||||
static CMovieInfo * g_cMovieInfo;
|
||||
static MI_MOVIE_INFO * g_movieInfo;
|
||||
t_channel_id rec_channel_id;
|
||||
int safe_mkdir(char * path);
|
||||
|
||||
static CVCRControl vcrControl;
|
||||
|
||||
@@ -291,8 +291,8 @@ bool CVCRControl::CVCRDevice::Record(const t_channel_id channel_id, int mode, co
|
||||
{
|
||||
// Auf Scart schalten
|
||||
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::VCR_ON, 0 );
|
||||
// Das ganze nochmal in die queue, da obiges RC_timeout erst in der naechsten ev. loop ausgef<EFBFBD>hrt wird
|
||||
// und dann das menu widget das display falsch r<EFBFBD>cksetzt
|
||||
// Das ganze nochmal in die queue, da obiges RC_timeout erst in der naechsten ev. loop ausgeführt wird
|
||||
// und dann das menu widget das display falsch rücksetzt
|
||||
g_RCInput->postMsg( NeutrinoMessages::VCR_ON, 0 );
|
||||
}
|
||||
|
||||
@@ -350,7 +350,7 @@ void CVCRControl::CFileAndServerDevice::CutBackNeutrino(const t_channel_id chann
|
||||
if (channel_id != 0) {
|
||||
if (mode != last_mode && (last_mode != NeutrinoMessages::mode_standby || mode != CNeutrinoApp::getInstance()->getLastMode())) {
|
||||
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , mode | NeutrinoMessages::norezap );
|
||||
// Wenn wir im Standby waren, dann brauchen wir f<EFBFBD>rs streamen nicht aufwachen...
|
||||
// Wenn wir im Standby waren, dann brauchen wir fürs streamen nicht aufwachen...
|
||||
if(last_mode == NeutrinoMessages::mode_standby)
|
||||
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , NeutrinoMessages::mode_standby);
|
||||
}
|
||||
|
Reference in New Issue
Block a user