|
1 /* |
|
2 * Copyright (c) 2002 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: Used to check if sending of bio message is supported. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __CBIOMSGBLACKLIST_H__ |
|
21 #define __CBIOMSGBLACKLIST_H__ |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include <ConeResLoader.h> |
|
26 |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Class which can be used to check if sending of bio message is supported. |
|
32 * Normally used before calling DisplaySendMenuItemL. |
|
33 */ |
|
34 NONSHARABLE_CLASS (CBioMsgBlacklist) : public CBase |
|
35 { |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 */ |
|
41 static CBioMsgBlacklist* NewL( CCoeEnv* aCoeEnv ); |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 virtual ~CBioMsgBlacklist(); |
|
47 |
|
48 /** |
|
49 * Can be used to check if sending of bio message is supported. Normally used before |
|
50 * calling DisplaySendMenuItemL. |
|
51 * @since 2.5 |
|
52 * @param aBioMessageId: uid of the bio message |
|
53 * @return: ETrue if it is ok to send bio message |
|
54 */ |
|
55 TBool CanSendBioMsg( TUid aBioMessageUid ); |
|
56 |
|
57 private: |
|
58 /** |
|
59 * Constructor. |
|
60 */ |
|
61 CBioMsgBlacklist(CCoeEnv* aCoeEnv); |
|
62 |
|
63 /** |
|
64 * Symbian OS constructor. |
|
65 */ |
|
66 void ConstructL(); |
|
67 |
|
68 private: |
|
69 |
|
70 CArrayFix<TInt32>* iBioMsgBlacklistArray; |
|
71 |
|
72 CCoeEnv* iCoeEnv; |
|
73 }; |
|
74 |
|
75 |
|
76 #endif //__CBIOMSGBLACKLIST_H__ |
|
77 |
|
78 // End of file |