A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 35 lines 1.5 kB view raw
1/*************************************************************************** 2 * __________ __ ___. 3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___ 4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / 5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 7 * \/ \/ \/ \/ \/ 8 * 9 * Copyright (C) 2011 Jonathan Gordon 10 * 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. 15 * 16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 17 * KIND, either express or implied. 18 * 19 ****************************************************************************/ 20 21#ifndef __FOLDER_SELECT_H__ 22#define __FOLDER_SELECT_H__ 23 24/** 25 * A GUI browser to select folders from the file system 26 * 27 * It reads a list of folders, separated by colons (:) from setting 28 * and pre-selects them in the UI. If the user is done it writes the new 29 * list back to setting (again separated by colons), assuming the 30 * user confirms the yesno dialog. 31 * 32 * Returns true if the the folder list has changed, otherwise false */ 33bool folder_select(char* setting, int setting_len); 34 35#endif /* __FOLDER_SELECT_H__ */