summaryrefslogtreecommitdiff
path: root/plugins/hotkeys/actionhandlers.h
blob: 1809fd7869077777a124de59c0c79a2ec79cfd89 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
    hotkey action handlers for deadbeef hotkeys plugin
    Copyright (C) 2009-2013 Alexey Yakovenko and other contributors

    This software is provided 'as-is', without any express or implied
    warranty.  In no event will the authors be held liable for any damages
    arising from the use of this software.

    Permission is granted to anyone to use this software for any purpose,
    including commercial applications, and to alter it and redistribute it
    freely, subject to the following restrictions:

    1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.

    2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.

    3. This notice may not be removed or altered from any source distribution.
*/

#ifndef __HOTKEYS_ACTIONHANDLERS_H
#define __HOTKEYS_ACTIONHANDLERS_H

int
action_jump_to_current_handler (DB_plugin_action_t *act, int ctx);

int
action_reload_metadata_handler (DB_plugin_action_t *act, int ctx);

int
action_next_playlist_handler (DB_plugin_action_t *act, int ctx);

int
action_prev_playlist_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist1_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist2_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist3_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist4_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist5_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist6_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist7_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist8_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist9_handler (DB_plugin_action_t *act, int ctx);

int
action_playlist10_handler (DB_plugin_action_t *act, int ctx);

int
action_sort_randomize_handler (DB_plugin_action_t *act, int ctx);

int
action_sort_by_date_handler (DB_plugin_action_t *act, int ctx);

int
action_sort_by_artist_handler (DB_plugin_action_t *act, int ctx);

int
action_sort_by_album_handler (DB_plugin_action_t *act, int ctx);

int
action_sort_by_tracknr_handler (DB_plugin_action_t *act, int ctx);

int
action_sort_by_title_handler (DB_plugin_action_t *act, int ctx);

int
action_invert_selection_handler (DB_plugin_action_t *act, int ctx);

int
action_clear_playlist_handler (DB_plugin_action_t *act, int ctx);

int
action_add_to_playqueue_handler (DB_plugin_action_t *act, int ctx);

int
action_remove_from_playqueue_handler (DB_plugin_action_t *act, int ctx);

int
action_toggle_mute_handler (DB_plugin_action_t *act, int ctx);

#endif