~ubuntu-branches/debian/sid/audacious-plugins/sid

« back to all changes in this revision

Viewing changes to src/gtkui/playlist_util.h

  • Committer: Bazaar Package Importer
  • Author(s): Bilal Akhtar
  • Date: 2011-04-10 18:56:21 UTC
  • mfrom: (1.1.14 upstream) (2.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110410185621-7eg1k5a7v3f4aqrn
Tags: 2.4.4-1
* New upstream release.
  - Fix FTBFS with GCC 4.5 (Closes: #621989)
* Upload to unstable.
* debian/control:
  - Update versioned dependencies according to upstream changes.
  - Bump Standards-Version to 3.9.2 (no changes needed).
  - Since the package will be building against the new FFMpeg libs,
    fix the problem of depending on old uninstallable libav*
    packages (Closes: #617603)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  Audacious - Cross-platform multimedia player
 
2
 *  Copyright (C) 2005-2010  Audacious development team
 
3
 *  Copyright (C) 2010 Michał Lipski <tallica@o2.pl>
 
4
 *
 
5
 *  This program is free software; you can redistribute it and/or modify
 
6
 *  it under the terms of the GNU General Public License as published by
 
7
 *  the Free Software Foundation; under version 3 of the License.
 
8
 *
 
9
 *  This program is distributed in the hope that it will be useful,
 
10
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 *  GNU General Public License for more details.
 
13
 *
 
14
 *  You should have received a copy of the GNU General Public License
 
15
 *  along with this program.  If not, see <http://www.gnu.org/licenses>.
 
16
 *
 
17
 *  The Audacious team does not consider modular code linking to
 
18
 *  Audacious or using our public API to be a derived work.
 
19
 */
 
20
 
 
21
#ifndef __PLAYLISTUTIL_H__
 
22
#define __PLAYLISTUTIL_H__
 
23
 
 
24
void playlist_set_selected(GtkTreeView *treeview, GtkTreePath *path);
 
25
void playlist_set_selected_list(GtkTreeView *treeview, GList *list, gint distance);
 
26
GtkTreeView *playlist_get_treeview_from_page(GtkWidget *page);
 
27
GtkTreeView *playlist_get_treeview(gint playlist);
 
28
GtkTreeView *playlist_get_active_treeview(void);
 
29
GtkTreeView *playlist_get_playing_treeview(void);
 
30
gint playlist_get_playlist_from_treeview(GtkTreeView *treeview);
 
31
void playlist_scroll_to_row(GtkTreeView *treeview, gint position);
 
32
GList *playlist_get_selected_list(GtkTreeView *treeview);
 
33
gint playlist_get_selected_length(GtkTreeView *treeview);
 
34
gint playlist_get_first_selected_index(GtkTreeView *treeview);
 
35
GtkTreePath *playlist_get_first_selected_path(GtkTreeView *treeview);
 
36
gint playlist_get_index_from_path(GtkTreePath * path);
 
37
 
 
38
void playlist_select_range (gint list, gint top, gint length);
 
39
gint playlist_count_selected_in_range (gint list, gint top, gint length);
 
40
void playlist_selected_to_indexes (gint list, struct index * * namesp,
 
41
 struct index * * tuplesp);
 
42
 
 
43
gint treeview_get_focus (GtkTreeView * tree);
 
44
 
 
45
/* these also refresh selection */
 
46
void treeview_set_focus (GtkTreeView * tree, gint focus);
 
47
void treeview_set_focus_now (GtkTreeView * tree, gint focus);
 
48
 
 
49
void treeview_refresh_selection (GtkTreeView * tree);
 
50
void treeview_refresh_selection_now (GtkTreeView * tree);
 
51
 
 
52
void treeview_add_indexes (GtkTreeView * tree, gint row, struct index * names,
 
53
 struct index * tuples);
 
54
void treeview_add_urilist (GtkTreeView * tree, gint row, const gchar * list);
 
55
void treeview_remove_selected (GtkTreeView * tree);
 
56
 
 
57
#endif