emailservices/emailclientapi/inc/emailinterfacefactoryimpl.h
changeset 4 e7aa27f58ae1
parent 0 8466d47a6819
child 24 d189ee25cf9d
equal deleted inserted replaced
3:a4d6f1ea0416 4:e7aa27f58ae1
    40     ~CEmailInterfaceFactoryImpl();
    40     ~CEmailInterfaceFactoryImpl();
    41     
    41     
    42     /** @see CEmailInterfaceFactory::InterfaceL */
    42     /** @see CEmailInterfaceFactory::InterfaceL */
    43     virtual MEmailInterface* InterfaceL(  const TInt aInterfaceId );
    43     virtual MEmailInterface* InterfaceL(  const TInt aInterfaceId );
    44     
    44     
       
    45 private:
       
    46     enum TEmailUidAppendRemoveMode
       
    47         {
       
    48         EEmailUidModeAppend,
       
    49         EEmailUidModeRemove,
       
    50         };
       
    51     
       
    52     /**
       
    53     * Registers/removes application UID to/from P&S so that the application
       
    54     * can be shutdown during Email IAD update. Update may fail if any
       
    55     * application is using some Email services during the update.
       
    56     * Application UID is removed from the list in destructor.
       
    57     * @param aMode Is the current process UID added or removed from the list
       
    58     */
       
    59     void AppendOrRemoveUidL( const TEmailUidAppendRemoveMode aMode );
       
    60 
    45 private:    
    61 private:    
    46     // c++ constructor
    62     // c++ constructor and 2nd phase constructor
    47     CEmailInterfaceFactoryImpl();
    63     CEmailInterfaceFactoryImpl();
       
    64     void ConstructL();
    48 };
    65 };
    49 
    66 
    50 #endif // EMAILINTERFACEFACTORY_H
    67 #endif // EMAILINTERFACEFACTORY_H
    51 
    68 
    52 // End of file.
    69 // End of file.