landmarksui/commonui/srcstub/CLmkCategorySelectorDlg.cpp
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     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 "CLmkCategorySelectorDlg.h"
       
    28 
       
    29 
       
    30 
       
    31 // ============================ MEMBER FUNCTIONS ===============================
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // CLmkCategorySelectorDlg::CLmkCategorySelectorDlg
       
    35 // C++ default constructor can NOT contain any code, that
       
    36 // might leave.
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CLmkCategorySelectorDlg::CLmkCategorySelectorDlg()
       
    40     : iIsMultiSelector( ETrue )
       
    41     {
       
    42     }
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 // CLmkCategorySelectorDlg::ConstructL
       
    46 // Symbian 2nd phase constructor can leave.
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 void CLmkCategorySelectorDlg::ConstructL(
       
    50     TBool /*aShowEmptyCategories*/ )
       
    51     {
       
    52     }
       
    53 
       
    54 // -----------------------------------------------------------------------------
       
    55 // CLmkCategorySelectorDlg::NewL
       
    56 // Two-phased constructor.
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 EXPORT_C CLmkCategorySelectorDlg* CLmkCategorySelectorDlg::NewL(
       
    60  								 TBool aShowEmptyCategories )
       
    61     {
       
    62 
       
    63     CLmkCategorySelectorDlg* self = new ( ELeave ) CLmkCategorySelectorDlg();
       
    64 
       
    65     CleanupStack::PushL( self );
       
    66     self->ConstructL(aShowEmptyCategories );
       
    67     CleanupStack::Pop();
       
    68 
       
    69     return self;
       
    70     }
       
    71 
       
    72 
       
    73 // -----------------------------------------------------------------------------
       
    74 // CLmkCategorySelectorDlg::~CLmkCategorySelectorDlg
       
    75 // -----------------------------------------------------------------------------
       
    76 //
       
    77 EXPORT_C CLmkCategorySelectorDlg::~CLmkCategorySelectorDlg()
       
    78     {
       
    79 
       
    80     }
       
    81 
       
    82 // -----------------------------------------------------------------------------
       
    83 // CLmkCategorySelectorDlg::SetMopParent
       
    84 // -----------------------------------------------------------------------------
       
    85 //
       
    86 EXPORT_C void CLmkCategorySelectorDlg::SetMopParent( MObjectProvider* /*aParent*/)
       
    87     {
       
    88 
       
    89     }
       
    90 
       
    91 // -----------------------------------------------------------------------------
       
    92 // CLmkCategorySelectorDlg::ExecuteLD
       
    93 // -----------------------------------------------------------------------------
       
    94 //
       
    95 // For multiple database support
       
    96 EXPORT_C TInt CLmkCategorySelectorDlg::ExecuteLD( TLmkItemIdDbCombiInfo& /*aSelected*/ )
       
    97     {
       
    98     User::Leave(KErrNotSupported);
       
    99     return 0;
       
   100     }
       
   101 
       
   102 // -----------------------------------------------------------------------------
       
   103 // CLmkCategorySelectorDlg::ExecuteLD
       
   104 // -----------------------------------------------------------------------------
       
   105 //
       
   106 // For multiple database support
       
   107   EXPORT_C TInt CLmkCategorySelectorDlg::ExecuteLD(
       
   108     RArray<TLmkItemIdDbCombiInfo>& /*aSelectedItems*/ )
       
   109     {
       
   110     User::Leave(KErrNotSupported);
       
   111     return 0;
       
   112  		}
       
   113 
       
   114 
       
   115 //  End of File