emailservices/nmailagent/inc/nmmailagent.h
changeset 48 10eaf342f539
parent 44 c2d07d913565
child 51 d845db10c0d4
child 59 16ed8d08d0b1
equal deleted inserted replaced
47:f83bd4ae1fe3 48:10eaf342f539
    24 class NmMailbox;
    24 class NmMailbox;
    25 class NmDataPluginFactory;
    25 class NmDataPluginFactory;
    26 class NmDataPluginInterface;
    26 class NmDataPluginInterface;
    27 class HbIndicator;
    27 class HbIndicator;
    28 class XQSystemToneService;
    28 class XQSystemToneService;
    29 
    29 class XQSettingsManager;
       
    30 class XQSettingsKey;
    30 
    31 
    31 class NmMailboxInfo
    32 class NmMailboxInfo
    32 {
    33 {
    33 public:
    34 public:
    34     NmId mId;
    35     NmId mId;
    83     void delayedStart();
    84     void delayedStart();
    84 
    85 
    85     void enableAlertTone();
    86     void enableAlertTone();
    86 
    87 
    87     void indicatorActivated(const QString &type, const QVariantMap &data);
    88     void indicatorActivated(const QString &type, const QVariantMap &data);
       
    89 
       
    90     void valueChanged(const XQSettingsKey& key, const QVariant& value);
    88 
    91 
    89 private:
    92 private:
    90 
    93 
    91     void initMailboxStatus();
    94     void initMailboxStatus();
    92 
    95 
   144     QList<NmMailboxInfo*> mMailboxes;
   147     QList<NmMailboxInfo*> mMailboxes;
   145     CHWRMVibra *mVibra; // Owned
   148     CHWRMVibra *mVibra; // Owned
   146     bool mAlertToneAllowed;
   149     bool mAlertToneAllowed;
   147     int mLastOutboxCount;
   150     int mLastOutboxCount;
   148     bool mUnreadIndicatorActive;
   151     bool mUnreadIndicatorActive;
       
   152     XQSettingsManager *mSettingManager;
       
   153     int mSilenceMode;
   149 };
   154 };
   150 
   155 
   151 
   156 
   152 #endif // NMMAILAGENT_H
   157 #endif // NMMAILAGENT_H