skin tags: fix the id3 track/disc numbers in conditionals
[maemo-rb.git] / apps / bookmark.h
blobff7b87c1bfdf4110298c46609c1d35d32fb570bb
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2003 by Benjamin Metzler
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
21 #ifndef __BOOKMARK_H__
22 #define __BOOKMARK_H__
24 #include <stdbool.h>
26 enum {
27 BOOKMARK_FAIL = -1,
28 BOOKMARK_SUCCESS = 0,
29 BOOKMARK_USB_CONNECTED = 1
32 int bookmark_load_menu(void);
33 bool bookmark_autobookmark(bool prompt_ok);
34 bool bookmark_create_menu(void);
35 bool bookmark_mrb_load(void);
36 bool bookmark_autoload(const char* file);
37 bool bookmark_load(const char* file, bool autoload);
38 bool bookmark_exists(void);
39 bool bookmark_is_bookmarkable_state(void);
41 #endif /* __BOOKMARK_H__ */