webservices/wshostletconnection/src/senhostletconnectiondll.cpp
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:        
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 // INCLUDE FILES
       
    26 #include <e32std.h>
       
    27 
       
    28 #include "senhostletconnectionimpl.h"
       
    29 //#include "SenHostletConnectionLog.h"
       
    30 
       
    31 // ============================= LOCAL FUNCTIONS ===============================
       
    32 
       
    33 EXPORT_C CSenHostletConnection* CSenHostletConnection::NewL(MSenHostlet& aProvider)
       
    34     {
       
    35     return CSenHostletConnectionImpl::NewL(aProvider);
       
    36     }
       
    37 
       
    38 EXPORT_C CSenHostletConnection* CSenHostletConnection::NewLC(MSenHostlet& aProvider)
       
    39     {
       
    40     return CSenHostletConnectionImpl::NewLC(aProvider);
       
    41     }
       
    42 
       
    43 CSenHostletConnection::CSenHostletConnection()
       
    44     : CActive(EPriorityStandard)
       
    45     {
       
    46     }
       
    47 
       
    48 #ifndef EKA2
       
    49 GLDEF_C TInt E32Dll(TDllReason)
       
    50     {
       
    51     return(KErrNone);
       
    52     }
       
    53 #endif
       
    54 
       
    55 #ifdef _SENDEBUG
       
    56 
       
    57 // static logging functions
       
    58 /*
       
    59 void CSenHostletConnectionLogger::WriteFormat(TRefByValue<const TDesC16> aFmt,...)
       
    60     {
       
    61     CSenLogger::WriteFormat(KSenHostletConnectionLogChannel, KHostletConnectionLogLevel, aFmt);
       
    62     }
       
    63     
       
    64 void CSenHostletConnectionLogger::WriteFormat(TRefByValue<const TDesC16> aFmt, VA_LIST& aList)
       
    65     {
       
    66     CSenLogger::WriteFormat(KSenHostletConnectionLogChannel, KHostletConnectionLogLevel, aFmt, aList);
       
    67     }
       
    68 
       
    69 void CSenHostletConnectionLogger::WriteFormat(TRefByValue<const TDesC8> aFmt,...)
       
    70     {
       
    71     CSenLogger::WriteFormat(KSenHostletConnectionLogChannel, KHostletConnectionLogLevel, aFmt);
       
    72     }
       
    73 
       
    74 void CSenHostletConnectionLogger::WriteFormat(TRefByValue<const TDesC8> aFmt, VA_LIST& aList)
       
    75     {
       
    76     CSenLogger::WriteFormat(KSenHostletConnectionLogChannel, KHostletConnectionLogLevel, aFmt, aList);
       
    77     }
       
    78 */
       
    79 #endif // _SENDEBUG
       
    80 
       
    81 // End of file
       
    82 
       
    83