ximpfw/presence/srcpresenceoperations/presenceoperationfactoryimp.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:54:49 +0200
changeset 0 e6b17d312c8b
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* 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 <e32base.h>
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