Bug 648508 - Remove the Windows CE code for accelerometer support (follow up); r=jst

This commit is contained in:
Ed Morley 2011-04-08 13:33:53 +01:00
Родитель a544f30f34
Коммит ef500accd4
1 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -39,8 +39,6 @@
#include "nsIServiceManager.h"
#include "windows.h"
#if !defined(WINCE) && !defined(WINCE_WINDOWS_MOBILE) // normal windows.
////////////////////////////
// ThinkPad
////////////////////////////
@ -121,8 +119,6 @@ ThinkPadSensor::GetValues(double *x, double *y, double *z)
*z = 1.0;
}
#endif
nsAccelerometerSystem::nsAccelerometerSystem(){}
nsAccelerometerSystem::~nsAccelerometerSystem(){}
@ -145,14 +141,10 @@ void nsAccelerometerSystem::Startup()
PRBool started = PR_FALSE;
#if !defined(WINCE) && !defined(WINCE_WINDOWS_MOBILE) // normal windows.
mSensor = new ThinkPadSensor();
if (mSensor)
started = mSensor->Startup();
#endif
if (!started)
return;