sipproviderplugins/sipprovider/sipconnectionplugins/inc/sipcprmessages.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2007-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 // SIP Connection Provider messages
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalTechnology
       
    21 */
       
    22  
       
    23 #ifndef SIPCPRMESSAGES_H_
       
    24 #define SIPCPRMESSAGES_H_
       
    25 
       
    26 #include <comms-infras/ss_nodemessages.h>
       
    27 
       
    28 namespace SipCpr
       
    29 {
       
    30 enum TCprStage
       
    31   	{
       
    32    	EFresh = 0,
       
    33    	EStarting,
       
    34    	EActive,
       
    35    	EStopping,
       
    36    	EStopped
       
    37    	};
       
    38 
       
    39 enum TConnType
       
    40 	{
       
    41 	EConnIncoming,
       
    42 	EConnOutgoing
       
    43     };
       
    44    
       
    45             
       
    46 class TSipCprMessages
       
    47 	{
       
    48 public:
       
    49 	enum {ERealmId = 0x10274C37 };
       
    50 private:
       
    51 	enum
       
    52 		{		
       
    53 		ESipCprRegistrationComplete = Messages::TEBase::TNull::EId+5000,
       
    54 		ESipCprDeRegistrationComplete,				
       
    55 		EIncomingConnection
       
    56 		};
       
    57 		
       
    58 public:
       
    59 	typedef Messages::TMessageSigNumber<ESipCprRegistrationComplete, TSipCprMessages::ERealmId> TRegistrationComplete;
       
    60 	typedef Messages::TMessageSigNumber<ESipCprDeRegistrationComplete, TSipCprMessages::ERealmId> TDeRegistrationComplete;	
       
    61 	typedef Messages::TMessageSigNumber<EIncomingConnection, TSipCprMessages::ERealmId> TIncomingConnection;
       
    62 	};
       
    63 	
       
    64 }
       
    65 
       
    66 #endif //SIPCPRMESSAGES_H_
       
    67