Time to get rid of the horrible coding style

This commit is contained in:
pd 2008-08-01 18:31:43 +02:00
parent 534ee610d8
commit efc594f888
53 changed files with 1137 additions and 1136 deletions

View file

@ -39,17 +39,17 @@ Error::Error()
: _int(new InternalError)
{}
Error::Error(InternalError& i)
Error::Error(InternalError &i)
: _int(new InternalError(i))
{}
Error::Error( const char* name, const char* message )
Error::Error(const char *name, const char *message)
: _int(new InternalError)
{
set(name, message);
}
Error::Error( Message& m )
Error::Error(Message &m)
: _int(new InternalError)
{
dbus_set_error_from_message(&(_int->error), m._pvt->msg);
@ -59,12 +59,12 @@ Error::~Error() throw()
{
}
const char* Error::name() const
const char *Error::name() const
{
return _int->error.name;
}
const char* Error::message() const
const char *Error::message() const
{
return _int->error.message;
}
@ -74,12 +74,12 @@ bool Error::is_set() const
return *(_int);
}
void Error::set( const char* name, const char* message )
void Error::set(const char *name, const char *message)
{
dbus_set_error_const(&(_int->error), name, message);
}
const char* Error::what() const throw()
const char *Error::what() const throw()
{
return _int->error.message;
}