1 /* Copyright (C) 2003 Free Software Foundation 2 3 This file is part of libgcj. 4 5 This software is copyrighted work licensed under the terms of the 6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for 7 details. */ 8 9 #include <gnu/java/awt/EmbeddedWindow.h> 10 #include <gnu/java/awt/peer/EmbeddedWindowPeer.h> 11 #include <java/awt/peer/ComponentPeer.h> 12 13 void setWindowPeer(gnu::java::awt::peer::EmbeddedWindowPeer * w)14gnu::java::awt::EmbeddedWindow::setWindowPeer (gnu::java::awt::peer::EmbeddedWindowPeer* w) 15 { 16 if (!peer) 17 peer = reinterpret_cast< ::java::awt::peer::ComponentPeer *> (w); 18 } 19