telephonyserverplugins/common_tsy/commontsy/src/mmfax/cmmfaxextinterface.cpp
changeset 0 3553901f7fa8
child 19 630d2f34d719
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 //  INCLUDE FILES
       
    19 #include <ctsy/tflogger.h>
       
    20 #include "CMmFaxExtInterface.h"
       
    21 
       
    22 #ifdef FAX_IS_SUPPORTED
       
    23 #include "cmmfaxext.h"
       
    24 #endif
       
    25 
       
    26 // ======== MEMBER FUNCTIONS ========
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // CMmFaxExtInterface::NewL
       
    30 // Create implementor object for CMmFaxExtInterface.
       
    31 // Returns: pointer to interface object
       
    32 // ---------------------------------------------------------------------------
       
    33 //
       
    34 #ifdef FAX_IS_SUPPORTED
       
    35 CMmFaxExtInterface* CMmFaxExtInterface::NewL( 
       
    36         CMmCallTsy* aMmCall )
       
    37     {
       
    38     return CMmFaxExt::NewL( aMmCall );
       
    39     }
       
    40 #else
       
    41 
       
    42 CMmFaxExtInterface* CMmFaxExtInterface::NewL(
       
    43         CMmCallTsy* /*aMmCall*/ ) 
       
    44     {
       
    45     return NULL; // null marks non existing internal fax support
       
    46     }
       
    47     
       
    48 #endif
       
    49 
       
    50 // ================= OTHER EXPORTED FUNCTIONS ===============================
       
    51 
       
    52 //  End of File