convergedcallengine/cce/src/cccecallparameters.cpp
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
    63     cloned->SetBearer(iBearer);
    63     cloned->SetBearer(iBearer);
    64     cloned->SetSubAddress(iSubAddress);
    64     cloned->SetSubAddress(iSubAddress);
    65     cloned->SetLineType(iLineType);
    65     cloned->SetLineType(iLineType);
    66     cloned->SetUUSId(iUUSId);
    66     cloned->SetUUSId(iUUSId);
    67     cloned->SetOrigin(iOrigin);
    67     cloned->SetOrigin(iOrigin);
       
    68     cloned->SetAlphaId(iAlphaId);
    68     return cloned;
    69     return cloned;
    69     }
    70     }
    70 
    71 
    71 // -----------------------------------------------------------------------------
    72 // -----------------------------------------------------------------------------
    72 // CCCECallParameters::CCCECallParameters
    73 // CCCECallParameters::CCCECallParameters
    88 // -----------------------------------------------------------------------------
    89 // -----------------------------------------------------------------------------
    89 // Sets the line type of call.
    90 // Sets the line type of call.
    90 // -----------------------------------------------------------------------------
    91 // -----------------------------------------------------------------------------
    91 //
    92 //
    92 void CCCECallParameters::SetLineType(CCCECallParameters::TCCELineType aLineType) 
    93 void CCCECallParameters::SetLineType(CCCECallParameters::TCCELineType aLineType) 
    93 	{ 
    94     { 
    94 	iLineType = aLineType; 
    95     iLineType = aLineType; 
    95 	}
    96     }
    96 
    97 
    97 // -----------------------------------------------------------------------------
    98 // -----------------------------------------------------------------------------
    98 // Gets the line type of the call.
    99 // Gets the line type of the call.
    99 // -----------------------------------------------------------------------------
   100 // -----------------------------------------------------------------------------
   100 //
   101 //
   101 CCCECallParameters::TCCELineType CCCECallParameters::LineType() const 
   102 CCCECallParameters::TCCELineType CCCECallParameters::LineType() const 
   102 	{
   103     {
   103 	return iLineType;
   104     return iLineType;
   104 	}
   105     }
   105 
   106 
   106 // -----------------------------------------------------------------------------
   107 // -----------------------------------------------------------------------------
   107 // Sets the service id identifying the service provider of the call.
   108 // Sets the service id identifying the service provider of the call.
   108 // -----------------------------------------------------------------------------
   109 // -----------------------------------------------------------------------------
   109 //
   110 //
   110 void CCCECallParameters::SetUUSId(TBuf<KCCPUUSIdSize> aUUSId)
   111 void CCCECallParameters::SetUUSId(TBuf<KCCPUUSIdSize> aUUSId)
   111     {
   112     {
   112 	iUUSId = aUUSId;
   113     iUUSId = aUUSId;
   113 	}
   114     }
   114 
   115 
   115 // -----------------------------------------------------------------------------
   116 // -----------------------------------------------------------------------------
   116 // Gets the UUS id of the call.
   117 // Gets the UUS id of the call.
   117 // -----------------------------------------------------------------------------
   118 // -----------------------------------------------------------------------------
   118 //
   119 //
   119 TBuf<KCCPUUSIdSize> CCCECallParameters::UUSId() const 
   120 TBuf<KCCPUUSIdSize> CCCECallParameters::UUSId() const 
   120 	{
   121     {
   121 	return iUUSId;
   122     return iUUSId;
   122 	}
   123     }
   123 
   124 
   124 // -----------------------------------------------------------------------------
   125 // -----------------------------------------------------------------------------
   125 // Sets the bearer of the call.
   126 // Sets the bearer of the call.
   126 // -----------------------------------------------------------------------------
   127 // -----------------------------------------------------------------------------
   127 //
   128 //
   128 void CCCECallParameters::SetBearer(TBuf8<KCCEBearerMaxSize> aBearer) 
   129 void CCCECallParameters::SetBearer(TBuf8<KCCEBearerMaxSize> aBearer) 
   129 	{
   130     {
   130 	iBearer = aBearer;
   131     iBearer = aBearer;
   131 	}
   132     }
   132 
   133 
   133 // -----------------------------------------------------------------------------
   134 // -----------------------------------------------------------------------------
   134 // Gets the bearer of the call.
   135 // Gets the bearer of the call.
   135 // -----------------------------------------------------------------------------
   136 // -----------------------------------------------------------------------------
   136 //
   137 //
   137 TBuf8<KCCEBearerMaxSize> CCCECallParameters::Bearer() const 
   138 TBuf8<KCCEBearerMaxSize> CCCECallParameters::Bearer() const 
   138 	{
   139     {
   139 	return iBearer;
   140     return iBearer;
   140 	}
   141     }
   141 
   142 
   142 // -----------------------------------------------------------------------------
   143 // -----------------------------------------------------------------------------
   143 // Sets the sub address of the dialled phone number.
   144 // Sets the sub address of the dialled phone number.
   144 // -----------------------------------------------------------------------------
   145 // -----------------------------------------------------------------------------
   145 //
   146 //
   146 void CCCECallParameters::SetSubAddress(TBuf<KCCESubAddressMaxSize> aSubAddress) 
   147 void CCCECallParameters::SetSubAddress(TBuf<KCCESubAddressMaxSize> aSubAddress) 
   147 	{
   148     {
   148 	iSubAddress = aSubAddress;
   149     iSubAddress = aSubAddress;
   149 	}
   150     }
   150 
   151 
   151 // -----------------------------------------------------------------------------
   152 // -----------------------------------------------------------------------------
   152 // Gets the sub address of the dialled phone number.
   153 // Gets the sub address of the dialled phone number.
   153 // -----------------------------------------------------------------------------
   154 // -----------------------------------------------------------------------------
   154 //
   155 //
   155 TBuf<KCCESubAddressMaxSize> CCCECallParameters::SubAddress() const 
   156 TBuf<KCCESubAddressMaxSize> CCCECallParameters::SubAddress() const 
   156 	{
   157     {
   157 	return iSubAddress;
   158     return iSubAddress;
   158 	}
   159     }
   159 
   160 
   160 // -----------------------------------------------------------------------------
   161 // -----------------------------------------------------------------------------
   161 // Sets the origin of the call.
   162 // Sets the origin of the call.
   162 // -----------------------------------------------------------------------------
   163 // -----------------------------------------------------------------------------
   163 //
   164 //
   164 void CCCECallParameters::SetOrigin(CCCECallParameters::TCCECallOrigin aCallOrigin) 
   165 void CCCECallParameters::SetOrigin(CCCECallParameters::TCCECallOrigin aCallOrigin) 
   165 	{
   166     {
   166 	iOrigin = aCallOrigin;
   167     iOrigin = aCallOrigin;
   167 	}
   168     }
   168 
   169 
   169 // -----------------------------------------------------------------------------
   170 // -----------------------------------------------------------------------------
   170 // Gets the origin of the call.
   171 // Gets the origin of the call.
   171 // -----------------------------------------------------------------------------
   172 // -----------------------------------------------------------------------------
   172 //
   173 //
   173 CCCECallParameters::TCCECallOrigin CCCECallParameters::Origin() const 
   174 CCCECallParameters::TCCECallOrigin CCCECallParameters::Origin() const 
   174 	{
   175     {
   175 	return iOrigin;
   176     return iOrigin;
   176 	}
   177     }
       
   178 
       
   179 void CCCECallParameters::SetAlphaId(TBuf<KCCPAlphaIdMaxSize> aAlphaId)
       
   180     {
       
   181     iAlphaId = aAlphaId;
       
   182     }
   177 
   183 
   178 
   184 
       
   185 TBuf<KCCPAlphaIdMaxSize> CCCECallParameters::AlphaId() const
       
   186     {
       
   187     return iAlphaId;
       
   188     }
   179 
   189 
   180 // End of file
   190 // End of file