OSDN Git Service

Repackaged com.andrew.apollo to com.cyngn.eleven
[android-x86/packages-apps-Eleven.git] / src / com / cyngn / eleven / menu / FragmentMenuItems.java
1 /*
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.
10  */
11
12 package com.cyngn.eleven.menu;
13
14 /**
15  * Several of the context menu items used in Apollo are reused. This class helps
16  * keep things tidy.
17  * 
18  * @author Andrew Neal (andrewdneal@gmail.com)
19  */
20 public class FragmentMenuItems {
21
22     /* Removes a single album from the recents pages */
23     public static final int REMOVE_FROM_RECENT = 0;
24
25     /* Used to play the selected artist, album, song, playlist, or genre */
26     public static final int PLAY_SELECTION = 1;
27
28     /* Used to add to the qeueue */
29     public static final int ADD_TO_QUEUE = 2;
30
31     /* Used to add to a playlist */
32     public static final int ADD_TO_PLAYLIST = 3;
33
34     /* Used to add to the favorites cache */
35     public static final int ADD_TO_FAVORITES = 4;
36
37     /* Used to create a new playlist */
38     public static final int NEW_PLAYLIST = 5;
39
40     /* Used to rename a playlist */
41     public static final int RENAME_PLAYLIST = 6;
42
43     /* Used to add to a current playlist */
44     public static final int PLAYLIST_SELECTED = 7;
45
46     /* Used to show more content by an artist */
47     public static final int MORE_BY_ARTIST = 8;
48
49     /* Used to delete track(s) */
50     public static final int DELETE = 9;
51
52     /* Used to fetch an artist image */
53     public static final int FETCH_ARTIST_IMAGE = 10;
54
55     /* Used to fetch album art */
56     public static final int FETCH_ALBUM_ART = 11;
57
58     /* Used to set a track as a ringtone */
59     public static final int USE_AS_RINGTONE = 12;
60
61     /* Used to remove a track from the favorites cache */
62     public static final int REMOVE_FROM_FAVORITES = 13;
63
64     /* Used to remove a track from a playlist */
65     public static final int REMOVE_FROM_PLAYLIST = 14;
66
67     /* Used to remove a track from the queue */
68     public static final int REMOVE_FROM_QUEUE = 15;
69
70     /* Used to queue a track to be played next */
71     public static final int PLAY_NEXT = 16;
72
73 }