mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
fix warnings
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@303 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 9f87f97094
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-08 (Mon, 08 Feb 2010)
Origin message was:
------------------
-fix warnings
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@303 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -49,12 +49,12 @@ int CRCLock::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
parent->hide();
|
||||
|
||||
bool no_input = (actionKey == NO_USER_INPUT);
|
||||
if (ShowLocalizedMessage(LOCALE_RCLOCK_TITLE, LOCALE_RCLOCK_LOCKMSG,
|
||||
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbCancel,
|
||||
if (ShowLocalizedMessage(LOCALE_RCLOCK_TITLE, LOCALE_RCLOCK_LOCKMSG,
|
||||
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbCancel,
|
||||
NEUTRINO_ICON_INFO,450,no_input ? 5 : -1,no_input) == CMessageBox::mbrCancel)
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
|
||||
// -- Lockup Box
|
||||
// -- Lockup Box
|
||||
lockBox();
|
||||
|
||||
ShowLocalizedMessage(LOCALE_RCLOCK_TITLE, LOCALE_RCLOCK_UNLOCKMSG, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO,450, no_input ? 5 : -1);
|
||||
@@ -66,7 +66,7 @@ void CRCLock::lockBox()
|
||||
neutrino_msg_t msg;
|
||||
neutrino_msg_data_t data;
|
||||
|
||||
unsigned long long timeoutEnd;
|
||||
uint64_t timeoutEnd;
|
||||
|
||||
// -- Loop until release key pressed
|
||||
// -- Key sequence: <RED> <DBOX> within 5 secs
|
||||
@@ -92,7 +92,7 @@ void CRCLock::lockBox()
|
||||
// -- so be it...
|
||||
|
||||
if (msg > CRCInput::RC_MaxRC) {
|
||||
CNeutrinoApp::getInstance()->handleMsg(msg, data);
|
||||
CNeutrinoApp::getInstance()->handleMsg(msg, data);
|
||||
} else {
|
||||
CVFD::getInstance()->showRCLock();
|
||||
// Since showRCLock blocks 2secs for each key we eat all
|
||||
|
Reference in New Issue
Block a user