equal
deleted
inserted
replaced
1 // BACLINE.H |
|
2 // |
|
3 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved. |
|
4 // |
|
5 |
|
6 /* |
|
7 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
8 * All rights reserved. |
|
9 * This component and the accompanying materials are made available |
|
10 * under the terms of "Eclipse Public License v1.0" |
|
11 * which accompanies this distribution, and is available |
|
12 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
13 * |
|
14 * Initial Contributors: |
|
15 * Nokia Corporation - initial contribution. |
|
16 * |
|
17 * Contributors: |
|
18 * |
|
19 * Description: Stub for unit testing |
|
20 * |
|
21 */ |
|
22 |
|
23 #ifndef BACLINESTUB_H |
|
24 #define BACLINESTUB_H |
|
25 |
|
26 #include <e32base.h> |
|
27 #include <badesca.h> |
|
28 |
|
29 class CCommandLineArguments : public CBase |
|
30 { |
|
31 public: |
|
32 // construct/destruct |
|
33 static CCommandLineArguments* NewLC(); |
|
34 static CCommandLineArguments* NewL(); |
|
35 ~CCommandLineArguments(); |
|
36 // extract |
|
37 TPtrC Arg(TInt aArg) const; |
|
38 TInt Count() const; |
|
39 |
|
40 public: // For unit testing purposes, not in the real implementation |
|
41 CDesCArray& Args(); |
|
42 |
|
43 private: |
|
44 CCommandLineArguments(); |
|
45 void ConstructL(); |
|
46 |
|
47 private: // For unit testing purposes, not in the real implementation |
|
48 CDesCArray* iArgs; |
|
49 }; |
|
50 |
|
51 #endif |
|