phonebookui/Phonebook/View/src/BC_PhotoCardControl.cpp
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     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: 
       
    15 *       Dummy version of deprecated class CPbkPhotoCardControl for PbkView.dll 
       
    16 *       BC maintenance on Series60 2.0. 
       
    17 *       NEVER put functions in public APIs to this file.
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 // INCLUDES
       
    23 #include <cntdef.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CCoeControl;
       
    27 class CPbkContactEngine;
       
    28 class CPbkViewState;
       
    29 
       
    30 
       
    31 /**
       
    32  * Dummy class for BC maintenance.
       
    33  * @since 2.0
       
    34  */
       
    35 NONSHARABLE_CLASS(CPbkPhotoCardControl)
       
    36     {
       
    37 public:
       
    38     IMPORT_C static CPbkPhotoCardControl* NewL(const CCoeControl* aParent, CPbkContactEngine* aEngine, TContactItemId aContactId);
       
    39     IMPORT_C TContactItemId ContactId() const;
       
    40     IMPORT_C CPbkViewState* GetStateLC() const;
       
    41     IMPORT_C void UpdateL(TContactItemId aContactId);
       
    42     IMPORT_C TBool IsPicture() const;
       
    43     };
       
    44 
       
    45 EXPORT_C CPbkPhotoCardControl* CPbkPhotoCardControl::NewL(const CCoeControl* /*aParent*/, CPbkContactEngine* /*aEngine*/, TContactItemId /*aContactId*/)
       
    46     { 
       
    47     return NULL;
       
    48     }
       
    49 
       
    50 EXPORT_C TContactItemId CPbkPhotoCardControl::ContactId() const
       
    51     { 
       
    52     return KNullContactId;
       
    53     }
       
    54 
       
    55 EXPORT_C CPbkViewState* CPbkPhotoCardControl::GetStateLC() const
       
    56     { 
       
    57     return NULL;
       
    58     }
       
    59 
       
    60 EXPORT_C void CPbkPhotoCardControl::UpdateL(TContactItemId /*aContactId*/)
       
    61     { 
       
    62     }
       
    63 
       
    64 EXPORT_C TBool CPbkPhotoCardControl::IsPicture() const
       
    65     { 
       
    66     return EFalse;
       
    67     }
       
    68 
       
    69 // End of File