epoc32/include/sipregistrationcontext.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/sipregistrationcontext.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/sipregistrationcontext.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,68 @@
     1.4 -sipregistrationcontext.h
     1.5 +/*
     1.6 +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:
    1.19 +* Name        : sipregistrationcontext.h
    1.20 +* Part of     : SIP Client
    1.21 +* Interface   : SDK API, SIP API
    1.22 +* Version     : 1.0
    1.23 +*
    1.24 +*/
    1.25 +
    1.26 +
    1.27 +
    1.28 +
    1.29 +#ifndef MSIPREGISTRATIONCONTEXT_H
    1.30 +#define MSIPREGISTRATIONCONTEXT_H
    1.31 +
    1.32 +//  INCLUDES
    1.33 +#include <e32base.h>
    1.34 +
    1.35 +// CLASS DECLARATION
    1.36 +
    1.37 +/**
    1.38 +*  @publishedAll
    1.39 +*  @released
    1.40 +*
    1.41 +*  The interface for providing
    1.42 +*  information for the SIP request and
    1.43 +*  dialog creation.
    1.44 +*
    1.45 +*  @lib n/a
    1.46 +*/
    1.47 +class MSIPRegistrationContext
    1.48 +	{
    1.49 +     public: // New functions
    1.50 +        /**
    1.51 +		* Destructor
    1.52 +		*/
    1.53 +        virtual ~MSIPRegistrationContext() {}
    1.54 +
    1.55 +		/**
    1.56 +		* Checks if the registration context can be
    1.57 +		* used for creating SIP messages/dialogs
    1.58 +        *
    1.59 +		* @return ETrue if can be used, EFalse otherwise
    1.60 +		*/
    1.61 +		virtual TBool IsContextActive() const = 0;
    1.62 +
    1.63 +		/**
    1.64 +		* Gets the context id.
    1.65 +        *
    1.66 +		* @return Context id
    1.67 +		* For internal use only
    1.68 +		*/
    1.69 +		virtual TUint32 ContextId() const = 0;
    1.70 +	};
    1.71 +
    1.72 +#endif