mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 12:56:59 +01:00
45 lines
471 B
C++
45 lines
471 B
C++
#ifndef __MOCKS_C64_H__
|
|
#define __MOCKS_C64_H__
|
|
|
|
/* Network connection type */
|
|
enum
|
|
{
|
|
NONE,
|
|
CONNECT,
|
|
MASTER,
|
|
CLIENT
|
|
};
|
|
|
|
class C64
|
|
{
|
|
public:
|
|
C64()
|
|
{
|
|
this->have_a_break = false;
|
|
}
|
|
|
|
void Pause()
|
|
{
|
|
this->have_a_break = true;
|
|
}
|
|
|
|
void Resume()
|
|
{
|
|
this->have_a_break = false;
|
|
}
|
|
|
|
bool IsPaused()
|
|
{
|
|
return this->have_a_break;
|
|
}
|
|
|
|
int network_connection_type;
|
|
|
|
private:
|
|
bool have_a_break;
|
|
};
|
|
|
|
extern C64 *TheC64;
|
|
|
|
#endif /*__MOCKS_C64_H__ */
|