telephonyserverplugins/common_tsy/commontsy/src/mmsms/cmmsmssendrequest.cpp
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
child 42 3adadc800673
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 //  INCLUDE FILES
       
    19 #include "cmmsmssendrequest.h"
       
    20 #include <ctsy/tflogger.h>
       
    21 
       
    22 // ======== MEMBER FUNCTIONS ========
       
    23 
       
    24 CSmsSendRequest::CSmsSendRequest() : CBase()
       
    25     {
       
    26     iSendCounter = 0;
       
    27     }
       
    28 
       
    29 CSmsSendRequest::~CSmsSendRequest()
       
    30     {
       
    31     }
       
    32 
       
    33 //---------------------------------------------------------------------------- 
       
    34 // CSmsSendRequest::GetSmsDataAndAttributes
       
    35 // This method returns SMS data and attributes
       
    36 // (other items were commented in a header).
       
    37 // --------------------------------------------------------------------------- 
       
    38 //
       
    39 TSendSmsDataAndAttributes CSmsSendRequest::GetSmsDataAndAttributes() const
       
    40 	{
       
    41 	return iSmsDataAndAttributes;
       
    42 	}
       
    43 	
       
    44 //---------------------------------------------------------------------------- 
       
    45 // CSmsSendRequest::SetSmsDataAndAttributes
       
    46 // This method sets SMS data and attributes
       
    47 // (other items were commented in a header).
       
    48 // --------------------------------------------------------------------------- 
       
    49 //
       
    50 void CSmsSendRequest::SetSmsDataAndAttributes(
       
    51 	TSendSmsDataAndAttributes const& aSmsDataAndAttributes )
       
    52 	{
       
    53 	iSmsDataAndAttributes = aSmsDataAndAttributes;
       
    54 	}
       
    55 	
       
    56 //---------------------------------------------------------------------------- 
       
    57 // CSmsSendRequest::IncreaseSendCounter
       
    58 // This method increases iSmsSendCounter
       
    59 // (other items were commented in a header).
       
    60 // --------------------------------------------------------------------------- 
       
    61 //
       
    62 void CSmsSendRequest::IncreaseSendCounter()
       
    63 	{
       
    64 	iSendCounter++;
       
    65 	}
       
    66 
       
    67 //---------------------------------------------------------------------------- 
       
    68 // CSmsSendRequest::SetSmsDataAndAttributes
       
    69 // This method gets iSmsSendCounter
       
    70 // (other items were commented in a header).
       
    71 // --------------------------------------------------------------------------- 
       
    72 //
       
    73 TUint8 CSmsSendRequest::GetSendCounter() const
       
    74 	{
       
    75 	return iSendCounter;
       
    76 	}
       
    77 
       
    78 //  End of File