equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Security dialog notifier server |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef SECURITYDIALOGNOTIFIERSERVER_H |
|
19 #define SECURITYDIALOGNOTIFIERSERVER_H |
|
20 |
|
21 #include <e32base.h> // CPolicyServer |
|
22 |
|
23 |
|
24 /** |
|
25 * CSecurityDialogNotifierServer is the work-horse for TSecurityDialogOperation |
|
26 * operations defined for security dialogs in secdlgimpldefs.h. It's client |
|
27 * is CSecurityDialogs class in securitydialognotifier component. |
|
28 */ |
|
29 NONSHARABLE_CLASS( CSecurityDialogNotifierServer ) : public CPolicyServer |
|
30 { |
|
31 public: // constructor and destructor |
|
32 static CSecurityDialogNotifierServer* NewLC(); |
|
33 ~CSecurityDialogNotifierServer(); |
|
34 |
|
35 public: // new functions |
|
36 void AddSession(); |
|
37 void RemoveSession(); |
|
38 |
|
39 private: // from CServer2 (via CPolicyServer) |
|
40 CSession2* NewSessionL(const TVersion &aVersion, const RMessage2& aMessage) const; |
|
41 |
|
42 private: // new functions |
|
43 CSecurityDialogNotifierServer(); |
|
44 void ConstructL(); |
|
45 |
|
46 private: // data |
|
47 TInt iSessionCount; |
|
48 }; |
|
49 |
|
50 #endif // SECURITYDIALOGNOTIFIERSERVER_H |
|
51 |