diff -r 000000000000 -r e6b17d312c8b ximpfw/presence/srcpresenceoperations/presenceoperationfactoryimp.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ximpfw/presence/srcpresenceoperations/presenceoperationfactoryimp.h Thu Dec 17 08:54:49 2009 +0200 @@ -0,0 +1,69 @@ +/* +* 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: Presence Service Connection operation factory + * +*/ + + +#ifndef PRESENCECPSCOPERATIONFACTORYIMP_H +#define PRESENCECPSCOPERATIONFACTORYIMP_H + + +#include +class CXIMPOperationBase; + +#include "ximpoperationfactory.h" + +/** + * Operation factory + * Class is owned by and handled as singleton by CXIMPGlobals. + * + * @lib presenceoperation.dll + * @since S60 v4.0 + */ +class CPresenceOperationFactory : public CBase, + public MXIMPOperationFactory + { + public: // Construction and desctruction + + IMPORT_C static CPresenceOperationFactory* NewL(); + + ~CPresenceOperationFactory(); + + private: // Construction + + /** + * C++ default constructor. + */ + CPresenceOperationFactory(); + + /** + * Symbian 2nd phase constructor + */ + void ConstructL(); + + + public: // From MXIMPOperationFactory + + /** + * @see MXIMPOperationFactory + */ + CXIMPOperationBase* CreateOperationL( TInt aOperation ); + + private: // Data + + }; + +#endif // PRESENCECPSCOPERATIONFACTORYIMP_H +