homescreensrv_plat/menu_sat_interface_api/tsrc/t_menu_sat_interface_api/src/menusatinterfacetestutils.cpp
changeset 86 e492551a0d54
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreensrv_plat/menu_sat_interface_api/tsrc/t_menu_sat_interface_api/src/menusatinterfacetestutils.cpp	Tue Mar 23 23:28:12 2010 +0200
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include <ecom/ecom.h>
+#include "menusatinterfacetest.h"
+#include "waitactive.h"
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CClientServiceTester::CClientServiceTester
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+
+
+// -----------------------------------------------------------------------------
+// CClientServiceTester::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+CMenuSatInterfaceTest::CMenuSatInterfaceTest( )
+    {
+    RProperty::Get( KCRUidCa, KCaSatUIIconId, iIconId );
+    }
+
+    
+// Destructor
+CMenuSatInterfaceTest::~CMenuSatInterfaceTest()
+    { 
+    ///load preconditions
+    RProperty::Set( KCRUidCa, KCaSatUIIconId, iIconId );
+    //load preconditions
+	WaitL(20000);
+    }
+
+
+
+void CMenuSatInterfaceTest::WaitL(TInt aMicroSec)
+	{
+	CWaitActive* wait = CWaitActive::NewL();
+    wait->Wait(aMicroSec);
+    delete wait;
+	}
+