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