mp3splt-gtk
snackamp_control.h
1 /**********************************************************
2  *
3  * mp3splt-gtk -- utility based on mp3splt,
4  * for mp3/ogg splitting without decoding
5  *
6  * Copyright (c) 2005-2012 Alexandru Munteanu - io_fx@yahoo.fr
7  *
8  * http://mp3splt.sourceforge.net/
9  *
10  *********************************************************/
11 
12 /**********************************************************
13  *
14  * This program is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU General Public License
16  * as published by the Free Software Foundation; either version 2
17  * of the License, or (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software
26  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
27  * USA.
28  *
29  *********************************************************/
30 
31 /**********************************************************
32  * Filename: snackamp_control.h
33  *
34  * header of snackamp_control.c
35  *
36  *********************************************************/
37 
38 gint connect_snackamp(gint port);
39 gchar *cut_begin_end(gchar *result);
40 gint disconnect_snackamp();
41 gchar *snackamp_socket_send_message(gchar *message);
42 gint get_integer_from_string(gchar *result);
43 gboolean snackamp_is_connected();
44 void snackamp_get_song_infos(gchar *total_infos);
45 gchar *snackamp_get_filename();
47 void snackamp_stop();
51 void snackamp_start();
52 void snackamp_set_playlist_pos(gint pos);
54 void snackamp_play();
56 void snackamp_add_files(GList *list);
57 void snackamp_set_volume(gint volume);
58 gint snackamp_get_volume();
59 void snackamp_start_with_songs(GList *list);
60 gint snackamp_is_running();
61 void snackamp_pause();
62 void snackamp_next();
63 void snackamp_prev();
64 void snackamp_jump(gint position);
66 gint snackamp_is_playing();
67 gint snackamp_is_paused();
68 void snackamp_quit();
69 
70