86
|
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 |
#include <ecom/ecom.h>
|
|
18 |
#include "menusatinterfacetest.h"
|
|
19 |
#include "waitactive.h"
|
|
20 |
|
|
21 |
// ============================ MEMBER FUNCTIONS ===============================
|
|
22 |
|
|
23 |
// -----------------------------------------------------------------------------
|
|
24 |
// CClientServiceTester::CClientServiceTester
|
|
25 |
// C++ default constructor can NOT contain any code, that
|
|
26 |
// might leave.
|
|
27 |
// -----------------------------------------------------------------------------
|
|
28 |
//
|
|
29 |
|
|
30 |
|
|
31 |
// -----------------------------------------------------------------------------
|
|
32 |
// CClientServiceTester::NewL
|
|
33 |
// Two-phased constructor.
|
|
34 |
// -----------------------------------------------------------------------------
|
|
35 |
//
|
|
36 |
CMenuSatInterfaceTest::CMenuSatInterfaceTest( )
|
|
37 |
{
|
|
38 |
RProperty::Get( KCRUidCa, KCaSatUIIconId, iIconId );
|
|
39 |
}
|
|
40 |
|
|
41 |
|
|
42 |
// Destructor
|
|
43 |
CMenuSatInterfaceTest::~CMenuSatInterfaceTest()
|
|
44 |
{
|
|
45 |
///load preconditions
|
|
46 |
RProperty::Set( KCRUidCa, KCaSatUIIconId, iIconId );
|
|
47 |
//load preconditions
|
|
48 |
WaitL(20000);
|
|
49 |
}
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
void CMenuSatInterfaceTest::WaitL(TInt aMicroSec)
|
|
54 |
{
|
|
55 |
CWaitActive* wait = CWaitActive::NewL();
|
|
56 |
wait->Wait(aMicroSec);
|
|
57 |
delete wait;
|
|
58 |
}
|
|
59 |
|