00001 /* Copyright (c) 2007, Gennady Bystritsky <bystr@mac.com> 00002 * 00003 * Distributed under the MIT Licence. 00004 * This is free software. See 'LICENSE' for details. 00005 * You must read and accept the license prior to use. 00006 */ 00007 00008 #ifndef _SK_SYS_ABSTRACTPROCESSLISTENER_ 00009 #define _SK_SYS_ABSTRACTPROCESSLISTENER_ 00010 00011 #include <sk/sys/ProcessListener.h> 00012 00013 namespace sk { 00014 namespace sys { 00015 class AbstractProcessListener 00016 : public virtual sk::sys::ProcessListener 00017 { 00018 public: 00019 virtual ~AbstractProcessListener(); 00020 00021 void processStarting(); 00022 int processStopping(); 00023 void processJoining(); 00024 00025 // sk::util::Object re-implementation. 00026 const sk::util::Class getClass() const; 00027 00028 protected: 00029 AbstractProcessListener(); 00030 00031 private: 00032 AbstractProcessListener(const AbstractProcessListener& other); 00033 AbstractProcessListener& operator = (const AbstractProcessListener& other); 00034 }; 00035 } 00036 } 00037 00038 #endif /* _SK_SYS_ABSTRACTPROCESSLISTENER_ */