diff --git a/livesupport/src/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h b/livesupport/src/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h index 1c4b0c745..48306f4fe 100644 --- a/livesupport/src/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h +++ b/livesupport/src/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h @@ -202,6 +202,14 @@ class AuthenticationClientInterface const Glib::ustring & key) throw (XmlRpcException) = 0; + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~AuthenticationClientInterface(void) throw () + { + } }; diff --git a/livesupport/src/modules/core/include/LiveSupport/Core/Configurable.h b/livesupport/src/modules/core/include/LiveSupport/Core/Configurable.h index cde1d01bd..73ff5e11f 100644 --- a/livesupport/src/modules/core/include/LiveSupport/Core/Configurable.h +++ b/livesupport/src/modules/core/include/LiveSupport/Core/Configurable.h @@ -83,6 +83,14 @@ class Configurable throw (std::invalid_argument, std::logic_error) = 0; + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~Configurable(void) throw () + { + } }; diff --git a/livesupport/src/modules/core/include/LiveSupport/Core/Installable.h b/livesupport/src/modules/core/include/LiveSupport/Core/Installable.h index 8fdbaaf8b..251411abc 100644 --- a/livesupport/src/modules/core/include/LiveSupport/Core/Installable.h +++ b/livesupport/src/modules/core/include/LiveSupport/Core/Installable.h @@ -120,6 +120,14 @@ class Installable virtual void uninstall(void) throw (std::exception) = 0; + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~Installable(void) throw () + { + } }; diff --git a/livesupport/src/modules/db/include/LiveSupport/Db/ConnectionManagerInterface.h b/livesupport/src/modules/db/include/LiveSupport/Db/ConnectionManagerInterface.h index ae57bb752..95aefb695 100644 --- a/livesupport/src/modules/db/include/LiveSupport/Db/ConnectionManagerInterface.h +++ b/livesupport/src/modules/db/include/LiveSupport/Db/ConnectionManagerInterface.h @@ -91,6 +91,14 @@ class ConnectionManagerInterface returnConnection(Ptr::Ref connection) throw (std::runtime_error) = 0; + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~ConnectionManagerInterface(void) throw () + { + } }; diff --git a/livesupport/src/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h b/livesupport/src/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h index dd3d1272b..1cf9ec6e8 100644 --- a/livesupport/src/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h +++ b/livesupport/src/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h @@ -265,6 +265,13 @@ class SchedulerClientInterface throw (XmlRpcException) = 0; + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~SchedulerClientInterface(void) throw () + { + } }; diff --git a/livesupport/src/modules/storageClient/include/LiveSupport/Storage/StorageClientInterface.h b/livesupport/src/modules/storageClient/include/LiveSupport/Storage/StorageClientInterface.h index d9af6e121..31803c697 100644 --- a/livesupport/src/modules/storageClient/include/LiveSupport/Storage/StorageClientInterface.h +++ b/livesupport/src/modules/storageClient/include/LiveSupport/Storage/StorageClientInterface.h @@ -448,6 +448,14 @@ class StorageClientInterface const int limit = 0, const int offset = 0) throw (XmlRpcException) = 0; + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~StorageClientInterface(void) throw () + { + } }; diff --git a/livesupport/src/products/scheduler/src/PlayLogInterface.h b/livesupport/src/products/scheduler/src/PlayLogInterface.h index a2bfde95a..37a248cfb 100644 --- a/livesupport/src/products/scheduler/src/PlayLogInterface.h +++ b/livesupport/src/products/scheduler/src/PlayLogInterface.h @@ -102,6 +102,14 @@ class PlayLogInterface : virtual public Installable Ptr::Ref toTime) throw (std::invalid_argument) = 0; + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~PlayLogInterface(void) throw () + { + } }; diff --git a/livesupport/src/products/scheduler/src/ScheduleInterface.h b/livesupport/src/products/scheduler/src/ScheduleInterface.h index e5961f624..f7e589acb 100644 --- a/livesupport/src/products/scheduler/src/ScheduleInterface.h +++ b/livesupport/src/products/scheduler/src/ScheduleInterface.h @@ -190,6 +190,14 @@ class ScheduleInterface : virtual public Installable Ptr::Ref playtime) throw (std::invalid_argument) = 0; + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~ScheduleInterface(void) throw () + { + } }; diff --git a/livesupport/src/products/scheduler/src/SignalHandler.h b/livesupport/src/products/scheduler/src/SignalHandler.h index 7a707b308..e9c499967 100644 --- a/livesupport/src/products/scheduler/src/SignalHandler.h +++ b/livesupport/src/products/scheduler/src/SignalHandler.h @@ -71,6 +71,14 @@ class SignalHandler */ virtual void handleSignal(int signal) throw () = 0; + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~SignalHandler(void) throw () + { + } }; diff --git a/livesupport/src/products/scheduler/src/XmlRpcDaemonShutdownSignalHandler.h b/livesupport/src/products/scheduler/src/XmlRpcDaemonShutdownSignalHandler.h index bac66864c..66179eeb5 100644 --- a/livesupport/src/products/scheduler/src/XmlRpcDaemonShutdownSignalHandler.h +++ b/livesupport/src/products/scheduler/src/XmlRpcDaemonShutdownSignalHandler.h @@ -91,10 +91,18 @@ class XmlRpcDaemonShutdownSignalHandler : public SignalHandler * @param signal the actual signal received. */ virtual void - handleSignal(int signal) throw () + handleSignal(int signal) throw () { xmlRpcDaemon->shutdown(); } + + /** + * A virtual destructor, as this class has virtual functions. + */ + virtual + ~XmlRpcDaemonShutdownSignalHandler(void) throw () + { + } };