equal
deleted
inserted
replaced
|
1 /******************************************************************************* |
|
2 * Copyright (c) 2010 Symbian Foundation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Symbian Foundation - initial contribution. |
|
11 * Contributors: |
|
12 * Description: |
|
13 * Overview: |
|
14 * Details: |
|
15 * Platforms/Drives/Compatibility: |
|
16 * Assumptions/Requirement/Pre-requisites: |
|
17 * Failures and causes: |
|
18 *******************************************************************************/ |
1 function RotationSupport(accelerationCallback) { |
19 function RotationSupport(accelerationCallback) { |
2 this.controls = new RotationControls(accelerationCallback); |
20 this.controls = new RotationControls(accelerationCallback); |
3 } |
21 } |
4 |
22 |
5 function RotationControls(accelCallback) { |
23 function RotationControls(accelCallback) { |