phonebookengines_old/contactsmodel/cntmodel/src/CCntCompact.cpp
changeset 40 b46a585f6909
equal deleted inserted replaced
37:fd64c38c277d 40:b46a585f6909
       
     1 // Copyright (c) 1997-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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19  @released
       
    20 */
       
    21 
       
    22 #include <cntdb.h>
       
    23 #include "rcntmodel.h"
       
    24 
       
    25 // All CContactActiveBase classes are unused with SQLite.  It is the (non-exposed) base class for
       
    26 // CContactActiveCompress and CContactActiveRecover, both of which have no meaning with SQLite.             
       
    27 
       
    28 /**
       
    29 For BC proofing.
       
    30 */
       
    31 EXPORT_C void MContactUiActive::MContactUiActive_Reserved1() 
       
    32 	{ 
       
    33 	}
       
    34 
       
    35 
       
    36 CContactActiveBase::~CContactActiveBase()
       
    37 	{
       
    38 	}
       
    39 
       
    40 
       
    41 void CContactActiveBase::SetContactDatabase(CContactDatabase* /*aContactDatabase*/)
       
    42 	{	
       
    43 	}	
       
    44 
       
    45 void CContactActiveBase::Cancel()
       
    46 /** Deletes the ContactActiveBase object created on the heap 
       
    47  */
       
    48 	{
       
    49 	delete this; // C-type classes must always be created on the heap	
       
    50 	}
       
    51 
       
    52 /** @deprecated */
       
    53 void CContactActiveBase::SetObserver(MContactUiCompactObserver* /*aObserver*/)
       
    54 	{
       
    55 	}
       
    56 
       
    57 
       
    58 TInt CContactActiveBase::Error() const
       
    59 /** Signals client of any error that occurred during the operation.
       
    60 @return A system-wide error code.        */
       
    61 	{
       
    62     return KErrNone;
       
    63 	}
       
    64 
       
    65 
       
    66 TInt CContactActiveBase::StepsTogo() const
       
    67 /** Shows the steps to be completed.
       
    68 @return The number of steps to be completed.  */
       
    69 	{
       
    70 	return 0;
       
    71 	}
       
    72 
       
    73 
       
    74 TInt CContactActiveBase::Step()
       
    75 /** Gets the current compress step, recover step or any error code encountered during the operation.
       
    76 @return An integer which represents the compress step, recover step or any error code encountered during the operation.
       
    77 */
       
    78 	{
       
    79 	return EFalse;
       
    80 	}
       
    81 
       
    82 
       
    83 void CContactActiveBase::SetFileManagerL(RCntModel& /*aCntSvr*/)
       
    84 	{
       
    85 	}