equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 "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: Declaration of CSsmUiSwpPolicy class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_SSMUISWPPOLICY_H |
|
19 #define C_SSMUISWPPOLICY_H |
|
20 |
|
21 #include "ssmswppolicybase.h" |
|
22 |
|
23 /** |
|
24 * Policy plugin for RF status SWP. |
|
25 */ |
|
26 NONSHARABLE_CLASS( CSsmUiSwpPolicy ) : public CSsmSwpPolicyBase |
|
27 { |
|
28 |
|
29 public: |
|
30 |
|
31 /** |
|
32 * Constructs a CSsmUiSwpPolicy object. |
|
33 * |
|
34 * @return The new object |
|
35 */ |
|
36 IMPORT_C static MSsmSwpPolicy* NewL(); |
|
37 |
|
38 /** |
|
39 * Destructor. |
|
40 */ |
|
41 virtual ~CSsmUiSwpPolicy(); |
|
42 |
|
43 private: // From CSsmPolicyBase |
|
44 |
|
45 void GetCommandListPathL( TDes& aCmdListPath ); |
|
46 |
|
47 private: // From MSsmSwpPolicy |
|
48 |
|
49 /** |
|
50 * @see MSsmSwpPolicy. |
|
51 */ |
|
52 TResponse TransitionAllowed( |
|
53 const TSsmSwp& aSwp, |
|
54 const RMessagePtr2& aMessage ); |
|
55 |
|
56 private: |
|
57 |
|
58 /** |
|
59 * First phase constructor. |
|
60 */ |
|
61 CSsmUiSwpPolicy(); |
|
62 |
|
63 }; |
|
64 |
|
65 #endif // C_SSMUISWPPOLICY_H |