diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-07-29 16:21:38 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-07-29 16:21:38 -0700 |
commit | 4e6548af46e4d2fca15e353d8b9529190dbc9645 (patch) | |
tree | 794c1fb46bbdb09f14ab363f07a6de998354e049 /src/github | |
parent | ebfcd3202389faf85cb8ffd4798b813ed75b4b4b (diff) | |
download | dsub-4e6548af46e4d2fca15e353d8b9529190dbc9645.tar.gz dsub-4e6548af46e4d2fca15e353d8b9529190dbc9645.tar.bz2 dsub-4e6548af46e4d2fca15e353d8b9529190dbc9645.zip |
Create RemoteControlState
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/domain/RemoteControlState | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/domain/RemoteControlState b/src/github/daneren2005/dsub/domain/RemoteControlState new file mode 100644 index 00000000..9bf3bf91 --- /dev/null +++ b/src/github/daneren2005/dsub/domain/RemoteControlState @@ -0,0 +1,37 @@ +/* + This file is part of Subsonic. + + Subsonic 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 3 of the License, or + (at your option) any later version. + + Subsonic 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 Subsonic. If not, see <http://www.gnu.org/licenses/>. + + Copyright 2009 (C) Sindre Mehus +*/ + +package github.daneren2005.dsub.domain; + +public enum RemoteControlState { + LOCAL(0), + JUKEBOX_SERVER(1), + CHROMECAST(2), + REMOTE_CLIENT(3); + + private final int mRemoteControlState; + + private RemoteControlState(int value) { + mRemoteControlState = value; + } + + public int getValue() { + return mRemoteControlState; + } +} |