Logo Search packages:      
Sourcecode: vagalume version File versions  Download package

controller.h

/*
 * controller.h -- Where the control of the program is
 * Copyright (C) 2007 Alberto Garcia <agarcia@igalia.com>
 *
 * This file is part of Vagalume and is published under the GNU GPLv3
 * See the README file for more details.
 */

#ifndef CONTROLLER_H
#define CONTROLLER_H

#include "mainwin.h"
#include "radio.h"
#include "xmlrpc.h"

void controller_stop_playing(void);
void controller_disconnect(void);
void controller_start_playing(void);
void controller_skip_track(void);
void controller_set_stop_after(gboolean stop);
void controller_love_track(gboolean interactive);
void controller_ban_track(gboolean interactive);
void controller_play_radio_by_url(const char *url);
void controller_play_radio(lastfm_radio type);
void controller_play_others_radio(lastfm_radio type);
void controller_play_radio_ask_url(void);
void controller_play_group_radio(void);
void controller_play_globaltag_radio(void);
void controller_play_similarartist_radio(void);
void controller_tag_track(void);
void controller_recomm_track(void);
void controller_add_to_playlist(void);
void controller_download_track(void);
void controller_open_usercfg(void);
void controller_quit_app(void);
void controller_run_app(lastfm_mainwin *win, const char *radio_url);
void controller_show_error(const char *text);
void controller_show_warning(const char *text);
void controller_show_info(const char *text);
void controller_show_banner(const char *text);
gboolean controller_confirm_dialog(const char *text, gboolean show_always);
void controller_show_mainwin(gboolean show);
void controller_toggle_mainwin_visibility (void);
int controller_increase_volume(int inc);
void controller_set_volume(int vol);
void controller_show_cover(void);
lastfm_track *controller_get_current_track (void);
void controller_close_mainwin(void);

#endif

Generated by  Doxygen 1.6.0   Back to index