examples/SFExamples/PIM/ContactAsynchSort/inc/SortWrapper.h

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 
00018 #ifndef __SortWrapper_H_
00019 #define __SortWrapper_H_
00020 
00021 #include <e32base.h>
00022 #include <e32std.h>
00023 #include "ContactRead.h"
00024 #include "ContactAsynchSortMainView.h"
00025 #include <cntdb.h>
00026 
00027 class CSortWrapper : public CActive
00028 {
00029 public:
00030         CSortWrapper(CContactAsynchSortMainView& aView, CContactDatabase& aDb);
00031         void StartL(CContactRead& aReader);
00032 private:
00033         void RunL();
00034         void DoCancel();
00035         TInt RunError(TInt aError);
00036 private:
00037         CContactAsynchSortMainView& iView;
00038         CContactDatabase& iDb;
00039         CContactRead* iContactReader;
00040 };
00041 
00042 #endif // __SortListener_H_

Generated by  doxygen 1.6.2