phoneapp/phoneuiutils/inc/tphonecmdparamprogressnote.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2005 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 *   See class description.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef TPHONECMDPARAMPROGRESSNOTE_H
       
    21 #define TPHONECMDPARAMPROGRESSNOTE_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include <w32std.h>
       
    26 #include <aknnotedialog.h> 
       
    27 #include "tphonecommandparam.h"
       
    28 
       
    29 // DATA TYPES
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  A parameter class for note dialog information.
       
    35 */
       
    36 class TPhoneCmdParamProgressNote : public TPhoneUICommandParam
       
    37     {   
       
    38     public:  
       
    39         
       
    40         /**
       
    41         * C++ default constructor.
       
    42         */
       
    43         IMPORT_C TPhoneCmdParamProgressNote();
       
    44 
       
    45     public: 
       
    46 
       
    47         /**
       
    48         * Sets the resource ID for the note
       
    49         * @param aResourceId is the note resource ID
       
    50         */
       
    51         IMPORT_C void SetResourceId( TInt aResourceId );
       
    52         
       
    53          /**
       
    54         * Sets the wait time for the note
       
    55         * @param aWaitTime is the note wait time
       
    56         */
       
    57         IMPORT_C void SetWaitTime( TTimeIntervalMicroSeconds32 aTime );
       
    58 
       
    59         /**
       
    60         * Returns the note resource ID.
       
    61         * @return Returns the note resource ID.
       
    62         */
       
    63         IMPORT_C TInt ResourceId() const;
       
    64         
       
    65         /**
       
    66         * Returns the note wait time
       
    67         * @return Returns the note wait time.
       
    68         */
       
    69         IMPORT_C TTimeIntervalMicroSeconds32 WaitTime() const;
       
    70 
       
    71     private:    
       
    72 
       
    73         /**
       
    74         * Note resource ID
       
    75         */
       
    76         TInt iResourceId;
       
    77         
       
    78         /**
       
    79         * Note wait time
       
    80         */
       
    81         TTimeIntervalMicroSeconds32 iWaitTime;
       
    82     };
       
    83 
       
    84 #endif // TPHONECMDPARAMPROGRESSNOTE_H
       
    85             
       
    86 // End of File