equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-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 // agentnotifierdefs.h - agent Notifier the information |
|
15 // passing classes/enums |
|
16 // |
|
17 |
|
18 |
|
19 #ifndef _AGENTNOTIFIERDEFS_H_ |
|
20 #define _AGENTNOTIFIERDEFS_H_ |
|
21 |
|
22 const TUid KUidAgentDialogNotifier = { 0x101FD0CE}; |
|
23 const TUid KScreenOutputChannel ={0x00000666}; //notifier should go to a dialog channel, not a led or sound channel |
|
24 |
|
25 |
|
26 enum TAgentDialog |
|
27 { |
|
28 ENoYesDialog = 1, |
|
29 EContinueDialog, |
|
30 EError |
|
31 }; |
|
32 |
|
33 enum TAgentDialogResult |
|
34 { |
|
35 EAgentNoPressed = 2, |
|
36 EAgentYesPressed =3, |
|
37 EAgentContinuePressed |
|
38 }; |
|
39 |
|
40 |
|
41 class TAgentDialogInput |
|
42 { |
|
43 public: |
|
44 enum TBufferSize |
|
45 { |
|
46 EGenericBufferSize=80 |
|
47 }; |
|
48 |
|
49 TAgentDialogInput(){} |
|
50 |
|
51 TInt getDialogOperation(){return iDialog;} |
|
52 |
|
53 public: |
|
54 TAgentDialog iDialog; |
|
55 TBuf<EGenericBufferSize> iTitle; |
|
56 TBuf<EGenericBufferSize> iLabel; |
|
57 |
|
58 }; |
|
59 |
|
60 typedef TPckgBuf<TAgentDialogInput> TAgentDialogInputBuf; |
|
61 typedef TPckgBuf<TInt> TAgentDialogOutputBuf; |
|
62 |
|
63 #endif |
|
64 |