diff -r 75a71fdb4c92 -r 7d11f9a6646f omadm/dcmo/dcmoadapters/extmemctrl/inc/extmemctrldcmoadapter.h --- a/omadm/dcmo/dcmoadapters/extmemctrl/inc/extmemctrldcmoadapter.h Tue Feb 02 00:03:17 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,89 +0,0 @@ -/* -* 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: ExtMemCtrl plug-in adapter for DCMO -* -*/ - -#ifndef _EXTMEMCTRLDCMOADAPTER__ -#define _EXTMEMCTRLDCMOADAPTER__ - -#include "dcmointerface.h" - -// An implementation of the CDCMOInterface definition -class CExtMemCtrlDCMOAdapter : public CDCMOInterface - { -public: - // Standardised safe construction which leaves nothing the cleanup stack. - static CExtMemCtrlDCMOAdapter* NewL(TAny* aInitParams); - // Destructor - ~CExtMemCtrlDCMOAdapter(); - - // Implementation of CDCMOInterface - /** - * Get the interger type value - * @param aId - * @param aValue - * @return TDCMOStatus - */ - TDCMOStatus GetDCMOPluginIntAttributeValueL(TDCMONode aId, TInt& aValue); - - /** - * Get the string type value - * @param aId - * @param aStrValue - * @return TDCMOStatus - */ - TDCMOStatus GetDCMOPluginStrAttributeValueL(TDCMONode aId, TDes& aStrValue); - - /** - * Set the interger type value - * @param aId - * @param aValue - * @return TDCMOStatus - */ - TDCMOStatus SetDCMOPluginIntAttributeValueL(TDCMONode aId, TInt aValue); - - /** - * Set the string type value - * @param aId - * @param aStrValue - * @return TDCMOStatus - */ - TDCMOStatus SetDCMOPluginStrAttributeValueL(TDCMONode aId, const TDes& aStrValue); - - /** - * Get the localized name of this plug-in - * @param aLocName - * @return None - */ - void GetLocalizedNameL (HBufC*& aLocName); - -private: - // Construction - CExtMemCtrlDCMOAdapter(TAny* aInitParams); - - /** - * second phase constructor - */ - void ConstructL(); - -private: - // Data to pass back from implementation to client - HBufC* iProperty; - HBufC* iDescription; - // Parameters taken from client - CDCMOInterface::TDCMOInterfaceInitParams* iInitParams; - }; - -#endif