2014-01-19 04:04:02 -08:00
|
|
|
#include "private.h"
|
|
|
|
#include "callbacks.h"
|
2014-01-19 06:40:03 -08:00
|
|
|
#include "window.h"
|
2014-01-19 04:04:02 -08:00
|
|
|
|
|
|
|
void
|
2014-01-19 06:40:03 -08:00
|
|
|
_callback_server_connected(Express_Network *net, const char *event EINA_UNUSED, const char *source, const char **params EINA_UNUSED, unsigned int count EINA_UNUSED, void *data EINA_UNUSED)
|
2014-01-19 04:04:02 -08:00
|
|
|
{
|
|
|
|
DBG("Server %s Connected", source);
|
2014-01-19 06:40:03 -08:00
|
|
|
_window_network_channels_create(net);
|
2014-01-19 04:04:02 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
2014-01-19 06:40:03 -08:00
|
|
|
_callback_server_disconnected(Express_Network *net, const char *event EINA_UNUSED, const char *source, const char **params EINA_UNUSED, unsigned int count EINA_UNUSED, void *data EINA_UNUSED)
|
2014-01-19 04:04:02 -08:00
|
|
|
{
|
|
|
|
DBG("Server %s Disconnected", source);
|
2014-01-19 06:40:03 -08:00
|
|
|
_window_network_channels_destroy(net);
|
2014-01-19 04:04:02 -08:00
|
|
|
}
|