ipsservices/ipssosaoplugin/inc/IpsSosAOSchedulerUtils.h
changeset 18 578830873419
parent 0 8466d47a6819
child 23 2dc6caa42ec3
equal deleted inserted replaced
4:e7aa27f58ae1 18:578830873419
    19 
    19 
    20 #ifndef IPSSOSAOSCHEDULERUTILS_H_
    20 #ifndef IPSSOSAOSCHEDULERUTILS_H_
    21 #define IPSSOSAOSCHEDULERUTILS_H_
    21 #define IPSSOSAOSCHEDULERUTILS_H_
    22 
    22 
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 
    24 //<Qmail>
    25 class CIpsSetDataExtension;
    25 
    26 
    26 //</Qmail>
    27 enum TIpsSosAOConnectionType
    27 enum TIpsSosAOConnectionType
    28     {
    28     {
    29     EAOCDisconnectAfter = 0,
    29     EAOCDisconnectAfter = 0,
    30     EAOCConnectAfter
    30     EAOCConnectAfter
    31     };
    31     };
    47 *  NOTE: this class is taken from S60 Email client,
    47 *  NOTE: this class is taken from S60 Email client,
    48 *  Some parts of this class may not be used in FSEmail
    48 *  Some parts of this class may not be used in FSEmail
    49 *    
    49 *    
    50 *  @since FSEmail 2.0
    50 *  @since FSEmail 2.0
    51 */
    51 */
    52 class CIpsSosAOSchedulerUtils : public CBase
    52 NONSHARABLE_CLASS (CIpsSosAOSchedulerUtils) : public CBase
    53     {
    53     {
    54 public:  // Constructors and destructor
    54 public:  // Constructors and destructor
    55 
    55 
    56     /**
    56     /**
    57     * NewLC
    57     * NewLC
    58     * @return, Constructed object
    58     * @return, Constructed object
    59     */
    59     */
    60     static CIpsSosAOSchedulerUtils* NewLC(
    60     //<Qmail>
    61         const CIpsSetDataExtension& aExtentedSettings );
    61     static CIpsSosAOSchedulerUtils* NewLC();
    62 
    62     //</Qmail>
    63     /**
    63     /**
    64     * NewL
    64     * NewL
    65     * @return, Constructed object
    65     * @return, Constructed object
    66     */
    66     */
    67     static CIpsSosAOSchedulerUtils* NewL(
    67     //<Qmail>
    68         const CIpsSetDataExtension& aExtentedSettings );
    68     static CIpsSosAOSchedulerUtils* NewL();
    69 
    69     //</Qmail>
    70     /**
    70     /**
    71     * Destructor
    71     * Destructor
    72     */
    72     */
    73     virtual ~CIpsSosAOSchedulerUtils();
    73     virtual ~CIpsSosAOSchedulerUtils();
    74 
    74 
    90 private:
    90 private:
    91 
    91 
    92     /**
    92     /**
    93     * Constructor
    93     * Constructor
    94     */
    94     */
    95     CIpsSosAOSchedulerUtils(
    95     //<Qmail>
    96         const CIpsSetDataExtension& aExtentedSettings );
    96     CIpsSosAOSchedulerUtils();
    97 
    97     //</Qmail>
    98     /**
    98     /**
    99     * Symbian 2-phase constructor
    99     * Symbian 2-phase constructor
   100     */
   100     */
   101     void ConstructL();
   101     void ConstructL();
   102 
   102 
   205     TBool IsDaySelected( const TUint aDay ) const;
   205     TBool IsDaySelected( const TUint aDay ) const;
   206         
   206         
   207 private:
   207 private:
   208 
   208 
   209     // Reference to extended settings
   209     // Reference to extended settings
   210     const CIpsSetDataExtension&  iExtentedSettings;
   210     //<Qmail>
       
   211     
       
   212     //</Qmail>
   211     };
   213     };
   212 
   214 
   213 
   215 
   214 #endif /*IPSSOSAOSCHEDULERUTILS_H_*/
   216 #endif /*IPSSOSAOSCHEDULERUTILS_H_*/