equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2008 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: Signature definitions to validate notifier messages. |
|
15 * If signature is not valid, whole message will be ignored in |
|
16 * notifier plugin. |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef __AKNNOTIFYSIGNATURE_H__ |
|
21 #define __AKNNOTIFYSIGNATURE_H__ |
|
22 |
|
23 #include <e32std.h> |
|
24 #include <AknNotifyStd.h> |
|
25 |
|
26 const TInt KAKNNOTIFIERSIGNATURE('a'*'k'*'n'); |
|
27 |
|
28 // Used only when preallocating a global note id. |
|
29 const TInt KAKNNOTIFIERSIGNATURE_GETNOTEID('a'*'k'*'n'*'2'); |
|
30 |
|
31 struct SAknNotifierSignature |
|
32 { |
|
33 SAknNotifierSignature():iSignature(KAKNNOTIFIERSIGNATURE){}; |
|
34 const TInt iSignature; |
|
35 }; |
|
36 |
|
37 template <class T> |
|
38 struct SAknNotifierPackage: public SAknNotifierSignature |
|
39 { |
|
40 T iParamData; |
|
41 }; |
|
42 |
|
43 #endif // __AKNNOTIFYSIGNATURE_H__ |