diff -r 000000000000 -r 08ec8eefde2f persistentstorage/dbms/SPConv/cn_main.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/persistentstorage/dbms/SPConv/cn_main.h Fri Jan 22 11:06:30 2010 +0200 @@ -0,0 +1,42 @@ +// Copyright (c) 2004-2009 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: +// TCmdLinePrm structure +// +// + +#ifndef __CN_MAIN_H__ +#define __CN_MAIN_H__ + +#include + +/** +TCmdLinePrm structure represents parsed command line arguments - +requested action (input, output), text file path, binary file path. +@internalComponent +*/ +struct TCmdLinePrm + { + void Zero() + { + iAction = ENone; + iTxtFile.Zero(); + iBinFile.Zero(); + } + typedef enum {ENone, ETxt2Bin, EBin2Txt} TAction;//Requested action type + TAction iAction;//ETxt2Bin: TXT->BIN, or EBin2Txt: BIN->TXT (not implemented) + TFileName iTxtFile;//Text policy file path + TFileName iBinFile;//Binary policy file path + }; + +#endif//__CN_MAIN_H__