tcpiputils/dhcp/te_dhcp/DummyDNSUpdateSrc/DummyDNSUpdate.cpp
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2003-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 // Implements a Dummy Dynamic DNS update plug-in
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file DummyDNSUpdate.cpp
       
    20 */
       
    21 
       
    22 #include "DummyDNSUpdate.h"
       
    23 #include "implementationproxy.h"
       
    24 
       
    25 #if !defined(EKA2)
       
    26 GLDEF_C TInt E32Dll(TDllReason /*aReason*/)
       
    27 /**
       
    28  * The E32Dll method DLL entry point
       
    29  *
       
    30  * @return	KErrNone
       
    31  */
       
    32 	{
       
    33 	return(KErrNone);
       
    34   	}
       
    35 #endif
       
    36 
       
    37 // Define the interface UIDs
       
    38 const TImplementationProxy ImplementationTable[] = 
       
    39     {
       
    40     IMPLEMENTATION_PROXY_ENTRY(0x101FEBE0, CDummyDnsUpdate::NewL)
       
    41     };
       
    42 
       
    43 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    44     {
       
    45     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    46 
       
    47     return ImplementationTable;
       
    48     }
       
    49 
       
    50 CDummyDnsUpdate* CDummyDnsUpdate::NewL()
       
    51    {
       
    52    CDummyDnsUpdate* pDummyDnsUpdate = new(ELeave)CDummyDnsUpdate;
       
    53    CleanupStack::PushL( pDummyDnsUpdate );
       
    54    pDummyDnsUpdate->ConstructL();
       
    55    CleanupStack::Pop();
       
    56    return pDummyDnsUpdate;
       
    57    }
       
    58 
       
    59 CDummyDnsUpdate::~CDummyDnsUpdate()
       
    60 	{
       
    61 	}
       
    62 
       
    63 
       
    64 void CDummyDnsUpdate::Update( TDesC& /*aInterfaceName*/, TDesC8* /*aHostName*/, TDesC8* /*aDomainName*/ )
       
    65 {
       
    66 }
       
    67 
       
    68 void CDummyDnsUpdate::ConstructL()
       
    69 {
       
    70 }
       
    71