landmarksui/commonui/srcstub/CLmkLandmarkSelectorDlg.cpp
branchRCL_3
changeset 18 870918037e16
parent 0 522cd55cc3d7
equal deleted inserted replaced
17:1fc85118c3ae 18:870918037e16
       
     1 /*
       
     2 * Copyright (c) 2002 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:    LandmarksUi Content File -
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 // INCLUDE FILES
       
    27 #include "CLmkLandmarkSelectorDlg.h"
       
    28 
       
    29 // ============================ MEMBER FUNCTIONS ===============================
       
    30 
       
    31 // -----------------------------------------------------------------------------
       
    32 // CLmkLandmarkSelectorDlg::CLmkLandmarkSelectorDlg
       
    33 // C++ default constructor can NOT contain any code, that
       
    34 // might leave.
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 CLmkLandmarkSelectorDlg::CLmkLandmarkSelectorDlg()
       
    38     : iIsMultiSelector( ETrue )
       
    39     {
       
    40     }
       
    41 
       
    42 // -----------------------------------------------------------------------------
       
    43 // CLmkLandmarkSelectorDlg::ConstructL
       
    44 // Symbian 2nd phase constructor can leave.
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 
       
    48 void CLmkLandmarkSelectorDlg::ConstructL()
       
    49     {
       
    50     }
       
    51 
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 // CLmkLandmarkSelectorDlg::NewL
       
    55 // Two-phased constructor.
       
    56 // -----------------------------------------------------------------------------
       
    57 //
       
    58 
       
    59 // Changed for supporting multiple databases
       
    60 EXPORT_C CLmkLandmarkSelectorDlg* CLmkLandmarkSelectorDlg::NewL( )
       
    61 
       
    62     {
       
    63 
       
    64     CLmkLandmarkSelectorDlg* self = new( ELeave ) CLmkLandmarkSelectorDlg();
       
    65 
       
    66     CleanupStack::PushL( self );
       
    67 
       
    68     self->ConstructL();
       
    69     CleanupStack::Pop();
       
    70 
       
    71     return self;
       
    72     }
       
    73 
       
    74 // -----------------------------------------------------------------------------
       
    75 // CLmkLandmarkSelectorDlg::~CLmkLandmarkSelectorDlg
       
    76 // -----------------------------------------------------------------------------
       
    77 //
       
    78 EXPORT_C CLmkLandmarkSelectorDlg::~CLmkLandmarkSelectorDlg()
       
    79     {
       
    80     }
       
    81 
       
    82 // -----------------------------------------------------------------------------
       
    83 // CLmkLandmarkSelectorDlg::SetMopParent
       
    84 // ?implementation_description
       
    85 // (other items were commented in a header).
       
    86 // -----------------------------------------------------------------------------
       
    87 //
       
    88 EXPORT_C void CLmkLandmarkSelectorDlg::SetMopParent( MObjectProvider* /*aParent*/)
       
    89     {
       
    90     }
       
    91 
       
    92 // -----------------------------------------------------------------------------
       
    93 // CLmkLandmarkSelectorDlg::ExecuteLD
       
    94 // ?implementation_description
       
    95 // (other items were commented in a header).
       
    96 // -----------------------------------------------------------------------------
       
    97 //
       
    98 // For multiple database support
       
    99 
       
   100 EXPORT_C TInt CLmkLandmarkSelectorDlg::ExecuteLD( TLmkItemIdDbCombiInfo& /*aSelected*/)
       
   101     {
       
   102     User::Leave(KErrNotSupported);
       
   103     return 0;
       
   104     }
       
   105 
       
   106 
       
   107 // -----------------------------------------------------------------------------
       
   108 // CLmkLandmarkSelectorDlg::ExecuteLD
       
   109 // ?implementation_description
       
   110 // (other items were commented in a header).
       
   111 // -----------------------------------------------------------------------------
       
   112 //
       
   113  // For multiple database support
       
   114 EXPORT_C TInt CLmkLandmarkSelectorDlg::ExecuteLD(
       
   115     RArray<TLmkItemIdDbCombiInfo>& /*aSelectedItems*/ )
       
   116     {
       
   117     User::Leave(KErrNotSupported);
       
   118     return 0;
       
   119     }
       
   120 //  End of File