menufw/hierarchynavigator/hnpresentationmodel/src/hnattributebase.cpp
branchv5backport
changeset 14 1abc632eb502
parent 13 6205fd287e8a
child 20 636d517f67e6
--- a/menufw/hierarchynavigator/hnpresentationmodel/src/hnattributebase.cpp	Thu Mar 18 14:45:17 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-/*
-* Copyright (c) 2007-2008 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:  abstract base class for attribute models.
-*
-*/
-
-
-#include "hnattributebase.h"
-
-// ============================ MEMBER FUNCTIONS =============================
-
-// ---------------------------------------------------------------------------
-//
-// ---------------------------------------------------------------------------
-//
-EXPORT_C void CHnAttributeBase::SetNameL( const TDesC8& aName )
-    {
-    iName.Close();
-    iName.CreateL( aName.Length() + 1 );
-    iName.Copy( aName );
-    }
-
-// ---------------------------------------------------------------------------
-//
-// ---------------------------------------------------------------------------
-//
-EXPORT_C const TDesC8& CHnAttributeBase::Name( ) const
-    {
-    return iName;
-    }
-
-// ---------------------------------------------------------------------------
-//
-// ---------------------------------------------------------------------------
-//
-CHnAttributeBase::~CHnAttributeBase( )
-    {
-    iName.Close();
-    }
-
-// ---------------------------------------------------------------------------
-//
-// ---------------------------------------------------------------------------
-//
-EXPORT_C TAttributeType CHnAttributeBase::Type()
-    {
-    return iAttributeType;
-    }
-
-// ---------------------------------------------------------------------------
-//
-// ---------------------------------------------------------------------------
-//
-void CHnAttributeBase::RemoveLiwObjects()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-//
-// ---------------------------------------------------------------------------
-//
-EXPORT_C const TDesC8& CHnAttributeBase::Value()
-    {
-    // The descendant should override this if such functionality is provided.
-    // if that functionality is not provided, generally it means that this
-    // should not be invoked this assert in debug.
-    ASSERT(EFalse);
-    return KNullDesC8;
-    }
-
-
-// ---------------------------------------------------------------------------
-//
-// ---------------------------------------------------------------------------
-//
-EXPORT_C CGulIcon* CHnAttributeBase::GetIcon( TSize* /*aDesiredIconSize*/ )
-    {
-    // The descendant should override this if such functionality is provided.
-    // if that functionality is not provided, generally it means that this
-    // should not be invoked this assert in debug.    
-    ASSERT(EFalse);
-    return NULL;
-    }
-
-CHnIconHolder* CHnAttributeBase::GetIconHolder( TSize* /*aDesiredIconSize*/ )
-    {
-    // The descendant should override this just like the other methods.
-    ASSERT( EFalse );
-    return NULL;
-    }