diff audacious/controlsocket.c @ 1649:f3934d790a2e trunk

[svn] - abstractionalize a lot of stuff, build still broken, live with it
author nenolod
date Thu, 07 Sep 2006 21:44:05 -0700
parents 58f3eb64f390
children a6e6d3500c13
line wrap: on
line diff
--- a/audacious/controlsocket.c	Thu Sep 07 20:53:57 2006 -0700
+++ b/audacious/controlsocket.c	Thu Sep 07 21:44:05 2006 -0700
@@ -44,14 +44,12 @@
 #include <arpa/inet.h>
 
 #include "main.h"
-#include "equalizer.h"
-#include "mainwin.h"
 #include "input.h"
 #include "playback.h"
 #include "playlist.h"
-#include "ui_playlist.h"
 #include "prefswin.h"
 #include "libaudacious/beepctrl.h"
+#include "interface.h"
 
 #define CTRLSOCKET_BACKLOG        100
 #define CTRLSOCKET_TIMEOUT        100000
@@ -434,10 +432,6 @@
             ctrl_write_gint(pkt->fd, b);
             ctrl_ack_packet(pkt);
             break;
-        case CMD_GET_SKIN:
-            ctrl_write_string(pkt->fd, bmp_active_skin->path);
-            ctrl_ack_packet(pkt);
-            break;
         case CMD_GET_PLAYLIST_FILE:
             if (pkt->data) {
                 gchar *filename;
@@ -756,7 +750,7 @@
             mainwin_quit_cb();
             break;
 	case CMD_ACTIVATE:
-	    gtk_window_present(GTK_WINDOW(mainwin));
+	    current_interface->present();
 	    break;
         default:
             g_message("Unknown socket command received");