telephonyprotocols/csdagt/script/SSCREXEC.INL
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 /**
       
     2 * Copyright (c) 2003-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 * Script Executor inline functions.
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file Sscrexec.inl
       
    24 */
       
    25 
       
    26 #ifndef __SSCREXEC_INL__
       
    27 #define __SSCREXEC_INL__
       
    28 
       
    29 #include "SSCREXEC.H"
       
    30 #include "SSCRREAD.H"
       
    31 #include "ND_SCR.H"
       
    32 
       
    33 inline TBool CScriptExecutor::ReadFound() const
       
    34 /**
       
    35 Return read found flag.
       
    36 */
       
    37 	{
       
    38 	return iReadFound;
       
    39 	}
       
    40 
       
    41 inline TBool CScriptExecutor::ReadPctPending() const
       
    42 /**
       
    43 Return read from PCT penging flag.
       
    44 */
       
    45 	{
       
    46 	return iReadFromPctPending;
       
    47 	}
       
    48 
       
    49 inline TBool CScriptExecutor::IsScriptSet() const
       
    50 /**
       
    51 Return is script set flag.
       
    52 */
       
    53 	{
       
    54 	return iScriptReader->IsScriptSet();
       
    55 	}
       
    56 
       
    57 inline TBool CScriptExecutor::RequestUsePct() const
       
    58 /**
       
    59 Return is PCT used flag.
       
    60 */
       
    61 	{
       
    62 	return iScript->UsePct();
       
    63 	}
       
    64 
       
    65 inline 	const TDesC& CScriptExecutor::BcaStack() const
       
    66 	{
       
    67 	ASSERT(iScript);
       
    68 	return iScript->BcaStack();
       
    69 	}
       
    70 
       
    71 inline TInt CScriptExecutor::IapId() const
       
    72 	{
       
    73 	ASSERT(iScript);
       
    74 	return iScript->IapId();
       
    75 	}
       
    76 
       
    77 #endif