messagingfw/biomsgfw/IACPINC/ISSP.H
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     1 // Copyright (c) 1998-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 // Internet Script Settings Parser
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __ISSP_H__
       
    19 #define __ISSP_H__
       
    20 #include <commsdat.h>
       
    21 #include <commsdattypesv1_1.h>
       
    22 using namespace CommsDat;
       
    23 
       
    24 class CScriptParser : public CBase
       
    25 /**
       
    26 @internalComponent
       
    27 @released
       
    28 */
       
    29 	{
       
    30 public:
       
    31 	static CScriptParser* NewLC();
       
    32 	static CScriptParser* NewL();
       
    33 	~CScriptParser();
       
    34 	void ParseL(CParsedFieldCollection& aIacpFields);
       
    35 	void ProcessL(CMsvEntry& aEntry); 
       
    36 
       
    37 private:
       
    38 	CScriptParser();
       
    39 	void ConstructL();
       
    40 	void ChangeLoginScriptToNewlines();
       
    41 
       
    42 	enum TLoginScriptMode
       
    43 		{
       
    44 		ENewScript=1,   //Create new login script
       
    45 		EAddToScript	//Add to existing login script
       
    46 		};
       
    47 private:
       
    48 	TInt	iScriptMode; 
       
    49 	HBufC*	iScriptName;
       
    50 	HBufC*  iScriptType;
       
    51 	TBool	iUseLoginScript;
       
    52 	HBufC*	iLoginScript;
       
    53 
       
    54 	CMDBSession*					iDbSession;
       
    55 	};
       
    56 #endif