excercise 2 done

This commit is contained in:
2025-12-12 22:48:54 +01:00
parent a60e3de86a
commit 27259a12e0
123 changed files with 2946 additions and 1 deletions

View File

@@ -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 ();
}
}