javauis/eswt_akn/eswtapifacade/src/swtbrowserdialogsproviderobserverproxyprivate.cpp
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2007 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:  THIS FILE IS NOT INCLUDED INTO ECLIPSE CVS DELIVERY
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include "swtbrowserdialogsproviderobserver.h"
       
    21 #include "swtbrowserdialogsproviderobserverproxyprivate.h"
       
    22 
       
    23 
       
    24 // ======== MEMBER FUNCTIONS ========
       
    25 
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 // CSwtBrowserDialogsProviderObserverProxyPrivate
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 CSwtBrowserDialogsProviderObserverProxyPrivate::CSwtBrowserDialogsProviderObserverProxyPrivate(
       
    32     MSwtBrowserDialogsProviderObserver* aDelegate)
       
    33         : CBase()
       
    34         , iDelegate(aDelegate)
       
    35 {
       
    36 }
       
    37 
       
    38 // ---------------------------------------------------------------------------
       
    39 // ~CSwtBrowserDialogsProviderObserverProxyPrivate
       
    40 // ---------------------------------------------------------------------------
       
    41 //
       
    42 CSwtBrowserDialogsProviderObserverProxyPrivate::~CSwtBrowserDialogsProviderObserverProxyPrivate()
       
    43 {
       
    44     // Not own
       
    45     iDelegate = NULL;
       
    46 }
       
    47 
       
    48 // ---------------------------------------------------------------------------
       
    49 // CSwtBrowserDialogsProviderObserverProxyPrivate::ReportDialogEventL
       
    50 // From MSwtBrowserDialogsProviderObserver
       
    51 // ---------------------------------------------------------------------------
       
    52 //
       
    53 void CSwtBrowserDialogsProviderObserverProxyPrivate::ReportDialogEventL(
       
    54     TInt aType, TInt aFlags)
       
    55 {
       
    56     if (iDelegate)
       
    57     {
       
    58         iDelegate->ReportDialogEventL(aType, aFlags);
       
    59     }
       
    60 }