phoneengine/engineinfo/inc/cpeengineinfoimpl.h
changeset 74 d1c62c765e48
parent 46 bc5a64e5bc3c
child 76 cfea66083b62
equal deleted inserted replaced
65:2a5d4ab426d3 74:d1c62c765e48
    47     TPECallType iCallType;                  // Type of the attempted call
    47     TPECallType iCallType;                  // Type of the attempted call
    48     TUint32 iServiceId;                     // ServiceId    
    48     TUint32 iServiceId;                     // ServiceId    
    49     TPECallOrigin iCallOrigin;              // Origin of the attempted call (Phone, client or SAT)
    49     TPECallOrigin iCallOrigin;              // Origin of the attempted call (Phone, client or SAT)
    50     RMobileCall::TMobileCallIdRestriction iIdRestrict; // Call Id restriction setting to be used for this call
    50     RMobileCall::TMobileCallIdRestriction iIdRestrict; // Call Id restriction setting to be used for this call
    51     TPEPhoneNumber iEmergencyNumber;        // For checking is this number emergency number.
    51     TPEPhoneNumber iEmergencyNumber;        // For checking is this number emergency number.
    52     TPEUserToUserInfo iUserToUserInfo;      // User to user information.
    52     TPEUserToUserInfo iUserToUserInfo;      // User to user information.    
    53     TPEPhoneNumber iSwitchToNumber;         // Dialed Phonenumber, set by client
       
    54     TPEPhoneNumber iTransferToAddress;      // Unattended transfer target address   
    53     TPEPhoneNumber iTransferToAddress;      // Unattended transfer target address   
    55     TInt iForwardToAddressIndex;            // Array index for a address to be forwarded
    54     TInt iForwardToAddressIndex;            // Array index for a address to be forwarded
    56     };
    55     };
    57 
    56 
    58 NONSHARABLE_STRUCT( TPEBasicInfo )                         // Contains information of the phone related variables 
    57 NONSHARABLE_STRUCT( TPEBasicInfo )                         // Contains information of the phone related variables 
    84     TPEActiveForwardInfo iActiveForward;    // active forward information.
    83     TPEActiveForwardInfo iActiveForward;    // active forward information.
    85     TPEBarringInfo iBarringInfo;            // includes call barring information.
    84     TPEBarringInfo iBarringInfo;            // includes call barring information.
    86     TPESimState iSimState;
    85     TPESimState iSimState;
    87     TPESSCommandInfo iSSCommandInfo;        // Contains information of the Suplementary Services command.
    86     TPESSCommandInfo iSSCommandInfo;        // Contains information of the Suplementary Services command.
    88     TBool iSecureSpecified;                 // Secure specified status
    87     TBool iSecureSpecified;                 // Secure specified status
    89     TName iDataPortName;                    // the name of data port currently on-loan
    88     TName iDataPortName;                    // the name of data port currently on-loan    
    90     TBool iSwitchToOngoing;                 // Switch to operation status
       
    91     TBool iOutgoingBarringActivated;        // Outgoing barring activated 
    89     TBool iOutgoingBarringActivated;        // Outgoing barring activated 
    92     };
    90     };
    93 
    91 
    94 NONSHARABLE_STRUCT( TPEConferenceCallInfo ) // Contains conference call related variables 
    92 NONSHARABLE_STRUCT( TPEConferenceCallInfo ) // Contains conference call related variables 
    95     {
    93     {
   510          * Gets error code from TPEBasicInfo-structure
   508          * Gets error code from TPEBasicInfo-structure
   511          * @return Error code
   509          * @return Error code
   512          */
   510          */
   513          TInt ErrorCode() const;
   511          TInt ErrorCode() const;
   514          
   512          
   515          /**
   513                   
   516          * Sets switch to  number to TPECallCommandInfo-structure
       
   517          * @param aPhoneNumber is the phone number
       
   518          */
       
   519          void SetSwitchToNumberCommand( const TPEPhoneNumber& aPhoneNumber );
       
   520          
       
   521          /**
       
   522          * Gets switch to number
       
   523          * @return Reference to TPEPhoneNumber, containing the phone number.
       
   524          */
       
   525          const TPEPhoneNumber& SwitchToNumberCommand() const;
       
   526          
       
   527          /**
   514          /**
   528           * Returns transfer target from the last received unattended transfer 
   515           * Returns transfer target from the last received unattended transfer 
   529           * request or KNullDesC if transfer target is not available.
   516           * request or KNullDesC if transfer target is not available.
   530           * 
   517           * 
   531           * @return  Transfer target.
   518           * @return  Transfer target.
   583          * Returns transfer target address
   570          * Returns transfer target address
   584          * @return Transfer target address
   571          * @return Transfer target address
   585          * address.
   572          * address.
   586          */
   573          */
   587          const TPEPhoneNumber& TransferTargetCommand() const;
   574          const TPEPhoneNumber& TransferTargetCommand() const;
   588          
   575                  
   589          /**
       
   590          * Sets switch to operation status.
       
   591          * @param aValue switch to operation status.
       
   592          */
       
   593          void SetIsSwitchToOperationOngoing( const TBool aValue );
       
   594          
       
   595          /**
       
   596          * Returns switch to operation status.
       
   597          */
       
   598          TBool IsSwitchToOperationOngoing() const;         
       
   599          
   576          
   600          /**
   577          /**
   601           * From base class MPEEngineInfo
   578           * From base class MPEEngineInfo
   602           * @see MPEEngineInfo::CallOrigin          
   579           * @see MPEEngineInfo::CallOrigin          
   603           */
   580           */
  1545         * Sets the flag if the outgoing barring is activated.
  1522         * Sets the flag if the outgoing barring is activated.
  1546         * @return ETrue if barring activated.
  1523         * @return ETrue if barring activated.
  1547         */
  1524         */
  1548         void SetOutgoingCallBarringActivated( 
  1525         void SetOutgoingCallBarringActivated( 
  1549                 TBool aActivated );
  1526                 TBool aActivated );
  1550           
  1527         
       
  1528         /**
       
  1529         * Sets incoming call forwarded flag.
       
  1530         * @param aForwarded is call forwarded
       
  1531         */
       
  1532         void SetIncomingCallForwarded( TBool aForwarded, TInt aCallId );
       
  1533 
       
  1534         /**
       
  1535          * Returns incoming call forwarded flag.
       
  1536          */
       
  1537         TBool IncomingCallForwarded( TInt aCallId ) const;
       
  1538         
  1551     private:
  1539     private:
  1552           /**
  1540           /**
  1553         * C++ default constructor.
  1541         * C++ default constructor.
  1554         */
  1542         */
  1555         CPEEngineInfoImpl();
  1543         CPEEngineInfoImpl();