--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/videocollection/tsrc/stubs/inc/apgtaskstub.h Fri Oct 15 16:29:10 2010 +0300
@@ -0,0 +1,48 @@
+/*
+* 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:
+*
+*/
+
+#ifndef __APGTASK_H__
+#define __APGTASK_H__
+
+#include "coemainstub.h"
+#include <e32base.h>
+
+class TApaTask
+{
+public:
+ TApaTask(RWsSession& /*aWsSession*/) {}
+
+ TBool Exists() const { return mExistsReturnValue; }
+ void BringToForeground() { mBringToForegroundCallcount++; }
+
+ static bool mExistsReturnValue;
+ static int mExistsCallCount;
+ static int mBringToForegroundCallcount;
+};
+
+class TApaTaskList
+{
+public:
+ TApaTaskList(RWsSession& /*aWsSession*/) {}
+ TApaTask FindApp(TUid /*aAppUid*/) { mFindAppCallCount++; return TApaTask(CCoeEnv::mSession); }
+
+ static int mFindAppCallCount;
+};
+
+#endif
+
+// End of file