2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
18 #ifndef __AKNNOTIFY_H__
19 #define __AKNNOTIFY_H__
24 // FORWARD DECLARATIONS
28 class RNotifier2 : public RNotifier
35 * Base class for handling @c RNotifier.
39 NONSHARABLE_CLASS(CAknNotifyBase) : public CBase
45 IMPORT_C ~CAknNotifyBase();
49 * Sets additional information to be sent to secondary display.
50 * Takes ownership of object.
51 * Must be called before sending data to notifier to have effect.
54 * @aparam aData data to be sent to cover UI
56 IMPORT_C void SetSecondaryDisplayData(CAknSDData* aData);
61 * @param aUid The UID identifying the plug-in notifier.
63 CAknNotifyBase(TUid aUid);
66 * 2nd phase constructor.
67 * Connects to the notifier server.
72 * Starts or updates the notifier.
73 * @param aBuffer Data that can be passed to notifier.
74 * @param aResponse Data that can be returned by notifier.
76 void StartOrUpdateL(const TDesC8& aBuffer, TDes8& aResponse);
79 * Starts the notifier.
80 * @param aStatus The request status.
81 * @param aBuffer Data that can be passed to the notifier.
82 * @param aResponse Data that can be returned by the notifier.
84 void StartOrUpdateAndGetResponseL(
85 TRequestStatus& aStatus,
86 const TDesC8& aBuffer,
89 // We don't give this funtionality out of library at the moment
90 // returns instance of secondary display data if set.
91 CAknSDData* SecondaryDisplayData();
94 IMPORT_C void CAknNotifyBase_Reserved();
100 CAknSDData* iSecondaryDisplayData;
103 #endif // __AKNNOTIFY_H__