• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ut_Win32Idle.h

Go to the documentation of this file.
00001 /* AbiSource Program Utilities
00002  * Copyright (C) 1998 AbiSource, Inc.
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017  * 02110-1301 USA.
00018  */
00019 
00020 
00021 
00022 #ifndef UT_WIN32IDLE_H
00023 #define UT_WIN32IDLE_H
00024 
00025 #include "ut_idle.h"
00026 #include "ut_vector.h"
00027 
00028 class ABI_EXPORT UT_Win32Idle : public UT_Idle
00029 {
00030 public:
00031     UT_Win32Idle(UT_WorkerCallback pCallback, void* pData);
00032     ~UT_Win32Idle();
00033 
00034     virtual void stop(void);
00035     virtual void start(void);
00036 
00037     static bool _isEmpty();
00038     static void _fireall();
00039 protected:
00040     static void _register(UT_Idle *);
00041     static void _unregister(UT_Idle *);
00042 
00043 private:
00044     static UT_Vector static_vecIdles;
00045 
00046     bool m_bRunning;
00047 };
00048 
00049 #endif /* UT_WIN32IDLE_H */
00050 

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1