examples/ForumNokia/ThreadAndActiveObjectsEx/inc/listboxrefreshtimer.h

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 
00006 #ifndef __LISTBOX_REFRESH_TIMER_H__
00007 #define __LISTBOX_REFRESH_TIMER_H__
00008 
00009 // INCLUDES
00010 #include "e32base.h" //CTimer
00011 
00012 // CLASS DECLARATION
00013 class CDeviceListContainer;
00014 
00018 class CListboxRefreshTimer :
00019         public CTimer
00020         {
00021 
00022 public: 
00023 
00031         static CListboxRefreshTimer* NewL(CDeviceListContainer* aListBox);
00032 
00037         static CListboxRefreshTimer* NewLC(CDeviceListContainer* aListBox);
00038 
00043         ~CListboxRefreshTimer();
00044 
00050         void DoCancel();
00051 
00057         void RunL();
00058 
00065         TInt RunError(TInt aError);
00066 
00072         void StartL();
00073 
00074 private: // Basic two-phase Symbian OS constructors
00075 
00080         void ConstructL();
00081 
00087         CListboxRefreshTimer(CDeviceListContainer* aListBox);
00088         
00089 private: // data members    
00090 
00091         // The listbox which shows bluetooth devices names
00092         CDeviceListContainer* iListbox;
00093         };
00094 
00095 #endif // __LISTBOX_REFRESH_TIMER_H__

Generated by  doxygen 1.6.2