tcpiputils/dhcp/src/DNSUpdateIf.cpp
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2004-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 an interface for creating a dynamic dns update
       
    15 // plugin instance.
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file DNSUpdateIf.cpp
       
    21  @internalTechnology
       
    22 */
       
    23 
       
    24 #include "DNSUpdateIf.h"
       
    25 
       
    26 CDnsUpdateIf* CDnsUpdateIf::NewL()
       
    27 /**
       
    28   * Create instance of DDNS update object using ECom.
       
    29   * At present just creates a dummy dns update object
       
    30   * which does nothing
       
    31   *
       
    32   * @internalTechnology
       
    33   */
       
    34    { 
       
    35 	/*Dummy DNS Update*/
       
    36    const TUid KUidDNSUpdateImplementation = {0x101FEBE0};
       
    37 
       
    38    // interface implementation ID (read from somewhere maybe?)
       
    39    return static_cast<CDnsUpdateIf*>(REComSession::CreateImplementationL( KUidDNSUpdateImplementation, _FOFF(CDnsUpdateIf, iDtor_ID_Key)));
       
    40    }
       
    41