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