phoneclientserver/phoneserver/Src/Standard/PhSrvSubSessionFactory.cpp
changeset 12 ae8abd0db65c
parent 0 ff3b6d0fd310
child 13 e32024264ebb
equal deleted inserted replaced
0:ff3b6d0fd310 12:ae8abd0db65c
    17 
    17 
    18 
    18 
    19 
    19 
    20 
    20 
    21 // INCLUDES
    21 // INCLUDES
    22 #include "PhCltClientServer.h"
    22 #include "PhCltClientServer.h" 
    23 
    23 
    24 #include "PhSrvSubSessionFactory.h"
    24 #include "PhSrvSubSessionFactory.h" 
    25 #include "CPhSrvSubSessionNotifier.h"
    25 #include "CPhSrvSubSessionNotifier.h" 
    26 #include "CPhSrvSubSessionExtCall.h"
    26 #include "CPhSrvSubSessionExtCall.h" 
    27 #include "CPhSrvSubSessionUssd.h"
    27 #include "CPhSrvSubSessionUssd.h" 
    28 #include "CPhSrvSubSessionEmergencyNum.h"
    28 #include "CPhSrvSubSessionEmergencyNum.h" 
    29 #include "CPhSrvSubSessionCommandHandler.h"
    29 #include "CPhSrvSubSessionCommandHandler.h" 
    30 #include "CPhSrvSubSessionMessenger.h"
    30 #include "CPhSrvSubSessionMessenger.h" 
    31 #include "CPhSrvSubSessionImageHandler.h"
    31 #include "CPhSrvSubSessionImageHandler.h" 
    32 
    32 
    33 
    33 
    34 // ============================ MEMBER FUNCTIONS ===============================
    34 // ============================ MEMBER FUNCTIONS ===============================
    35 
    35 
    36 // -----------------------------------------------------------------------------
    36 // -----------------------------------------------------------------------------
   130         {
   130         {
   131         case EPhoneServerNotifySubSessionOpen:
   131         case EPhoneServerNotifySubSessionOpen:
   132         case EPhoneServerComHandNotifySubSessionOpen:
   132         case EPhoneServerComHandNotifySubSessionOpen:
   133             if ( aSID == KPhoneSecureId.iUid 
   133             if ( aSID == KPhoneSecureId.iUid 
   134 #if defined(__WINSCW__)
   134 #if defined(__WINSCW__)
   135 							// To enable module testing using EUnit
   135                             // To enable module testing using EUnit
   136 								|| aSID == KEunitExeRunnerId.iUid 
   136                                 || aSID == KEunitExeRunnerId.iUid 
   137 #endif // __WINSCW__
   137 #endif // __WINSCW__
   138 								)
   138                                 )
   139                 {       
   139                 {       
   140                 return ETrue;   
   140                 return ETrue;   
   141                 }
   141                 }
   142             else
   142             else
   143                 {
   143                 {