diff -r 000000000000 -r 5f000ab63145 phoneuis/ConnectUtil/inc/CCoUtlImplementation.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneuis/ConnectUtil/inc/CCoUtlImplementation.h Mon Jan 18 20:18:27 2010 +0200 @@ -0,0 +1,94 @@ +/* +* Copyright (c) 2003 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: Implementation of connection termination plug-in. +* +*/ + + + +#ifndef CCOUTLIMPLEMENTATION_H +#define CCOUTLIMPLEMENTATION_H + +// INCLUDES +#include +#include + +// FORWARD DECLARATION +class CCoUtlActive; + +// CLASS DECLARATION + +/** +* CCoUtlInterface implementation. +* +* @since 2.6 +*/ +class CCoUtlImplementation + : public CCoUtlInterface + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + * @return an instance of CCoUtlImplementation. + */ + static CCoUtlImplementation* NewL(); + + /** + * Destructor. + */ + virtual ~CCoUtlImplementation(); + + public: // Functions from base classes + + /** + * @see CCoUtlInterface::CurrentState. + */ + virtual TState CurrentState(); + + /** + * @see CCoUtlInterface::Terminate. + */ + virtual void Terminate( TRequestStatus& aStatus ); + + /** + * @see CCoUtlInterface::Cancel. + */ + virtual void Cancel(); + + private: + + /** + * C++ default constructor. + */ + CCoUtlImplementation(); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + private: // Data + + // Owned active object to do the task. + CCoUtlActive* iActive; + + // Owned resource loader. + RConeResourceLoader iResourceLoader; + + }; + +#endif // CCOUTLIMPLEMENTATION_H + +// End of File