added virtual destructors to some classes which don't really need it, to make gcc 4.0 happy
This commit is contained in:
parent
ab38e39b96
commit
a13437ec68
10 changed files with 80 additions and 1 deletions
|
@ -202,6 +202,14 @@ class AuthenticationClientInterface
|
||||||
const Glib::ustring & key)
|
const Glib::ustring & key)
|
||||||
throw (XmlRpcException)
|
throw (XmlRpcException)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~AuthenticationClientInterface(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,14 @@ class Configurable
|
||||||
throw (std::invalid_argument,
|
throw (std::invalid_argument,
|
||||||
std::logic_error)
|
std::logic_error)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~Configurable(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -120,6 +120,14 @@ class Installable
|
||||||
virtual void
|
virtual void
|
||||||
uninstall(void) throw (std::exception)
|
uninstall(void) throw (std::exception)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~Installable(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -91,6 +91,14 @@ class ConnectionManagerInterface
|
||||||
returnConnection(Ptr<odbc::Connection>::Ref connection)
|
returnConnection(Ptr<odbc::Connection>::Ref connection)
|
||||||
throw (std::runtime_error)
|
throw (std::runtime_error)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~ConnectionManagerInterface(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -265,6 +265,13 @@ class SchedulerClientInterface
|
||||||
throw (XmlRpcException)
|
throw (XmlRpcException)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~SchedulerClientInterface(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -448,6 +448,14 @@ class StorageClientInterface
|
||||||
const int limit = 0, const int offset = 0)
|
const int limit = 0, const int offset = 0)
|
||||||
throw (XmlRpcException)
|
throw (XmlRpcException)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~StorageClientInterface(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -102,6 +102,14 @@ class PlayLogInterface : virtual public Installable
|
||||||
Ptr<const ptime>::Ref toTime)
|
Ptr<const ptime>::Ref toTime)
|
||||||
throw (std::invalid_argument)
|
throw (std::invalid_argument)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~PlayLogInterface(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -190,6 +190,14 @@ class ScheduleInterface : virtual public Installable
|
||||||
Ptr<ptime>::Ref playtime)
|
Ptr<ptime>::Ref playtime)
|
||||||
throw (std::invalid_argument)
|
throw (std::invalid_argument)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~ScheduleInterface(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,14 @@ class SignalHandler
|
||||||
*/
|
*/
|
||||||
virtual void
|
virtual void
|
||||||
handleSignal(int signal) throw () = 0;
|
handleSignal(int signal) throw () = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~SignalHandler(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -91,10 +91,18 @@ class XmlRpcDaemonShutdownSignalHandler : public SignalHandler
|
||||||
* @param signal the actual signal received.
|
* @param signal the actual signal received.
|
||||||
*/
|
*/
|
||||||
virtual void
|
virtual void
|
||||||
handleSignal(int signal) throw ()
|
handleSignal(int signal) throw ()
|
||||||
{
|
{
|
||||||
xmlRpcDaemon->shutdown();
|
xmlRpcDaemon->shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual destructor, as this class has virtual functions.
|
||||||
|
*/
|
||||||
|
virtual
|
||||||
|
~XmlRpcDaemonShutdownSignalHandler(void) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue