File: MediaLinkType.java

package info (click to toggle)
gpsprune 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,824 kB
  • sloc: java: 52,154; sh: 25; makefile: 21; python: 15
file content (17 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package tim.prune.cmd;

/**
 * Enum for photos, audios or both
 */
public enum MediaLinkType
{
	LINK_PHOTOS, LINK_AUDIOS, LINK_BOTH;

	public boolean handlePhotos() {
		return this == LINK_PHOTOS || this == LINK_BOTH;
	}

	public boolean handleAudios() {
		return this == LINK_AUDIOS || this == LINK_BOTH;
	}
}