Starting revival of debugger system. Work on #41.
This commit is contained in:
49
src/xenia/debug/protocols/ws/ws_protocol.h
Normal file
49
src/xenia/debug/protocols/ws/ws_protocol.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef XENIA_DEBUG_PROTOCOLS_WS_WS_PROTOCOL_H_
|
||||
#define XENIA_DEBUG_PROTOCOLS_WS_WS_PROTOCOL_H_
|
||||
|
||||
#include <xenia/common.h>
|
||||
#include <xenia/core.h>
|
||||
|
||||
#include <xenia/debug/protocol.h>
|
||||
|
||||
|
||||
XEDECLARECLASS2(xe, debug, DebugServer);
|
||||
|
||||
|
||||
namespace xe {
|
||||
namespace debug {
|
||||
namespace protocols {
|
||||
namespace ws {
|
||||
|
||||
|
||||
class WSProtocol : public Protocol {
|
||||
public:
|
||||
WSProtocol(DebugServer* debug_server);
|
||||
virtual ~WSProtocol();
|
||||
|
||||
virtual int Setup();
|
||||
virtual int WaitForClient();
|
||||
|
||||
protected:
|
||||
uint32_t port_;
|
||||
|
||||
socket_t socket_id_;
|
||||
};
|
||||
|
||||
|
||||
} // namespace ws
|
||||
} // namespace protocols
|
||||
} // namespace debug
|
||||
} // namespace xe
|
||||
|
||||
|
||||
#endif // XENIA_DEBUG_PROTOCOLS_WS_WS_PROTOCOL_H_
|
||||
Reference in New Issue
Block a user