realtimenetprots/sipfw/ClientResolver/Resolver/inc/TSipClient.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:03:15 +0200
changeset 0 307788aac0a8
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* Copyright (c) 2007-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:
* Name          : TSipClient.h
* Part of       : SIP / SIP Client Resolver / Resolver
* Version       : SIP 6.0
*
*/




/**
 @internalComponent
*/
#ifndef TSIPCLIENT_H
#define TSIPCLIENT_H

// INCLUDES
#include <e32std.h>

// CLASS DEFINITION
/**
* A container for SIP client information passed 
* from SIP Client Resolver to SIP Client Resolver Server.
*/
class TSipClient
    {
    public:

        /** SIP Client Resolver plug-in types */
        enum TPluginType 
            {
            /** Plug-in implements CSIPResolvedClient */
			EFirstGeneration=1,
			/** Plug-in implements CSIPResolvedClient2 */
			ESecondGeneration
            };    

    public: // Constructors

        inline TSipClient(
            const TUid& aUid,
            TBool aAllowStarting,
            TBool aRomBased);
        
    public: //  new functions    
        
        inline const TUid& Uid() const;
        inline void SetUid( TUid aUid );
        inline TBool AllowStarting() const;
        inline void SetAllowStarting( TBool aAllowStarting );
        inline TBool RomBased() const;
        inline void SetRomBased( TBool aRomBased );
		inline TUid ImplementationUid() const;
		inline void SetImplementationUid( TUid aUid );
        inline void SetPluginType( TPluginType aPluginType );
        inline TPluginType PluginType() const;

    private: // Data

        TUid iUid;
        TBool iAllowStarting;
        TBool iRomBased;
		TUid iImplementationUid;
        TPluginType iPluginType;
    };

#include "TSipClient.inl"

#endif // TSIPCLIENT_H

// End of File