summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-30 21:44:26 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-30 21:47:49 +0100
commit7e20827fce4ac2609a834329e16fad363c58a201 (patch)
treee9353fcf825403bbe757cffa23a7fc5cd1190406 /main.c
parent312708ff37f4edd0f4d5777b63ffc0af7c7237da (diff)
ported open/add files into gtkui plugin
Diffstat (limited to 'main.c')
-rw-r--r--main.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/main.c b/main.c
index 9f35dc1a..244a3b25 100644
--- a/main.c
+++ b/main.c
@@ -248,14 +248,6 @@ player_thread (uintptr_t ctx) {
}
break;
case M_TERMINATE:
- // FIXME: should signal main thread about termination
- // or will that be new main thread?
-#if 0
- // <placeholder>
- // tell gui plugin to shut down
- // FIXME: cleanup properly on main thread
- guiplug_shutdown ();
-#endif
return;
case M_SONGCHANGED:
plug_trigger_event_trackchange (p1, p2);
@@ -295,29 +287,6 @@ player_thread (uintptr_t ctx) {
p_stop ();
pl_randomsong ();
break;
- case M_ADDDIR:
- // <placeholder>
- // * let guiplug know that addition is in progress
- // * call it back on every file
- // * let guiplug know that addition is done
- // guiplug_add_dir ((char *)ctx);
- break;
- case M_ADDDIRS:
- // <placeholder>
- // same as above, but for many folders
- // guiplug_add_dirs ((GSList *)ctx);
- break;
- case M_ADDFILES:
- // <placeholder>
- // same as above but for many files
- // guiplug_add_files ((GSList *)ctx);
- break;
- case M_OPENFILES:
- p_stop ();
- // <placeholder>
- // open many files and start 1st of them
- // guiplug_open_files ((GSList *)ctx);
- break;
case M_FMDRAGDROP:
// <placeholder>
// handle drag-n-drop from filemanager