idlefw/plugins/devicestatus/inc/aipublisherbroadcaster.h
author Christian Morlok <symbian.org@christianmorlok.de>
Tue, 13 Apr 2010 19:36:31 +0200
branchv5backport
changeset 58 d017f79b1bb1
parent 0 79c6a41cd166
permissions -rw-r--r--
updated dependencies; compiles again (including all plugins) with winscw_udeb without error

/*
* Copyright (c) 2006 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:  Owner of publishers.
*
*/



#ifndef M_AIPUBLISHERBROADCASTER_H
#define M_AIPUBLISHERBROADCASTER_H

/**
 *  @ingroup group_devicestatusplugin
 *
 *  Broadcaster for Device Status Plug-in.
 *
 *  This class should be implemented by an instance that owns Device Status 
 *  Plug-in publishers. The purpose of this class is to offer a method for 
 *  single publisher to broadcast events to all other publishers.
 *
 *  @since S60 3.2
 */
class MAiPublisherBroadcaster
    {

public:

    /**
     *  Invoke a refresh call for publishers that publish specific content 
     *  with specific priority.
     *
     *  This has the same effect as the publisher would get content update from system.
     *  Publisher publishes content if it is available and has correct priority.
     *  @param aContentId Id of the content item that is requested to republish.
     *  @param aPriority Priority of the content that needs to be refreshed.
     *  @return true if content was republished.
     */
    virtual TBool RefreshPriorizedPublishersL( TInt aContentId, TInt aPriority ) = 0;
    };


#endif // M_AIPUBLISHERBROADCASTER_H