diff -r 8173571d354e -r 1fc85118c3ae landmarksui/engine/inc/CLmkUiItemBase.h --- a/landmarksui/engine/inc/CLmkUiItemBase.h Thu Aug 19 09:48:36 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,94 +0,0 @@ -/* -* Copyright (c) 2004 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: LandmarksUi Content File - Base class for landmark ui item -* -*/ - - - - - - - - -#ifndef CLMKUIITEMBASE_H -#define CLMKUIITEMBASE_H - -// INCLUDES -#include "landmarks.hrh" // TLmkItemType -#include // CBase - -// CLASS DECLARATION - -/** -* CLmkUiItemBase class -*/ -class CLmkUiItemBase : public CBase - { - public: // Constructors and destructor - virtual ~CLmkUiItemBase(); - - public: // New functions - /** - * Get Landmark's item type - * @return TLmkItemType - */ - virtual TLmkItemType Type() = 0; - - /** - * Get text - * @return TPtrC - */ - virtual TPtrC Text() = 0; - - /** - * Get icon id - * @return TInt - */ - virtual TInt GetIconId() = 0; - - /** - * Check if extension int exists - * @return TBool - */ - IMPORT_C TBool ExtensionIntExists(); - - /** - * Set Extension index - * @param aInt - */ - IMPORT_C void SetExtensionInt( TInt aInt ); - - /** - * Get extension int - * @return TInt - */ - IMPORT_C TInt ExtensionInt(); - - protected: // Constructors and destructor - /** - * Default constructor - * @return newly instantiated object - */ - CLmkUiItemBase(); - - protected: // Data - TBool iExtExists; - TInt iExtInt; - - }; - -#endif // CLMKUIITEMBASE_H - -// End of File