Debian Codegraph @

arduino-core/src/processing/app/debug/TargetPackage.java

raw symbols SCIP
1 /*
2 TargetPackage - Represents a hardware package
3 Part of the Arduino project - http://www.arduino.cc/
4
5 Copyright (c) 2014 Cristian Maglie
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software Foundation,
19 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21 package processing.app.debug;
22
23 import java.util.Collection;
24 import java.util.Map;
25
26 public interface TargetPackage {
27
28 String getId();
29
30 Map<String, TargetPlatform> getPlatforms();
31
32 Collection<TargetPlatform> platforms();
33
34 TargetPlatform get(String platform);
35
36 boolean hasPlatform(TargetPlatform platform);
37 }