telephonyprotocols/psdagt/TS_PsdAgt/PsdDialogServer.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     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 __PSDDIALOGSERVER_H__)
       
    18 #define __PSDDIALOGSERVER_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 	void SetQoSWarnResponse(TBool aResponse);
       
    39 private:
       
    40 	void RunL();
       
    41 	void DoCancel();
       
    42 private:
       
    43 	RGenConAgentDialogServer iDlgSvr;
       
    44 	MObserver* iObserver;
       
    45 	};
       
    46 
       
    47 #endif /* __PSDDIALOGSERVER_H__*/