summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice_genuineintel.cpp
Side-by-side diff
Diffstat (limited to 'libopie2/opiecore/device/odevice_genuineintel.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_genuineintel.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/libopie2/opiecore/device/odevice_genuineintel.cpp b/libopie2/opiecore/device/odevice_genuineintel.cpp
index 61ba052..1584249 100644
--- a/libopie2/opiecore/device/odevice_genuineintel.cpp
+++ b/libopie2/opiecore/device/odevice_genuineintel.cpp
@@ -115,79 +115,73 @@ void GenuineIntel::initButtons()
b. setFactoryPresetHeldAction ( OQCopMessage ( makeChannel ( ib->fheldservice ), ib->fheldaction ));
d->m_buttons->append ( b );
}
reloadButtonMapping();
}
QValueList <OLed> GenuineIntel::ledList() const
{
QValueList <OLed> vl;
return vl; //none
}
QValueList <OLedState> GenuineIntel::ledStateList ( OLed ) const
{
QValueList <OLedState> vl;
return vl; // none
}
OLedState GenuineIntel::ledState ( OLed ) const
{
return Led_Off;
}
bool GenuineIntel::setLedState ( OLed , OLedState )
{
return false;
}
bool GenuineIntel::filter ( int /*unicode*/, int , int , bool , bool )
{
return false;
}
void GenuineIntel::playAlarmSound()
{
#ifndef QT_NO_SOUND
static Sound snd ( "alarm" );
if(!snd.isFinished())
return;
changeMixerForAlarm(0, "/dev/sound/mixer", &snd );
snd. play();
#endif
}
-bool GenuineIntel::setSoftSuspend ( bool )
-{
- return false;
-}
-
-
bool GenuineIntel::setDisplayBrightness ( int )
{
return false;
}
int GenuineIntel::displayBrightnessResolution() const
{
return 1; // perhaps to avoid division by zero
}
bool GenuineIntel::hasLightSensor() const
{
return false;
}
int GenuineIntel::readLightSensor()
{
return 0;
}
int GenuineIntel::lightSensorResolution() const
{
return 1; // see above
}