2018-11-16 00:42:29 +01:00
|
|
|
/*****************************************************************************\
|
|
|
|
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
|
|
|
|
This file is licensed under the Snes9x License.
|
|
|
|
For further information, consult the LICENSE file in the root directory.
|
|
|
|
\*****************************************************************************/
|
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
#ifndef __GTK_NETPLAY_DIALOG_H
|
|
|
|
#define __GTK_NETPLAY_DIALOG_H
|
|
|
|
|
2010-09-26 11:19:15 +02:00
|
|
|
#include "gtk_builder_window.h"
|
2010-09-25 17:46:12 +02:00
|
|
|
#include "gtk_config.h"
|
|
|
|
|
2010-09-26 11:19:15 +02:00
|
|
|
class Snes9xNetplayDialog : public GtkBuilderWindow
|
2010-09-25 17:46:12 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
Snes9xNetplayDialog (Snes9xConfig *config);
|
2018-11-02 21:52:26 +01:00
|
|
|
~Snes9xNetplayDialog ();
|
2018-12-28 23:32:32 +01:00
|
|
|
bool show ();
|
2018-11-02 21:52:26 +01:00
|
|
|
void update_state ();
|
2010-09-26 11:19:15 +02:00
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
private:
|
|
|
|
Snes9xConfig *config;
|
2018-11-02 21:52:26 +01:00
|
|
|
void settings_to_dialog ();
|
|
|
|
void settings_from_dialog ();
|
2010-09-25 17:46:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __GTK_NETPLAY_DIALOG_H */
|