examples/Messaging/SearchSortExample/mAsyncWaiter.h

Go to the documentation of this file.
00001 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 // Contains the CMessAsyncWaiter class.
00015 //
00016 
00017 
00018 
00023 #ifndef __MESS_ASYNCWAITER_H_
00024 #define __MESS_ASYNCWAITER_H_
00025 
00026 #include <e32base.h>
00027 
00034 class CMessAsyncWaiter : public CActive
00035         {
00036 public:
00037         static CMessAsyncWaiter* NewL();
00038         ~CMessAsyncWaiter();
00039 
00040         void StartAndWait();
00041         TInt Result() const;
00042 private:
00043         CMessAsyncWaiter();
00044         // CActive implementation.
00045         virtual void RunL();
00046         virtual void DoCancel();
00047 private:
00048         TInt iError;
00049         };
00050 #endif // __MESS_ASYNCWAITER_H_

Generated by  doxygen 1.6.2