diff -r 000000000000 -r 2f259fa3e83a classicui_plat/extended_notifiers_api/inc/AknNotifySignature.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classicui_plat/extended_notifiers_api/inc/AknNotifySignature.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,43 @@ +/* +* Copyright (c) 2002-2008 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: Signature definitions to validate notifier messages. +* If signature is not valid, whole message will be ignored in +* notifier plugin. +* +*/ + +#ifndef __AKNNOTIFYSIGNATURE_H__ +#define __AKNNOTIFYSIGNATURE_H__ + +#include +#include + +const TInt KAKNNOTIFIERSIGNATURE('a'*'k'*'n'); + +// Used only when preallocating a global note id. +const TInt KAKNNOTIFIERSIGNATURE_GETNOTEID('a'*'k'*'n'*'2'); + +struct SAknNotifierSignature + { + SAknNotifierSignature():iSignature(KAKNNOTIFIERSIGNATURE){}; + const TInt iSignature; + }; + +template +struct SAknNotifierPackage: public SAknNotifierSignature + { + T iParamData; + }; + +#endif // __AKNNOTIFYSIGNATURE_H__