telephonyserverplugins/common_tsy/commontsy/inc/mmsms/cmmsmssendrequest.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 /*
       
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CMMSMSSENDREQUEST_H
       
    21 #define CMMSMSSENDREQUEST_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <etelmm.h>
       
    25 #include <ctsy/serviceapi/cmmsmsutility.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  CSmsSendRequest class, contains SMS send request to the SMS server.
       
    31 */
       
    32 NONSHARABLE_CLASS( CSmsSendRequest ) : public CBase
       
    33     {
       
    34     public:
       
    35         
       
    36         /**
       
    37          * C++ default constructor.
       
    38          */
       
    39         CSmsSendRequest();
       
    40         
       
    41         /**
       
    42          * Destructor.
       
    43          */
       
    44         ~CSmsSendRequest();
       
    45         
       
    46         /**
       
    47          * Gets SMS data and attributes
       
    48          *          
       
    49          * 
       
    50          * @return TSendSmsDataAndAttributes
       
    51          */
       
    52     	TSendSmsDataAndAttributes GetSmsDataAndAttributes() const;
       
    53         
       
    54         /**
       
    55          * Sets SMS data and attributes
       
    56          *          
       
    57          * 
       
    58          * @param aSmsDataAndAttributes
       
    59          */
       
    60     	void SetSmsDataAndAttributes( 
       
    61     	    TSendSmsDataAndAttributes const& aSmsDataAndAttributes );
       
    62         
       
    63         /**
       
    64          * Increase send counter
       
    65          *          
       
    66          * 
       
    67          */
       
    68     	void IncreaseSendCounter();
       
    69     	
       
    70     	/**
       
    71          * Gets send counter
       
    72          *          
       
    73          * 
       
    74          * @return TUint8
       
    75          */
       
    76     	TUint8 GetSendCounter() const;
       
    77 
       
    78     private:        
       
    79 
       
    80         /*
       
    81          * SMS data and attributes
       
    82          */
       
    83         TSendSmsDataAndAttributes iSmsDataAndAttributes;
       
    84 
       
    85         /*
       
    86          * Send counter
       
    87          */
       
    88         TUint8 iSendCounter;
       
    89         
       
    90     };
       
    91 
       
    92 
       
    93 #endif  // CMMSMSSENDREQUEST_H
       
    94 
       
    95 // End of File