equal
deleted
inserted
replaced
|
1 // Copyright (c) 2001-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 // |
|
15 |
|
16 |
|
17 #if (!defined __CSDDIALOGSERVER_H__) |
|
18 #define __CSDDIALOGSERVER_H__ |
|
19 |
|
20 #include <e32base.h> |
|
21 #include <dummyagentdialog.h> |
|
22 |
|
23 class CDialogServer : public CActive |
|
24 { |
|
25 public: |
|
26 class MObserver |
|
27 { |
|
28 public: |
|
29 virtual void DialogHasAppeared()=0; |
|
30 }; |
|
31 public: |
|
32 CDialogServer(); |
|
33 ~CDialogServer(); |
|
34 TBool Open(); |
|
35 void Close(); |
|
36 void RequestDialogAppearanceNotification(MObserver* aObserver); |
|
37 void SetReconnectResponse(TBool aResponse); |
|
38 private: |
|
39 void RunL(); |
|
40 void DoCancel(); |
|
41 private: |
|
42 RGenConAgentDialogServer iDlgSvr; |
|
43 MObserver* iObserver; |
|
44 }; |
|
45 |
|
46 #endif /* __CSDDIALOGSERVER_H__*/ |