equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef LCUIENGINESIMULATOR_H |
|
18 #define LCUIENGINESIMULATOR_H |
|
19 |
|
20 //SYSTEM |
|
21 #include <QObject> |
|
22 #include <QString> |
|
23 #include <QTime> |
|
24 |
|
25 class QTimer; |
|
26 class LcUiEnginePrivate; |
|
27 class LcConfiguration; |
|
28 |
|
29 /* |
|
30 * Live Comms simulator |
|
31 */ |
|
32 class LcUiEngineSimulator : public QObject |
|
33 { |
|
34 Q_OBJECT |
|
35 |
|
36 public: |
|
37 |
|
38 LcUiEngineSimulator ( LcUiEnginePrivate& uiEngine ); |
|
39 ~LcUiEngineSimulator (); |
|
40 int layout(); |
|
41 QString sessionTitle(); |
|
42 QString remoteAddress(); |
|
43 QString phoneNo(); |
|
44 void setSimulation(int index){iSimulatorCount = index;}; |
|
45 int simulation(){return iSimulatorCount;}; |
|
46 public: |
|
47 void start(); |
|
48 void stop(); |
|
49 |
|
50 public slots: |
|
51 |
|
52 void timerEvent(); |
|
53 |
|
54 private: |
|
55 void simulateLiveSharingSend(); |
|
56 void simulateLiveSharingReceive(); |
|
57 void simulateTwoWaySharing(); |
|
58 void simulateVideoTelephony(); |
|
59 |
|
60 private: // Data |
|
61 |
|
62 QTimer* mTimer; |
|
63 LcConfiguration* mConfig; |
|
64 LcUiEnginePrivate& mUiEngine; |
|
65 int iSimulatorCount; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // LCUIENGINESIMULATOR_H |
|
70 |
|
71 |
|
72 // End of file |