equal
deleted
inserted
replaced
|
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 |
|
23 /** |
|
24 @file |
|
25 @internalTechnology |
|
26 */ |
|
27 |
|
28 #ifndef __CSyntaxResult_H |
|
29 #define __CSyntaxResult_H |
|
30 |
|
31 #include <e32base.h> |
|
32 #include <e32std.h> |
|
33 #include <e32cons.h> |
|
34 |
|
35 class CSyntaxResult : public CBase |
|
36 { |
|
37 public: |
|
38 static CSyntaxResult* NewL(); |
|
39 static CSyntaxResult* NewLC(); |
|
40 ~CSyntaxResult(); |
|
41 |
|
42 void SetFilename(const TDesC8 &aFilename); |
|
43 void SetResult(const TDesC8 &aResult); |
|
44 |
|
45 inline void GetFilename(TPtrC &aFilename) { aFilename.Set(iFilename);}; |
|
46 inline TInt Result(void) { return(iResult);}; |
|
47 |
|
48 private: |
|
49 CSyntaxResult(); |
|
50 void ConstructL(); |
|
51 TBuf<128> iFilename; |
|
52 TInt iResult; |
|
53 }; |
|
54 |
|
55 #endif |