usbmgmt/usbmgr/host/functiondrivers/ms/msmm/referencepolicyplugin/inc/refppnotificationman.h
branchRCL_3
changeset 15 f92a4f87e424
parent 0 c9bc50fca66e
child 16 012cc2ee6408
equal deleted inserted replaced
14:d3e8e7d462dd 15:f92a4f87e424
    25 
    25 
    26 #include <e32base.h>
    26 #include <e32base.h>
    27 #include <usb/hostms/msmm_policy_def.h>
    27 #include <usb/hostms/msmm_policy_def.h>
    28 #include <usb/hostms/srverr.h>
    28 #include <usb/hostms/srverr.h>
    29 
    29 
       
    30 #ifdef __OVER_DUMMYCOMPONENT__
       
    31     #include <usb/hostms/dummycomponent/dummynotifier.h>
       
    32 #endif
       
    33 
    30 typedef RArray<THostMsErrorDataPckg> THostMsErrDataQueue;
    34 typedef RArray<THostMsErrorDataPckg> THostMsErrDataQueue;
    31 const TInt KMaxResponseStringLen = 16;
    35 const TInt KMaxResponseStringLen = 16;
    32 
    36 
    33 NONSHARABLE_CLASS (CMsmmPolicyNotificationManager) : public CActive
    37 NONSHARABLE_CLASS (CMsmmPolicyNotificationManager) : public CActive
    34     {
    38     {
    52     void SendNotification();
    56     void SendNotification();
    53         
    57         
    54 private:
    58 private:
    55     THostMsErrDataQueue iErrorQueue;
    59     THostMsErrDataQueue iErrorQueue;
    56     TBuf8<16> iResponse;
    60     TBuf8<16> iResponse;
       
    61 #ifdef __OVER_DUMMYCOMPONENT__
       
    62     RDummyNotifier iNotifier;
       
    63 #else
    57     RNotifier iNotifier;
    64     RNotifier iNotifier;
       
    65 #endif
    58     };
    66     };
    59 
    67 
    60 #endif /*REFPPNOTIFICATIONMAN_H*/
    68 #endif /*REFPPNOTIFICATIONMAN_H*/