added virtual destructors to some classes which don't really need it, to make gcc 4.0 happy

This commit is contained in:
fgerlits 2005-12-02 16:31:22 +00:00
parent ab38e39b96
commit a13437ec68
10 changed files with 80 additions and 1 deletions

View file

@ -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 ()
{
}
};

View file

@ -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 ()
{
}
};

View file

@ -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 ()
{
}
};

View file

@ -91,6 +91,14 @@ class ConnectionManagerInterface
returnConnection(Ptr<odbc::Connection>::Ref connection)
throw (std::runtime_error)
= 0;
/**
* A virtual destructor, as this class has virtual functions.
*/
virtual
~ConnectionManagerInterface(void) throw ()
{
}
};

View file

@ -265,6 +265,13 @@ class SchedulerClientInterface
throw (XmlRpcException)
= 0;
/**
* A virtual destructor, as this class has virtual functions.
*/
virtual
~SchedulerClientInterface(void) throw ()
{
}
};

View file

@ -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 ()
{
}
};

View file

@ -102,6 +102,14 @@ class PlayLogInterface : virtual public Installable
Ptr<const ptime>::Ref toTime)
throw (std::invalid_argument)
= 0;
/**
* A virtual destructor, as this class has virtual functions.
*/
virtual
~PlayLogInterface(void) throw ()
{
}
};

View file

@ -190,6 +190,14 @@ class ScheduleInterface : virtual public Installable
Ptr<ptime>::Ref playtime)
throw (std::invalid_argument)
= 0;
/**
* A virtual destructor, as this class has virtual functions.
*/
virtual
~ScheduleInterface(void) throw ()
{
}
};

View file

@ -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 ()
{
}
};

View file

@ -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 ()
{
}
};