--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/cntcommonui/views/cntbaseselectionview.h Mon Oct 04 00:06:02 2010 +0300
@@ -0,0 +1,63 @@
+/*
+* 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 CNTBASESELECTIONVIEW_H
+#define CNTBASESELECTIONVIEW_H
+
+#include <cntabstractviewmanager.h>
+#include <cntabstractview.h>
+#include "cntglobal.h"
+
+class HbListView;
+class HbView;
+class HbDocumentLoader;
+class HbAction;
+class CntListModel;
+
+
+class QTPBK_EXPORT CntBaseSelectionView : public QObject, public CntAbstractView
+{
+ Q_OBJECT
+
+public:
+ CntBaseSelectionView();
+ ~CntBaseSelectionView();
+
+signals:
+ void viewOpened( CntAbstractViewManager* aMgr, const CntViewParameters aArgs );
+ void viewClosed();
+
+public:
+ void activate( const CntViewParameters aArgs );
+ void deactivate();
+ bool isDefault() const;
+ HbView* view() const;
+
+ void setEngine( CntAbstractEngine& aEngine ){ mEngine = &aEngine; }
+ virtual int viewId() const = 0;
+
+protected:
+ HbDocumentLoader* mDocument;
+ HbListView* mListView;
+ HbView* mView;
+ HbAction* mSoftkey;
+ CntAbstractViewManager* mMgr;
+ CntListModel* mListModel;
+ CntAbstractEngine* mEngine;
+};
+
+#endif /* CNTBASESELECTIONVIEW_H */