Vault
4.1
|
00001 /* 00002 Copyright c1997-2014 Trygve Isaacson. All rights reserved. 00003 This file is part of the Code Vault version 4.1 00004 http://www.bombaydigital.com/ 00005 License: MIT. See LICENSE.md in the Vault top level directory. 00006 */ 00007 00008 #ifndef vmanagementinterface_h 00009 #define vmanagementinterface_h 00010 00013 class VThread; 00014 class VListenerThread; 00015 00027 class VManagementInterface { 00028 public: 00029 00033 VManagementInterface() {} 00037 virtual ~VManagementInterface() {} 00038 00046 virtual void threadStarting(VThread* thread) = 0; 00056 virtual void threadEnded(VThread* thread) = 0; 00057 00069 virtual void listenerStarting(VListenerThread* listener) = 0; 00080 virtual void listenerListening(VListenerThread* listener) = 0; 00093 virtual void listenerFailed(VListenerThread* listener, const VString& message) = 0; 00107 virtual void listenerEnded(VListenerThread* listener) = 0; 00108 00109 }; 00110 00111 #endif /* vmanagementinterface_h */ 00112