menucontentsrv/srvinc/menusrvnotifier.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 25 May 2010 13:01:39 +0300
branchRCL_3
changeset 22 1b207dd38b72
parent 0 79c6a41cd166
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2009 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:
*
*/

#ifndef __MENUSRVNOTIFIER_H__
#define __MENUSRVNOTIFIER_H__

//  INCLUDES

#include "menusrvobject.h"

// CLASS DECLARATION

/**
* Server side notifier object.
*/
NONSHARABLE_CLASS( CMenuSrvNotifier ): public CMenuSrvObject
    {

public:     // new methods

    /**
    * Notification requested.
    * @param aFolder Request notification for this folder (0==any).
    * @param aEvents Request notification for these events.
    * @param aMessage Message requesting the notification.
    */
    void NotifyL( TInt aFolder, TInt aEvents, const RMessage2& aMessage );

    /**
    * Handle engine events. Completes the message, if appropriate.
    * @param aFolder Event occurred in this folder (0==unspecified, match all).
    * @param aEvents Engine events.
    */
    void HandleEvents( TInt aFolder, TInt aEvents );

private:    // data

    TInt iFolder; ///< Folder.
    TInt iEvents; ///< Event mask.

    };

#endif // __MENUSRVNOTIFIER_H__
            
// End of File