

package org.glob3.mobile.specific;

import org.glob3.mobile.generated.IByteBuffer;
import org.glob3.mobile.generated.ICanvas;
import org.glob3.mobile.generated.IDeviceInfo;
import org.glob3.mobile.generated.IFactory;
import org.glob3.mobile.generated.IFloatBuffer;
import org.glob3.mobile.generated.IIntBuffer;
import org.glob3.mobile.generated.IShortBuffer;
import org.glob3.mobile.generated.ITimer;
import org.glob3.mobile.generated.IWebSocket;
import org.glob3.mobile.generated.IWebSocketListener;
import org.glob3.mobile.generated.URL;


public class Factory_JavaDesktop
         extends
            IFactory {


   @Override
   public ITimer createTimer() {
      throw new RuntimeException("Not yet implemented");
   }


   @Override
   public IFloatBuffer createFloatBuffer(final int size) {
      return new FloatBuffer_JavaDesktop(size);
   }


   @Override
   public IFloatBuffer createFloatBuffer(final float pF0,
                                         final float pF1,
                                         final float pF2,
                                         final float pF3,
                                         final float pF4,
                                         final float pF5,
                                         final float pF6,
                                         final float pF7,
                                         final float pF8,
                                         final float pF9,
                                         final float pF10,
                                         final float pF11,
                                         final float pF12,
                                         final float pF13,
                                         final float pF14,
                                         final float pF15) {
      throw new RuntimeException("Not yet implemented");
   }


   @Override
   public IIntBuffer createIntBuffer(final int pSize) {
      throw new RuntimeException("Not yet implemented");
   }


   @Override
   public IShortBuffer createShortBuffer(final int size) {
      throw new RuntimeException("Not yet implemented");
   }


   @Override
   public IByteBuffer createByteBuffer(final int length) {
      return new ByteBuffer_JavaDesktop(length);
   }


   @Override
   public IByteBuffer createByteBuffer(final byte[] data,
                                       final int length) {
      return new ByteBuffer_JavaDesktop(data);
   }


   @Override
   public ICanvas createCanvas() {
      throw new RuntimeException("Not yet implemented");
   }


   @Override
   public IWebSocket createWebSocket(final URL url,
                                     final IWebSocketListener listener,
                                     final boolean autodeleteListener,
                                     final boolean autodeleteWebSocket) {
      throw new RuntimeException("Not yet implemented");
   }


   //   @Override
   //   public IShortBuffer createShortBuffer(final short[] array) {
   //      throw new RuntimeException("Not yet implemented");
   //   }
   //   @Override
   //   public IFloatBuffer createFloatBuffer(final float[] array) {
   //      return new FloatBuffer_JavaDesktop(array);
   //   }


   @Override
   public IShortBuffer createShortBuffer(final short[] array,
                                         final int length) {
      throw new RuntimeException("Not yet implemented");
   }


   @Override
   public IFloatBuffer createFloatBuffer(final float[] array,
                                         final int length) {
      return new FloatBuffer_JavaDesktop(array, length);
   }


   @Override
   protected IDeviceInfo createDeviceInfo() {
      throw new RuntimeException("Not yet implemented");
   }


}
