excercise 2 done
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
package GraphicsApp;
|
||||
|
||||
/**
|
||||
* GraphicsApp/GraphicalObjectHolder.java .
|
||||
* Generated by the IDL-to-Java compiler (portable), version "3.2"
|
||||
* from Graphics.idl
|
||||
* Tuesday, November 11, 2025 6:46:29 PM CET
|
||||
*/
|
||||
|
||||
|
||||
// GraphicalShape object extends Shape
|
||||
public final class GraphicalObjectHolder implements org.omg.CORBA.portable.Streamable
|
||||
{
|
||||
public GraphicsApp.GraphicalObject value = null;
|
||||
|
||||
public GraphicalObjectHolder ()
|
||||
{
|
||||
}
|
||||
|
||||
public GraphicalObjectHolder (GraphicsApp.GraphicalObject initialValue)
|
||||
{
|
||||
value = initialValue;
|
||||
}
|
||||
|
||||
public void _read (org.omg.CORBA.portable.InputStream i)
|
||||
{
|
||||
value = GraphicsApp.GraphicalObjectHelper.read (i);
|
||||
}
|
||||
|
||||
public void _write (org.omg.CORBA.portable.OutputStream o)
|
||||
{
|
||||
GraphicsApp.GraphicalObjectHelper.write (o, value);
|
||||
}
|
||||
|
||||
public org.omg.CORBA.TypeCode _type ()
|
||||
{
|
||||
return GraphicsApp.GraphicalObjectHelper.type ();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user