mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
32 lines
680 B
C++
32 lines
680 B
C++
#pragma once
|
|
|
|
#include "CommonTypes.h"
|
|
|
|
class NetResolver {
|
|
public:
|
|
NetResolver(const NetResolver& other) = default;
|
|
|
|
NetResolver() :
|
|
mId(0),
|
|
mIsRunning(false),
|
|
mBufferAddr(0),
|
|
mBufferLen(0) {}
|
|
|
|
NetResolver(const int id, const u32 bufferAddr, const int bufferLen) :
|
|
mId(id),
|
|
mIsRunning(false),
|
|
mBufferAddr(bufferAddr),
|
|
mBufferLen(bufferLen) {}
|
|
|
|
int GetId() const { return mId; }
|
|
|
|
bool GetIsRunning() const { return mIsRunning; }
|
|
|
|
void SetIsRunning(const bool isRunning) { this->mIsRunning = isRunning; }
|
|
|
|
private:
|
|
int mId;
|
|
bool mIsRunning;
|
|
u32 mBufferAddr;
|
|
u32 mBufferLen;
|
|
};
|