Code

po: added Brazilian Portuguese translation
[ncmpc.git] / src / command.h
index 4df7a30f0f07c4f808ba8cf415a5ed8503c1f75e..cd0b23339f0a6975ee09950a0e3dff922ae783cb 100644 (file)
@@ -1,21 +1,21 @@
-/*
- * (c) 2004-2008 The Music Player Daemon Project
- * http://www.musicpd.org/
- *
+/* ncmpc (Ncurses MPD Client)
+ * (c) 2004-2010 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
- */
+
+ * 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 COMMAND_H
 #define COMMAND_H
@@ -48,6 +48,8 @@ typedef enum {
        CMD_CLEAR,
        CMD_DELETE,
        CMD_REPEAT,
+       CMD_SINGLE,
+       CMD_CONSUME,
        CMD_CROSSFADE,
        CMD_DB_UPDATE,
        CMD_VOLUME_UP,
@@ -56,9 +58,13 @@ typedef enum {
        CMD_SAVE_PLAYLIST,
        CMD_TOGGLE_FIND_WRAP,
        CMD_TOGGLE_AUTOCENTER,
+       CMD_SELECT_PLAYING,
        CMD_SEARCH_MODE,
        CMD_LIST_PREVIOUS,
        CMD_LIST_NEXT,
+       CMD_LIST_TOP,
+       CMD_LIST_MIDDLE,
+       CMD_LIST_BOTTOM,
        CMD_LIST_FIRST,
        CMD_LIST_LAST,
        CMD_LIST_NEXT_PAGE,
@@ -67,16 +73,24 @@ typedef enum {
        CMD_LIST_FIND_NEXT,
        CMD_LIST_RFIND,
        CMD_LIST_RFIND_NEXT,
+       CMD_LIST_JUMP,
        CMD_LIST_MOVE_UP,
        CMD_LIST_MOVE_DOWN,
+       CMD_LIST_RANGE_SELECT,
+       CMD_LIST_SCROLL_UP_LINE,
+       CMD_LIST_SCROLL_DOWN_LINE,
+       CMD_LIST_SCROLL_UP_HALF,
+       CMD_LIST_SCROLL_DOWN_HALF,
        CMD_MOUSE_EVENT,
        CMD_SCREEN_UPDATE,
        CMD_SCREEN_PREVIOUS,
        CMD_SCREEN_NEXT,
+       CMD_SCREEN_SWAP,
        CMD_SCREEN_PLAY,
        CMD_SCREEN_FILE,
        CMD_SCREEN_ARTIST,
        CMD_SCREEN_SEARCH,
+       CMD_SCREEN_SONG,
        CMD_SCREEN_KEYDEF,
        CMD_SCREEN_HELP,
        CMD_SCREEN_LYRICS,
@@ -85,7 +99,6 @@ typedef enum {
        CMD_INTERRUPT,
        CMD_GO_ROOT_DIRECTORY,
        CMD_GO_PARENT_DIRECTORY,
-       CMD_VIEW,
        CMD_LOCATE,
        CMD_QUIT
 } command_t;