weaverlogger.h
00001 /* -*- C++ -*- 00002 00003 This file declares the Thread Logger. 00004 00005 $ Author: Mirko Boehm $ 00006 $ Copyright: (C) 2004, Mirko Boehm $ 00007 $ Contact: mirko@kde.org 00008 http://www.kde.org 00009 http://www.hackerbuero.org $ 00010 $ License: LGPL with the following explicit clarification: 00011 This code may be linked against any version of the TQt toolkit 00012 from Troll Tech, Norway. $ 00013 00014 */ 00015 00016 #ifndef WEAVERLOGGER_H 00017 #define WEAVERLOGGER_H 00018 00019 #include "weaverextensions.h" 00020 00021 namespace KPIM { 00022 namespace ThreadWeaver { 00023 00026 class WeaverThreadLogger : public WeaverExtension 00027 { 00028 Q_OBJECT 00029 TQ_OBJECT 00030 public: 00031 WeaverThreadLogger( TQObject *parent = 0, const char *name = 0); 00032 ~WeaverThreadLogger(); 00033 void threadCreated (Thread *); 00034 void threadDestroyed (Thread *); 00035 void threadBusy (Thread *); 00036 void threadSuspended (Thread *); 00037 }; 00038 00039 } 00040 } 00041 00042 #endif // WEAVERLOGGER_H