mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-30 00:15:47 -04:00
i must test these before calling them good - as gcc isn't on the windows
machine i push, test, fix, and then push again - pvs studio <3
This commit is contained in:
+21
-22
@@ -1,32 +1,31 @@
|
||||
#include "GenericMessage.h"
|
||||
|
||||
#ifdef EXTERNAL_DISTRO
|
||||
namespace NAMESPACE
|
||||
namespace NAMESPACE
|
||||
{
|
||||
|
||||
#endif
|
||||
namespace GenericAPI
|
||||
{
|
||||
namespace GenericAPI
|
||||
{
|
||||
GenericMessage::GenericMessage(short type)
|
||||
: m_type(type)
|
||||
{
|
||||
}
|
||||
|
||||
GenericMessage::GenericMessage(short type)
|
||||
: m_type(type)
|
||||
{
|
||||
}
|
||||
GenericRequest::GenericRequest(short type)
|
||||
: GenericMessage(type)
|
||||
{
|
||||
}
|
||||
|
||||
GenericRequest::GenericRequest(short type)
|
||||
: GenericMessage(type)
|
||||
{
|
||||
}
|
||||
|
||||
GenericResponse::GenericResponse(short type, unsigned result, void *user)
|
||||
: GenericMessage(type),
|
||||
m_result(result),
|
||||
m_user(user)
|
||||
{
|
||||
}
|
||||
|
||||
};
|
||||
GenericResponse::GenericResponse(short type, unsigned result, void *user)
|
||||
: GenericMessage(type),
|
||||
m_result(result),
|
||||
m_user(user),
|
||||
m_track(0),
|
||||
m_timeout(100)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef EXTERNAL_DISTRO
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user