diff -r 000000000000 -r dfb7c4ff071f datacommsserver/networkingdialogapi/agentnotifier/inc/agentnotifierdefs.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datacommsserver/networkingdialogapi/agentnotifier/inc/agentnotifierdefs.h Thu Dec 17 09:22:25 2009 +0200 @@ -0,0 +1,64 @@ +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// agentnotifierdefs.h - agent Notifier the information +// passing classes/enums +// + + +#ifndef _AGENTNOTIFIERDEFS_H_ +#define _AGENTNOTIFIERDEFS_H_ + +const TUid KUidAgentDialogNotifier = { 0x101FD0CE}; +const TUid KScreenOutputChannel ={0x00000666}; //notifier should go to a dialog channel, not a led or sound channel + + +enum TAgentDialog + { + ENoYesDialog = 1, + EContinueDialog, + EError + }; + +enum TAgentDialogResult + { + EAgentNoPressed = 2, + EAgentYesPressed =3, + EAgentContinuePressed + }; + + +class TAgentDialogInput +{ +public: + enum TBufferSize + { + EGenericBufferSize=80 + }; + + TAgentDialogInput(){} + + TInt getDialogOperation(){return iDialog;} + +public: + TAgentDialog iDialog; + TBuf iTitle; + TBuf iLabel; + +}; + +typedef TPckgBuf TAgentDialogInputBuf; +typedef TPckgBuf TAgentDialogOutputBuf; + +#endif +