Code

list_window: bell when searches wrap
[ncmpc.git] / src / options.h
index 791ec2f09c9faa3971ebf8ee0bcaf9135f805505..48a12f2b81e3eba8b89085f8670e858b51322abe 100644 (file)
@@ -1,3 +1,22 @@
+/* ncmpc (Ncurses MPD Client)
+ * (c) 2004-2009 The Music Player Daemon Project
+ * Project homepage: http://musicpd.org
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
 #ifndef OPTIONS_H
 #define OPTIONS_H
 
@@ -16,8 +35,10 @@ typedef struct {
        char *key_file;
        char *list_format;
        char *status_format;
+#ifndef NCMPC_MINI
        char *xterm_title_format;
        char *scroll_sep;
+#endif
        char **screen_list;
        char *timedisplay_type;
        int port;
@@ -25,7 +46,9 @@ typedef struct {
        int search_mode;
        int hide_cursor;
        int seek_time;
+#ifdef ENABLE_LYRICS_SCREEN
        int lyrics_timeout;
+#endif
        bool find_wrap;
        bool find_show_last_pattern;
        bool list_wrap;
@@ -36,11 +59,19 @@ typedef struct {
 #endif
        bool audible_bell;
        bool visible_bell;
+       bool bell_on_wrap;
+#ifndef NCMPC_MINI
        bool enable_xterm_title;
+#endif
+#ifdef HAVE_GETMOUSE
        bool enable_mouse;
+#endif
+#ifndef NCMPC_MINI
        bool scroll;
        bool visible_bitrate;
        bool welcome_screen_list;
+       bool display_time;
+#endif
 } options_t;
 
 extern options_t options;