move most recording related code to driver/record.cpp

* remove global was_record, try to handle record in standby without
* change record keys:
	record button do record or stop current channel
	stop button show menu to select which recording to stop
* cleanup unused/commented code

Tree should compile again.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1580 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: efe15bba5c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-07-21 (Thu, 21 Jul 2011)

Origin message was:
------------------
* move most recording related code to driver/record.cpp
* remove global was_record, try to handle record in standby without
* change record keys:
	record button do record or stop current channel
	stop button show menu to select which recording to stop
* cleanup unused/commented code

Tree should compile again.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1580 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2011-07-21 11:24:20 +00:00
parent d3a77f7df7
commit 4542f15f01
2 changed files with 136 additions and 616 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -125,8 +125,6 @@ private:
bool softupdate;
// bool fromflash;
bool init_cec_setting;
CTimerd::RecordingInfo* nextRecordingInfo;
//bool record_mode;
int lastChannelMode;
struct timeval standby_pressed_at;
@@ -145,7 +143,6 @@ private:
CMoviePluginChangeExec *MoviePluginChanger;
COnekeyPluginChangeExec *OnekeyPluginChanger;
CIPChangeNotifier *MyIPChanger;
// CVCRControl *vcrControl;
CConsoleDestChangeNotifier *ConsoleDestinationChanger;
CRCLock *rcLock;
// USERMENU
@@ -158,8 +155,6 @@ private:
void setupNetwork( bool force= false );
void setupNFS();
void startNextRecording();
void tvMode( bool rezap = true );
void radioMode( bool rezap = true );
void scartMode( bool bOnOff );
@@ -179,8 +174,6 @@ private:
void SelectAPID();
void SelectNVOD();
void CmdParser(int argc, char **argv);
void InitSCSettings(CMenuWidget &);
bool doGuiRecord(char * preselectedDir, bool addTimer = false);
void saveColors(const char * fname);
CNeutrinoApp();
@@ -227,7 +220,6 @@ public:
return current_muted;
}
int recordingstatus;
int recording_id;
void SendSectionsdConfig(void);
int GetChannelMode(void) {
return lastChannelMode;
@@ -235,7 +227,7 @@ public:
void SetChannelMode(int mode);
void quickZap(int msg);
void StopSubtitles();
void StartSubtitles();
void StartSubtitles(bool show = true);
void SelectSubtitles();
void showInfo(void);
CConfigFile* getConfigFile() {return &configfile;};