idlefw/plugins/devicestatus/inc/ainwspublisher.h
branchRCL_3
changeset 8 d0529222e3f0
parent 0 79c6a41cd166
child 16 b276298d5729
equal deleted inserted replaced
4:1a2a00e78665 8:d0529222e3f0
    17 
    17 
    18 
    18 
    19 #ifndef C_AINWSPUBLISHER_H
    19 #ifndef C_AINWSPUBLISHER_H
    20 #define C_AINWSPUBLISHER_H
    20 #define C_AINWSPUBLISHER_H
    21 
    21 
       
    22 // System includes
       
    23 #include <e32base.h>
    22 
    24 
    23 #include <e32base.h>
    25 // User includes
    24 #include "aidevicestatuspublisher.h"
    26 #include "aidevicestatuspublisher.h"
    25 #include "aidevicestatuscontentmodel.h"
    27 #include "aidevicestatuscontentmodel.h"
    26 #include "ainetworkinfoobserver.h"
    28 #include "ainetworkinfoobserver.h"
    27 
    29 
    28 
    30 // Forward declarations
    29 class MAiDeviceStatusContentObserver;
    31 class MAiDeviceStatusContentObserver;
    30 class MAiPropertyExtension;
    32 class CHsContentPublisher;
    31 class CAiNetworkInfoListener;
    33 class CAiNetworkInfoListener;
    32 class CRepository;
    34 class CRepository;
    33 
    35 
    34 /**
    36 /**
    35  *  @ingroup group_devicestatusplugin
    37  *  @ingroup group_devicestatusplugin
    36  *
    38  *
    37  *  Listens Network status and publishes data if network selection dialog is needed.
    39  *  Listens Network status and publishes data if network selection dialog is needed.
    38  *
    40  *
    39  *  @since S60 3.2
    41  *  @since S60 3.2
    40  */
    42  */
    41 class CAiNwsPublisher : public CBase, public MAiDeviceStatusPublisher,
    43 NONSHARABLE_CLASS( CAiNwsPublisher ) : public CBase, 
    42                                 public MAiNetworkInfoObserver
    44     public MAiDeviceStatusPublisher,
       
    45     public MAiNetworkInfoObserver
    43     {
    46     {
    44 public:
    47 public:
    45 
    48 
    46     static CAiNwsPublisher* NewL();
    49     static CAiNwsPublisher* NewL();
    47 
    50 
    50 // from base class MAiDeviceStatusPublisher
    53 // from base class MAiDeviceStatusPublisher
    51 
    54 
    52     void ResumeL();
    55     void ResumeL();
    53 
    56 
    54     void Subscribe( MAiContentObserver& aObserver,
    57     void Subscribe( MAiContentObserver& aObserver,
    55                     MAiPropertyExtension& aExtension,
    58                     CHsContentPublisher& aExtension,
    56                     MAiPublishPrioritizer& aPrioritizer,
    59                     MAiPublishPrioritizer& aPrioritizer,
    57                     MAiPublisherBroadcaster& aBroadcaster );
    60                     MAiPublisherBroadcaster& aBroadcaster );
    58 
    61 
    59     void RefreshL( TBool aClean );
    62     void RefreshL( TBool aClean );
    60 
    63 
   106 
   109 
   107     /**
   110     /**
   108      * Property extension.
   111      * Property extension.
   109      * Not own.
   112      * Not own.
   110      */
   113      */
   111     MAiPropertyExtension* iExtension;
   114     CHsContentPublisher* iExtension;
   112 
   115 
   113     /**
   116     /**
   114      * Network info listener.
   117      * Network info listener.
   115      * Own.
   118      * Own.
   116      */
   119      */