satui/satapp/inc/satappcommonconstant.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:23:05 +0300
changeset 23 427125ac6cb8
parent 15 d7fc66ccd6fb
child 27 7eb70891911c
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/

#ifndef SATAPPCOMMONCONSTANT_H
#define SATAPPCOMMONCONSTANT_H

//  CONSTANTS

const int KDisplayTxtUserClearTimeout( 60000 );
// As the QT for S60 is slow, we use 6 sec, in symbian sat ui we use 3 sec.
const int KDisplayTxtDefaultduration( 6000 );

const unsigned int KGetInputStringMaxSize = 0xEF;

const int KExtendTimeoutMseconds(3000);
const int KDefaultSelectionTimeoutMseconds(60000);
const int KSymbianTimeConvertQtTime(100);
const int KMoSmControlTimeOut(3000);
const int KPlayToneSymbianConvertQtTime(1000);

//enum for SendSms
/**Sat send sms user response*/
enum TSatAppConfirmType
    {
    ESatUiConfirmSendSms = 1,
    ESatUiConfirmSendSs,
    ESatUiConfirmSendUssd
    };
   
enum TSatAppUserResponse
{
    /**
     *  default, user no response
     */
    EUserNoResponse = 0,
    /**
     *  OK, user response
     */
    EUserPrimaryResponse,
    /**
     *  Back, user response
     */
    EUserSecondaryResponse,
    /**
     *  requested to clear by the server
     */
    EUserClearResponse,
    /**
     *  requested to close application by the server
     */
    EUserCloseResponse
};
    
enum TSatAppDialogActionType
    {
    ESatDialogDisplayText = 0, // Ok Back
    ESatDialogGetInput, // Cancel ->Ok Cancel
    ESatDialogGetInkey, // Cancel ->Ok Cancel
    ESatDialogGetYesNo, // Yes No
    ESatDialogGetDigitalRsp, // Cancel
    ESatDialogSetUpCall, // Call Cancel
    ESatDialogConfirmSend, // Yes No
    ESatDialogConfirmBip // Ok Cancel
    };

#endif