mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
Fix lcd/crt preset saving; Option to set usals flag for all
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@523 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5b03054c2f
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-03-21 (Sun, 21 Mar 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -63,6 +63,7 @@
|
||||
#include <pwrmngr.h>
|
||||
#include "libdvbsub/dvbsub.h"
|
||||
#include "libtuxtxt/teletext.h"
|
||||
#include <zapit/satconfig.h>
|
||||
|
||||
extern CPlugins * g_PluginList; /* neutrino.cpp */
|
||||
extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
|
||||
@@ -1003,3 +1004,15 @@ printf("CScreePresetNotifier::changeNotify preset %d (setting %d)\n", preset, g_
|
||||
CFrameBuffer::getInstance()->Clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CAllUsalsNotifier::changeNotify(const neutrino_locale_t OptionName, void * data)
|
||||
{
|
||||
int onoff = * (int *) data;
|
||||
printf("CAllUsalsNotifier::changeNotify: %s\n", onoff ? "ON" : "OFF");
|
||||
|
||||
sat_iterator_t sit;
|
||||
|
||||
for (sit = satellitePositions.begin(); sit != satellitePositions.end(); sit++) {
|
||||
sit->second.use_usals = onoff;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user