2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Name : sipregistrationcontext.h
16 * Part of : SIP Client
17 * Interface : SDK API, SIP API
25 #ifndef MSIPREGISTRATIONCONTEXT_H
26 #define MSIPREGISTRATIONCONTEXT_H
37 * The interface for providing
38 * information for the SIP request and
43 class MSIPRegistrationContext
45 public: // New functions
49 virtual ~MSIPRegistrationContext() {}
52 * Checks if the registration context can be
53 * used for creating SIP messages/dialogs
55 * @return ETrue if can be used, EFalse otherwise
57 virtual TBool IsContextActive() const = 0;
60 * Gets the context id.
63 * For internal use only
65 virtual TUint32 ContextId() const = 0;