emailservices/emailframework/src/CFSMailClient.cpp
changeset 20 ecc8def7944a
parent 18 578830873419
child 30 759dc5235cdb
equal deleted inserted replaced
18:578830873419 20:ecc8def7944a
     1 /*
     1 /*
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    13 *
    13 *
    14 * Description:  email framework user interface
    14 * Description:  email framework user interface
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 //<qmail>
    19 #include <nmcommonheaders.h>
    19 #include <nmcommonheaders.h>
       
    20 //</qmail>
       
    21 
    20 #include "emailtrace.h"
    22 #include "emailtrace.h"
    21 #include "CFSMailClient.h"
    23 #include "CFSMailClient.h"
    22 #include "CFSFWImplementation.h"
    24 #include "CFSFWImplementation.h"
    23 #include "CFSMailPluginManager.h"
    25 #include "CFSMailPluginManager.h"
    24 #include "CFSMailRequestObserver.h"
    26 #include "CFSMailRequestObserver.h"
   572 }
   574 }
   573 
   575 
   574 // -----------------------------------------------------------------------------
   576 // -----------------------------------------------------------------------------
   575 // CFSMailClient::IncReferenceCount
   577 // CFSMailClient::IncReferenceCount
   576 // -----------------------------------------------------------------------------
   578 // -----------------------------------------------------------------------------
   577 TInt CFSMailClient::IncReferenceCount()
   579 EXPORT_C TInt CFSMailClient::IncReferenceCount()
   578 {
   580 {
   579     FUNC_LOG;
   581     FUNC_LOG;
   580 	return ++iReferenceCount;
   582 	return ++iReferenceCount;
   581 }
   583 }
   582 
   584 
   587 {
   589 {
   588     FUNC_LOG;
   590     FUNC_LOG;
   589 	return --iReferenceCount;
   591 	return --iReferenceCount;
   590 }
   592 }
   591 
   593 
       
   594 // -----------------------------------------------------------------------------
       
   595 // CFSMailClient::ReleaseExtension
       
   596 // -----------------------------------------------------------------------------
       
   597 EXPORT_C void CFSMailClient::ReleaseExtension( CEmailExtension* aExtension )
       
   598     {
       
   599     CExtendableEmail::ReleaseExtension( aExtension );
       
   600     }
       
   601 
       
   602 // -----------------------------------------------------------------------------
       
   603 // CFSMailClient::ExtensionL
       
   604 // -----------------------------------------------------------------------------
       
   605 EXPORT_C CEmailExtension* CFSMailClient::ExtensionL( const TUid& aInterfaceUid )
       
   606     {
       
   607     return CExtendableEmail::ExtensionL( aInterfaceUid );
       
   608     }
       
   609