2010-01-02 13:41:50 +01:00
|
|
|
#ifndef __MOCKS_C64_H__
|
|
|
|
#define __MOCKS_C64_H__
|
|
|
|
|
|
|
|
/* Network connection type */
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
NONE,
|
|
|
|
CONNECT,
|
|
|
|
MASTER,
|
|
|
|
CLIENT
|
|
|
|
};
|
|
|
|
|
|
|
|
class C64
|
|
|
|
{
|
|
|
|
public:
|
2010-01-10 20:57:45 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2010-01-25 11:59:08 +01:00
|
|
|
void startFakeKeySequence(const char *what)
|
|
|
|
{
|
|
|
|
printf("Faking %s\n", what);
|
|
|
|
}
|
|
|
|
|
2010-01-02 13:41:50 +01:00
|
|
|
int network_connection_type;
|
2010-01-10 20:57:45 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool have_a_break;
|
2010-01-02 13:41:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
extern C64 *TheC64;
|
|
|
|
|
|
|
|
#endif /*__MOCKS_C64_H__ */
|