os/security/cryptoservices/certificateandkeymgmt/tx509/SyntaxResult.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 1998-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 the License "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 * SyntaxTest.H
    16 * CSyntaxResult class implementation
    17 *
    18 */
    19 
    20 
    21 /**
    22  @file 
    23  @internalTechnology
    24 */
    25  
    26 #ifndef __CSyntaxResult_H
    27 #define __CSyntaxResult_H
    28 
    29 #include <e32base.h>
    30 #include <e32std.h>
    31 #include <e32cons.h>
    32 
    33 class CSyntaxResult : public CBase
    34 	{
    35 public:
    36 	static CSyntaxResult* NewL();
    37 	static CSyntaxResult* NewLC();
    38 	~CSyntaxResult();
    39 
    40 	void SetFilename(const TDesC8 &aFilename);
    41 	void SetResult(const TDesC8 &aResult);
    42 
    43 	inline void GetFilename(TPtrC &aFilename) { aFilename.Set(iFilename);};
    44 	inline TInt Result(void) { return(iResult);};
    45 
    46 private:
    47 	CSyntaxResult();
    48 	void ConstructL();
    49 	TBuf<128> iFilename;
    50 	TInt iResult;
    51 	};
    52 
    53 #endif