equal
deleted
inserted
replaced
|
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 // CSPBin2Txt class |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __CN_BIN2TXT_H__ |
|
19 #define __CN_BIN2TXT_H__ |
|
20 |
|
21 #include "cn_proc.h" |
|
22 |
|
23 //Forward declarations |
|
24 struct TCmdLinePrm; |
|
25 class TCmdProcessorFactory; |
|
26 class RFs; |
|
27 |
|
28 /** |
|
29 CSPBin2Txt class implements CCmdProcessor interface and describes an object which |
|
30 takes a binary policy file as an input, loads all policies in memory and then stores |
|
31 them in a text file. |
|
32 @see CCmdProcessor |
|
33 @see TCmdProcessorFactory |
|
34 @see TCmdLinePrm |
|
35 @internalComponent |
|
36 */ |
|
37 class CSPBin2Txt : private CCmdProcessor |
|
38 { |
|
39 friend class TCmdProcessorFactory; |
|
40 |
|
41 public: |
|
42 virtual void RunL(); |
|
43 virtual ~CSPBin2Txt(); |
|
44 |
|
45 private: |
|
46 inline CSPBin2Txt(RFs& aFs, const TCmdLinePrm& aCmdLinePrm); |
|
47 static CSPBin2Txt* NewLC(RFs& aFs, const TCmdLinePrm& aCmdLinePrm); |
|
48 void ConstructL(); |
|
49 |
|
50 }; |
|
51 |
|
52 #endif//__CN_BIN2TXT_H__ |