diff -r 4096754ee773 -r 52a167391590 shortlinkconn_plat/locod_bearer_plugin_api/inc/locodbearerplugin.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shortlinkconn_plat/locod_bearer_plugin_api/inc/locodbearerplugin.h Wed Sep 01 12:20:40 2010 +0100 @@ -0,0 +1,87 @@ +/* +* Copyright (c) 2006 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 is the LCD Bearer Plugin base class declaration. +* +*/ + + +#ifndef C_LOCODBEARERPLUGIN_H +#define C_LOCODBEARERPLUGIN_H + +#include +#include "locodbearerpluginparams.h" + +/** + * Bearer Plugin base class + * + * This is the base class from which bearer plugins inherit. + * + * See locodplugin.hrh for the resource registration definitions. + * + * @lib euser.lib + * @since S60 v3.2 + */ +class CLocodBearerPlugin : public CBase + { +public: + + static CLocodBearerPlugin* NewL(TLocodBearerPluginParams& aParams); + + virtual ~CLocodBearerPlugin(); + + /** + * Gets the implementation uid of this plugin + * + * @since S60 v3.2 + * @return The implementation uid + */ + TUid ImplementationUid() const; + +protected: + + CLocodBearerPlugin(TLocodBearerPluginParams& aParams); + + /** + * Gets the observer interface object associated with this plugin + * + * @since S60 v3.2 + * @return The observer object + */ + MLocodBearerPluginObserver& Observer() const; + +private: // data + + /** + * UID set by ECOM when the instance is created. Used when the instance + * is destroyed. + */ + TUid iInstanceUid; + + /** + * Implementation UID of the concrete instance. + */ + TUid iImplementationUid; + + /** + * Holds the observer object which will be notified when the operations + * complete + * Not own. + */ + MLocodBearerPluginObserver& iObserver; + + }; + +#include "locodbearerplugin.inl" + +#endif // C_LOCODBEARERPLUGIN_H