--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testfwuis/stifui/avkon/stifui/inc/CreatedTestSetMenuView.h Fri Sep 17 08:58:49 2010 +0300
@@ -0,0 +1,120 @@
+/*
+* 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: This file contains CCreatedTestSetMenuView class
+* declaration.
+*
+*/
+
+#ifndef CREATEDTESTSETSETMENUVIEW_H
+#define CREATEDTESTSETSETMENUVIEW_H
+
+// INCLUDES
+#include "View.h"
+#include <eiklbo.h> // MEikListBoxObserver
+#include <aknnavide.h>
+
+
+// CONSTANTS
+
+// FORWARD DECLARATIONS
+class CCreatedTestSetMenuContainer;
+
+
+// CLASS DECLARATION
+
+/**
+* CTestCaseMenuView view class.
+*
+*/
+class CCreatedTestSetMenuView : public CView, public MEikListBoxObserver //CAknView
+ {
+ public: // Constructors and destructor
+
+ /**
+ * Symbian OS default constructor.
+ */
+ void ConstructL();
+
+ /**
+ * Destructor.
+ */
+ ~CCreatedTestSetMenuView();
+
+ public: // Functions from base classes
+
+ /**
+ * Returns view´s id.
+ * @return View id.
+ */
+ TUid Id() const;
+
+ /**
+ * Handles a command.
+ * @param aCommand A command ID.
+ */
+ void HandleCommandL( TInt aCommand );
+
+ /**
+ * Handles client rect changes.
+ */
+ void HandleClientRectChange();
+
+ /**
+ * Handles a list box event.
+ * @param aListBox A pointer to list box.
+ * @param aEventType Type of list box event.
+ */
+ void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);
+
+ public: // New functions
+
+
+
+ private:
+
+ /**
+ * Initializes view when activated.
+ * @param aPrevViewId Id of the previous view (not used).
+ * @param aCustomMessageId Custom message id (not used).
+ * @param aCustomMessage Custom message (not used).
+ */
+ void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
+ const TDesC8& aCustomMessage);
+
+ /**
+ * Deactivates view.
+ */
+ void DoDeactivate();
+
+
+ private: // New functions
+
+ /**
+ * Checks listbox selections and launches
+ * query dialog to start test cases.
+ * @param aListBox Pointer to listbox.
+ */
+ void CheckListBoxSelectionsL(CEikListBox* aListBox);
+
+ private: // Data
+ CAknNavigationDecorator* iNaviDecorator;
+ CCreatedTestSetMenuContainer* iContainer;
+ TInt iCurrentTestCase;
+ TBufC<50> iCurrentTestSet;
+ TBool iSaveNeeded;
+ };
+
+#endif //CREATEDTESTSETSETMENUVIEW_H
+
+// End of File