aboutsummaryrefslogtreecommitdiffstats
path: root/src/ncmpc.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lirc: refactored event handlerThomas Jansen2008-11-101-0/+6
| | | | | | | * moved lirc_event to lirc.c and split out the parts that depend on variables in main.c into three separate functions * changed keyboard_event accordingly to avoid duplicate code * merged lirc_event with ncmpc_lirc_get_command
* moved macros from ncmpc.h to main.c and screen.cMax Kellermann2008-10-021-19/+0
| | | | | Moved constants which are only used in one source file. Remove several unused macros.
* removed LIST_FORMAT, STATUS_FORMATMax Kellermann2008-10-021-4/+0
| | | | | Use options.list_format and options.status_format directly instead of these two macros.
* moved i18n macros to i18n.hMax Kellermann2008-10-021-19/+0
| | | | | Don't make everybody include ncmpc.h just to have generic features. Move generic i18n macros to a separate header.
* moved default value macros to defaults.hMax Kellermann2008-10-021-15/+0
| | | | | These macros are only used by options.c and conf.c. Move them to a common internal header.
* options: initialize options.list_formatMax Kellermann2008-10-021-5/+3
| | | | | | Instead of checking whether options.list_format is set in the LIST_FORMAT macro, initialize it once with options.list_format. Same for options.status_format / STATUS_FORMAT.
* removed the debugging function D()Max Kellermann2008-10-021-6/+0
| | | | gdb is for debugging. We don't need D() calls littered all over.
* configure.ac: define ENABLE_x_SCREEN instead of DISABLE_x_SCREENMax Kellermann2008-10-021-13/+0
| | | | | Everybody who uses the ENABLE_ macros has to include ncmpc.h. We're better off defining those in config.h via configure.ac.
* removed the clock screenMax Kellermann2008-09-181-3/+0
| | | | Why should an audio player display a large clock?
* fix function prototypesMax Kellermann2008-09-151-0/+3
| | | | | | Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
* const pointersMax Kellermann2008-09-151-1/+1
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* use !NDEBUG instead of DEBUGMax Kellermann2008-09-151-1/+1
| | | | | NDEBUG is more commonly used than DEBUG, e.g. in assert.h. Convert all macros to NDEBUG, and declare NDEBUG when debugging is disabled.
* way too much stuff to describe hereAndreas Obergrusberger2007-02-161-0/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* the updated sourcesAndreas Obergrusberger2006-08-041-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* New configuraton option: screen-listKalle Wallin2005-06-151-0/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3358 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added an experimental artist (browser) screenKalle Wallin2005-06-061-0/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added a search screenKalle Wallin2004-11-151-0/+10
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Moved definitions from screen.h to ncmpc.h Kalle Wallin2004-07-131-3/+10
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1866 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Crossfade time can now be definied in the rc file (crossfade-time)Kalle Wallin2004-07-131-0/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin2004-07-131-8/+4
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Support SIGSTOP, SIGCONT in raw modeKalle Wallin2004-07-121-0/+6
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1858 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Replaced the debug macro with a functionKalle Wallin2004-07-031-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1780 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Make shure the dummy debug macro survives the OSX preprocessorKalle Wallin2004-06-221-2/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1615 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Modified %shortfile% format to not shorten urlsKalle Wallin2004-06-151-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1502 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Renamed %basename% format %shortfile%Kalle Wallin2004-06-151-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1498 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added list-format and status-format conf optionsKalle Wallin2004-06-151-3/+8
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1496 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin2004-06-141-2/+7
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Updated the reconnect code to allow user to abort in raw modeKalle Wallin2004-06-091-2/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1422 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Disable nls support if glib is pre 2.4 (OSX)Kalle Wallin2004-06-071-1/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1379 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1347 ↵Kalle Wallin2004-06-051-0/+37
09075e82-0dd4-0310-85a5-a0d7c8717e4f