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