26 #include <glibmm/main.h>
30 #ifdef PLATFORM_WINDOWS
73 int receive (
char& msg,
bool wait =
false);
85 void attach (Glib::RefPtr<Glib::MainContext>);
96 #ifndef PLATFORM_WINDOWS
101 SOCKET receive_socket;
102 struct sockaddr_in recv_address;
GIOChannel * receive_channel
friend gboolean cross_thread_channel_call_receive_slot(GIOChannel *, GIOCondition condition, void *data)
int receive(char &msg, bool wait=false)
void attach(Glib::RefPtr< Glib::MainContext >)
sigc::slot< bool, Glib::IOCondition > receive_slot
void set_receive_handler(sigc::slot< bool, Glib::IOCondition > s)
CrossThreadChannel(bool non_blocking)