persistentstorage/dbms/SPConv/cn_main.h
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2004-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 // TCmdLinePrm structure
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __CN_MAIN_H__
       
    19 #define __CN_MAIN_H__
       
    20 
       
    21 #include <e32std.h>
       
    22 
       
    23 /**
       
    24 TCmdLinePrm structure represents parsed command line arguments - 
       
    25 requested action (input, output), text file path, binary file path.
       
    26 @internalComponent
       
    27 */
       
    28 struct TCmdLinePrm
       
    29 	{
       
    30 	void Zero()
       
    31 		{
       
    32 		iAction = ENone;
       
    33 		iTxtFile.Zero();
       
    34 		iBinFile.Zero();
       
    35 		}
       
    36 	typedef enum {ENone, ETxt2Bin, EBin2Txt} TAction;//Requested action type
       
    37 	TAction		iAction;//ETxt2Bin: TXT->BIN, or EBin2Txt: BIN->TXT (not implemented)
       
    38 	TFileName	iTxtFile;//Text policy file path
       
    39 	TFileName	iBinFile;//Binary policy file path
       
    40 	};
       
    41 
       
    42 #endif//__CN_MAIN_H__