realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Src/TSIPRegEventStateNotSubscribed.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Name        : TSIPRegEventStateNotSubscribed.cpp
       
    15 // Part of     : SIP Profile Agent
       
    16 // implementation
       
    17 // Version     : 1.0
       
    18 //
       
    19 
       
    20 
       
    21 
       
    22 #include "TSIPRegEventStateNotSubscribed.h"
       
    23 #include "sipregeventcontext.h"
       
    24 
       
    25 // ----------------------------------------------------------------------------
       
    26 // TSIPRegEventStateNotSubscribed::TSIPRegEventStateNotSubscribed
       
    27 // ----------------------------------------------------------------------------
       
    28 //
       
    29 TSIPRegEventStateNotSubscribed::TSIPRegEventStateNotSubscribed(
       
    30     MSIPRegEventContext& aContext)
       
    31     : TSIPRegEventSubscriptionStateBase(aContext)
       
    32     {
       
    33     }
       
    34 
       
    35 // ----------------------------------------------------------------------------
       
    36 // TSIPRegEventStateNotSubscribed::SubscribeL
       
    37 // ----------------------------------------------------------------------------
       
    38 //
       
    39 void TSIPRegEventStateNotSubscribed::SubscribeL()
       
    40     {
       
    41     iContext.DoSubscribeL();
       
    42     iContext.ChangeState(MSIPRegEventContext::ESubscribing);
       
    43     }