phonebookengines_old/contactsmodel/tsrc/T_LongSql.h
changeset 40 b46a585f6909
equal deleted inserted replaced
37:fd64c38c277d 40:b46a585f6909
       
     1 // Copyright (c) 2003-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 #include <cntdb.h>
       
    17 
       
    18 //
       
    19 // CSqlSearcher class declaration
       
    20 //
       
    21 
       
    22 class CSqlSearcher : public CBase, public MIdleFindObserver
       
    23 	{
       
    24 	public:
       
    25 		static CSqlSearcher * NewLC();
       
    26 		void IdleFindCallback();
       
    27 		void DoSearchL(const TDesC& aString, TUid aFieldId);
       
    28 	private:
       
    29 		CSqlSearcher();
       
    30 		~CSqlSearcher();
       
    31 		void ConstructL();
       
    32 	protected:
       
    33 		CContactDatabase* iDb;
       
    34 		HBufC* iBuffer;
       
    35 	};