Screw convention; moving include files alongside source files.
They now will show up in xcode/etc.
This commit is contained in:
59
src/xenia/dbg/ws_client.h
Normal file
59
src/xenia/dbg/ws_client.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* 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_KERNEL_DBG_WS_CLIENT_H_
|
||||
#define XENIA_KERNEL_DBG_WS_CLIENT_H_
|
||||
|
||||
#include <xenia/common.h>
|
||||
#include <xenia/core.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <xenia/dbg/client.h>
|
||||
|
||||
|
||||
struct wslay_event_msg;
|
||||
|
||||
|
||||
namespace xe {
|
||||
namespace dbg {
|
||||
|
||||
|
||||
class WsClient : public Client {
|
||||
public:
|
||||
WsClient(Debugger* debugger, int socket_id);
|
||||
virtual ~WsClient();
|
||||
|
||||
int socket_id();
|
||||
|
||||
virtual int Setup();
|
||||
|
||||
virtual void Write(uint8_t** buffers, size_t* lengths, size_t count);
|
||||
|
||||
private:
|
||||
static void* StartCallbackPthreads(void* param);
|
||||
|
||||
int PerformHandshake();
|
||||
void EventThread();
|
||||
|
||||
int socket_id_;
|
||||
|
||||
int notify_rd_id_;
|
||||
int notify_wr_id_;
|
||||
xe_mutex_t* mutex_;
|
||||
|
||||
std::vector<struct wslay_event_msg> pending_messages_;
|
||||
};
|
||||
|
||||
|
||||
} // namespace dbg
|
||||
} // namespace xe
|
||||
|
||||
|
||||
#endif // XENIA_KERNEL_DBG_WS_CLIENT_H_
|
||||
Reference in New Issue
Block a user