summaryrefslogtreecommitdiff
path: root/src/libaudgui/internal.h
blob: d54204d247fdbd7ac521422fbddc2146eae3d908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
 * internal.h
 * Copyright 2010-2013 John Lindgren
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions, and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions, and the following disclaimer in the documentation
 *    provided with the distribution.
 *
 * This software is provided "as is" and without any warranty, express or
 * implied. In no event shall the authors be liable for any damages arising from
 * the use of this software.
 */

#ifndef AUDGUI_INTERNAL_H
#define AUDGUI_INTERNAL_H

#include <gtk/gtk.h>

enum class PluginType;

enum {
    AUDGUI_ABOUT_WINDOW,
    AUDGUI_EQ_PRESET_WINDOW,
    AUDGUI_EQUALIZER_WINDOW,
    AUDGUI_FILEBROWSER_WINDOW,
    AUDGUI_INFOPOPUP_WINDOW,
    AUDGUI_INFO_WINDOW,
    AUDGUI_JUMP_TO_TIME_WINDOW,
    AUDGUI_JUMP_TO_TRACK_WINDOW,
    AUDGUI_PLAYLIST_EXPORT_WINDOW,
    AUDGUI_PLAYLIST_IMPORT_WINDOW,
    AUDGUI_PRESET_BROWSER_WINDOW,
    AUDGUI_QUEUE_MANAGER_WINDOW,
    AUDGUI_URL_OPENER_WINDOW,
    AUDGUI_NUM_UNIQUE_WINDOWS
};

void audgui_show_unique_window (int id, GtkWidget * widget);
bool audgui_reshow_unique_window (int id);
void audgui_hide_unique_window (int id);

/* pixbufs.c */
void audgui_pixbuf_uncache ();

/* plugin-menu.c */
void plugin_menu_cleanup ();

/* plugin-prefs.c */
void plugin_prefs_cleanup ();

/* plugin-view.c */
GtkWidget * plugin_view_new (PluginType type);

/* status.c */
void status_init ();
void status_cleanup ();

/* urilist.c */
void urilist_cleanup ();

#endif /* AUDGUI_INTERNAL_H */