]> git.sesse.net Git - vlc/blob - bindings/java/org/videolan/jvlc/JVLCCanvas.java
Java bindings by Filippo Carone.
[vlc] / bindings / java / org / videolan / jvlc / JVLCCanvas.java
1 /*
2  * Created on 25-nov-2005
3  *
4  * This program is free software; you can redistribute it
5  * and/or modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2 of the
7  * License, or (at your option) any later version.
8  * 
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * General Public License for more details.
13  * 
14  * You should have received a copy of the GNU General Public
15  * License along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17  * 
18  */
19 /**
20  * @author Filippo Carone <filippo@carone.org>
21  */
22
23 package org.videolan.jvlc;
24
25 import java.awt.Canvas;
26 import java.awt.Graphics;
27
28 public class JVLCCanvas extends Canvas {
29
30     public native void paint(Graphics g);
31
32     private final JVLC jvlcObject = new JVLC();
33     
34     public JVLCCanvas() {
35         jvlcObject.addInterface("dummy", false, false);
36     }
37     
38     public JVLC getJVLCObject() {
39         return jvlcObject;
40     }
41 }