|
1 | | -/* |
2 | | - * Copyright (c) 2018-19 Martin Prout |
3 | | - * |
| 1 | +/* |
| 2 | + * Copyright (c) 2015-19 Martin Prout |
| 3 | + * |
4 | 4 | * This library is free software; you can redistribute it and/or |
5 | | - * modify it under the terms of the GNU General Public |
| 5 | + * modify it under the terms of the GNU Lesser General Public |
6 | 6 | * License as published by the Free Software Foundation; either |
7 | | - * version 3.0 of the License, or (at your option) any later version. |
8 | | - * |
| 7 | + * version 2.1 of the License, or (at your option) any later version. |
| 8 | + * |
9 | 9 | * http://creativecommons.org/licenses/LGPL/2.1/ |
10 | | - * |
| 10 | + * |
11 | 11 | * This library is distributed in the hope that it will be useful, |
12 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 | 14 | * Lesser General Public License for more details. |
15 | | - * |
16 | | - * You should have received a copy of the GNU General Public |
| 15 | + * |
| 16 | + * You should have received a copy of the GNU Lesser General Public |
17 | 17 | * License along with this library; if not, write to the Free Software |
18 | 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
19 | 19 | */ |
20 | 20 |
|
21 | 21 | package monkstone.videoevent; |
22 | 22 | import processing.video.Movie; |
23 | | -import processing.video.Capture; |
| 23 | + |
24 | 24 | /** |
25 | 25 | * This interface makes it easier/possible to use the reflection methods |
26 | | - * from Movie and Capture classes in Processing::App in picrate |
27 | | - * |
| 26 | + * from Movie and Capture classes in Processing::App in JRubyArt |
| 27 | + * @author Martin Prout |
28 | 28 | */ |
29 | | -public interface VideoInterface { |
30 | | - /** |
31 | | - * Used to implement reflection method in PApplet |
32 | | - * @see processing.video.Movie |
33 | | - * @param movie Movie |
34 | | - */ |
| 29 | +@FunctionalInterface |
| 30 | +public interface MovieEvent { |
35 | 31 | public void movieEvent(Movie movie); |
36 | | - /** |
37 | | - * Used to implement reflection method in PApplet |
38 | | - * @see processing.video.Capture |
39 | | - * @param capture Capture |
40 | | - */ |
41 | | - public void captureEvent(Capture capture); |
42 | 32 | } |
0 commit comments