2 * Copyright (C) 2012 Andrew Neal Licensed under the Apache License, Version 2.0
3 * (the "License"); you may not use this file except in compliance with the
4 * License. You may obtain a copy of the License at
5 * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
6 * or agreed to in writing, software distributed under the License is
7 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8 * KIND, either express or implied. See the License for the specific language
9 * governing permissions and limitations under the License.
12 package com.cyngn.eleven.menu;
15 * Several of the context menu items used in Apollo are reused. This class helps
18 * @author Andrew Neal (andrewdneal@gmail.com)
20 public class FragmentMenuItems {
22 /* Removes a single album from the recents pages */
23 public static final int REMOVE_FROM_RECENT = 0;
25 /* Used to play the selected artist, album, song, playlist, or genre */
26 public static final int PLAY_SELECTION = 1;
28 /* Used to add to the qeueue */
29 public static final int ADD_TO_QUEUE = 2;
31 /* Used to add to a playlist */
32 public static final int ADD_TO_PLAYLIST = 3;
34 /* Used to add to the favorites cache */
35 public static final int ADD_TO_FAVORITES = 4;
37 /* Used to create a new playlist */
38 public static final int NEW_PLAYLIST = 5;
40 /* Used to rename a playlist */
41 public static final int RENAME_PLAYLIST = 6;
43 /* Used to add to a current playlist */
44 public static final int PLAYLIST_SELECTED = 7;
46 /* Used to show more content by an artist */
47 public static final int MORE_BY_ARTIST = 8;
49 /* Used to delete track(s) */
50 public static final int DELETE = 9;
52 /* Used to fetch an artist image */
53 public static final int FETCH_ARTIST_IMAGE = 10;
55 /* Used to fetch album art */
56 public static final int FETCH_ALBUM_ART = 11;
58 /* Used to set a track as a ringtone */
59 public static final int USE_AS_RINGTONE = 12;
61 /* Used to remove a track from the favorites cache */
62 public static final int REMOVE_FROM_FAVORITES = 13;
64 /* Used to remove a track from a playlist */
65 public static final int REMOVE_FROM_PLAYLIST = 14;
67 /* Used to remove a track from the queue */
68 public static final int REMOVE_FROM_QUEUE = 15;
70 /* Used to queue a track to be played next */
71 public static final int PLAY_NEXT = 16;