comfyj-2.9

16:34:35.290 INFO  jd.cli.Main - Decompiling comfyj-2.9.jar
package com.jniwrapper.win32;

import com.jniwrapper.Parameter;
import com.jniwrapper.PrimitiveArray;
import com.jniwrapper.Structure;
import com.jniwrapper.win32.automation.types.SafeArray;

public class a
  extends Structure
{
  private PrimitiveArray a;
  
  public a()
  {
    this(0);
  }
  
  public a(int paramInt)
  {
    a = new PrimitiveArray(SafeArray.e == null ? (SafeArray.e = SafeArray.b("com.jniwrapper.UInt8")) : SafeArray.e, paramInt);
    init(new Parameter[] { a });
  }
  
  public Object clone()
  {
    a locala = new a();
    locala.initFrom(this);
    return locala;
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.a
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32;

import com.jniwrapper.AbstractFloat;
import com.jniwrapper.DoubleFloat;
import com.jniwrapper.Int;
import com.jniwrapper.Int16;
import com.jniwrapper.Int32;
import com.jniwrapper.Int64;
import com.jniwrapper.Int8;
import com.jniwrapper.IntegerParameter;
import com.jniwrapper.Parameter;
import com.jniwrapper.Pointer;
import com.jniwrapper.SingleFloat;
import com.jniwrapper.UInt;
import com.jniwrapper.UInt16;
import com.jniwrapper.UInt32;
import com.jniwrapper.UInt64;
import com.jniwrapper.UInt8;
import com.jniwrapper.win32.automation.OleStr;
import com.jniwrapper.win32.automation.impl.IDispatchImpl;
import com.jniwrapper.win32.automation.types.BStr;
import com.jniwrapper.win32.automation.types.Decimal;
import com.jniwrapper.win32.automation.types.SafeArray;
import com.jniwrapper.win32.automation.types.Variant;
import com.jniwrapper.win32.automation.types.VariantBool;
import com.jniwrapper.win32.com.impl.IUnknownImpl;
import com.jniwrapper.win32.com.types.CY;
import com.jniwrapper.win32.com.types.Date;
import com.jniwrapper.win32.com.types.SCode;

public class b
  extends aa
{
  public b(Variant paramVariant)
  {
    super(paramVariant);
  }
  
  public void c(int paramInt, Object paramObject)
  {
    if (e(paramInt)) {
      a(paramInt, paramObject);
    } else if (d(paramInt)) {
      s(paramObject);
    } else if (f(paramInt)) {
      b(paramInt, paramObject);
    } else if (a(paramInt)) {
      g(paramObject);
    } else {
      a();
    }
  }
  
  private void a(int paramInt, Object paramObject)
  {
    paramInt = b(paramInt);
    switch (paramInt)
    {
    case 22: 
      o(paramObject);
      break;
    case 23: 
      h(paramObject);
      break;
    case 16: 
      n(paramObject);
      break;
    case 2: 
      a(paramObject);
      break;
    case 3: 
      p(paramObject);
      break;
    case 20: 
      j(paramObject);
      break;
    case 17: 
      v(paramObject);
      break;
    case 18: 
      i(paramObject);
      break;
    case 19: 
      l(paramObject);
      break;
    case 21: 
      q(paramObject);
      break;
    case 4: 
      b(paramObject);
      break;
    case 5: 
      c(paramObject);
      break;
    case 11: 
      k(paramObject);
    }
  }
  
  private void b(int paramInt, Object paramObject)
  {
    paramInt = b(paramInt);
    switch (paramInt)
    {
    case 10: 
      u(paramObject);
      break;
    case 8: 
      d(paramObject);
      break;
    case 7: 
      m(paramObject);
      break;
    case 6: 
      r(paramObject);
      break;
    case 13: 
      e(paramObject);
      break;
    case 9: 
      t(paramObject);
      break;
    case 12: 
      f(paramObject);
    }
  }
  
  private void g(Object paramObject)
  {
    Pointer localPointer = b().getPdecVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof Decimal)) {
        localPointer.setReferencedObject((Parameter)paramObject);
      } else {
        a();
      }
    }
  }
  
  private void o(Object paramObject)
  {
    Pointer localPointer = b().getPintVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        Int localInt = (Int)localPointer.getReferencedObject();
        localInt.setValue(((Number)paramObject).longValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void h(Object paramObject)
  {
    Pointer localPointer = b().getPuintVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        UInt localUInt = (UInt)localPointer.getReferencedObject();
        localUInt.setValue(((Number)paramObject).longValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void n(Object paramObject)
  {
    Pointer localPointer = b().getPcVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        Int8 localInt8 = (Int8)localPointer.getReferencedObject();
        localInt8.setValue(((Number)paramObject).byteValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void a(Object paramObject)
  {
    Pointer localPointer = b().getPiVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        Int16 localInt16 = (Int16)localPointer.getReferencedObject();
        localInt16.setValue(((Number)paramObject).shortValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void p(Object paramObject)
  {
    Pointer localPointer = b().getPlVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        Int32 localInt32 = (Int32)localPointer.getReferencedObject();
        localInt32.setValue(((Number)paramObject).intValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void j(Object paramObject)
  {
    Pointer localPointer = b().getPllVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        Int64 localInt64 = (Int64)localPointer.getReferencedObject();
        localInt64.setValue(((Number)paramObject).longValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void v(Object paramObject)
  {
    Pointer localPointer = b().getPbVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        UInt8 localUInt8 = (UInt8)localPointer.getReferencedObject();
        localUInt8.setValue(((Number)paramObject).shortValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void i(Object paramObject)
  {
    Pointer localPointer = b().getPuiVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        UInt16 localUInt16 = (UInt16)localPointer.getReferencedObject();
        localUInt16.setValue(((Number)paramObject).intValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void l(Object paramObject)
  {
    Pointer localPointer = b().getPulVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        UInt32 localUInt32 = (UInt32)localPointer.getReferencedObject();
        localUInt32.setValue(((Number)paramObject).longValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void q(Object paramObject)
  {
    Pointer localPointer = b().getPullVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IntegerParameter))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        UInt64 localUInt64 = (UInt64)localPointer.getReferencedObject();
        localUInt64.setValue(((Number)paramObject).longValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void b(Object paramObject)
  {
    Pointer localPointer = b().getPfltVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof AbstractFloat))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        SingleFloat localSingleFloat = (SingleFloat)localPointer.getReferencedObject();
        localSingleFloat.setValue(((Number)paramObject).floatValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void c(Object paramObject)
  {
    Pointer localPointer = b().getPdblVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof AbstractFloat))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        DoubleFloat localDoubleFloat = (DoubleFloat)localPointer.getReferencedObject();
        localDoubleFloat.setValue(((Number)paramObject).doubleValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void k(Object paramObject)
  {
    Pointer localPointer = b().getPboolVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof VariantBool))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Boolean))
      {
        VariantBool localVariantBool = (VariantBool)localPointer.getReferencedObject();
        localVariantBool.setBooleanValue(((Boolean)paramObject).booleanValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void u(Object paramObject)
  {
    Pointer localPointer = b().getPscode();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof SCode))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        SCode localSCode = (SCode)localPointer.getReferencedObject();
        localSCode.setValue(((Number)paramObject).intValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void d(Object paramObject)
  {
    Pointer localPointer = b().getPbstrVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof BStr))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else
      {
        BStr localBStr;
        if ((paramObject instanceof String))
        {
          localBStr = (BStr)localPointer.getReferencedObject();
          localBStr.setValue((String)paramObject);
        }
        else if ((paramObject instanceof OleStr))
        {
          localBStr = (BStr)localPointer.getReferencedObject();
          OleStr localOleStr = (OleStr)paramObject;
          localBStr.setValue(localOleStr.getValue());
        }
        else
        {
          a();
        }
      }
    }
  }
  
  private void m(Object paramObject)
  {
    Pointer localPointer = b().getPdate();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof Date))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        Date localDate = (Date)localPointer.getReferencedObject();
        localDate.setValue(((Number)paramObject).doubleValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void r(Object paramObject)
  {
    Pointer localPointer = b().getPcyVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof CY))
      {
        localPointer.setReferencedObject((Parameter)paramObject);
      }
      else if ((paramObject instanceof Number))
      {
        CY localCY = (CY)localPointer.getReferencedObject();
        localCY.setInt64(((Number)paramObject).longValue());
      }
      else
      {
        a();
      }
    }
  }
  
  private void e(Object paramObject)
  {
    Pointer localPointer = b().getPpunkVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IUnknownImpl)) {
        localPointer.setReferencedObject((Parameter)paramObject);
      } else {
        a();
      }
    }
  }
  
  private void t(Object paramObject)
  {
    Pointer localPointer = b().getPpdispVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof IDispatchImpl)) {
        localPointer.setReferencedObject((Parameter)paramObject);
      } else {
        a();
      }
    }
  }
  
  private void f(Object paramObject)
  {
    Pointer localPointer = b().getPvarVal();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof Variant)) {
        localPointer.setReferencedObject((Parameter)paramObject);
      } else {
        a();
      }
    }
  }
  
  private void s(Object paramObject)
  {
    Pointer localPointer = b().getPparray();
    if (paramObject == null)
    {
      localPointer.setNull(true);
    }
    else
    {
      localPointer.setNull(false);
      if ((paramObject instanceof SafeArray)) {
        localPointer.setReferencedObject((Parameter)paramObject);
      } else {
        a();
      }
    }
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.b
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.ole.server;

import com.jniwrapper.Int32;
import com.jniwrapper.Parameter;
import com.jniwrapper.Pointer.OutOnly;
import com.jniwrapper.win32.HResult;
import com.jniwrapper.win32.automation.OleStr;
import com.jniwrapper.win32.com.impl.IMonikerImpl;
import com.jniwrapper.win32.com.server.CoClassMetaInfo;
import com.jniwrapper.win32.com.server.CoInterfaceVTBL.VirtualMethodCallback;
import com.jniwrapper.win32.com.server.IUnknownVTBL;
import com.jniwrapper.win32.ole.impl.IBindCtxImpl;

public class IParseDisplayNameVTBL
  extends IUnknownVTBL
{
  public IParseDisplayNameVTBL(CoClassMetaInfo paramCoClassMetaInfo)
  {
    super(paramCoClassMetaInfo);
    
    addMembers(new CoInterfaceVTBL.VirtualMethodCallback[] { new CoInterfaceVTBL.VirtualMethodCallback(this, "parseDisplayName", new HResult(), new Parameter[] { new IBindCtxImpl(), new OleStr(), new Pointer.OutOnly(new Int32()), new Pointer.OutOnly(new IMonikerImpl()) }, 3) });
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.ole.server.IParseDisplayNameVTBL
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.automation.types;

import com.jniwrapper.Parameter;
import com.jniwrapper.Structure;
import com.jniwrapper.ULongInt;

public class ParamDescEx
  extends Structure
{
  private ULongInt a = new ULongInt();
  private VariantArg b = new VariantArg();
  
  private void b()
  {
    init(new Parameter[] { a, b }, (short)8);
  }
  
  public ParamDescEx()
  {
    b();
  }
  
  public ParamDescEx(ParamDescEx paramParamDescEx)
  {
    a = ((ULongInt)a.clone());
    b = ((VariantArg)b.clone());
    
    b();
  }
  
  public long getCBytes()
  {
    return a.getValue();
  }
  
  public void setCBytes(long paramLong)
  {
    a.setValue(paramLong);
  }
  
  public VariantArg getVarDefaultValue()
  {
    return b;
  }
  
  public Object clone()
  {
    return new ParamDescEx(this);
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.automation.types.ParamDescEx
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.automation;

import com.jniwrapper.win32.gdi.PrintParameters;

public abstract interface PrintHandler
  extends ContainerHandler
{
  public abstract void print(PrintParameters paramPrintParameters);
  
  public abstract void print();
  
  public abstract void printPreview();
  
  public abstract void closePrintPreview();
  
  public abstract boolean isInPrintPreview();
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.automation.PrintHandler
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.ole.types;

import com.jniwrapper.IntegerParameter;
import com.jniwrapper.win32.com.types.ComEnumeration;

public class KeyModifiers
  extends ComEnumeration
{
  public static final int KEYMOD_SHIFT = 1;
  public static final int KEYMOD_CONTROL = 2;
  public static final int KEYMOD_ALT = 4;
  
  public KeyModifiers() {}
  
  public KeyModifiers(long paramLong)
  {
    super(paramLong);
  }
  
  public KeyModifiers(IntegerParameter paramIntegerParameter)
  {
    super(paramIntegerParameter);
  }
  
  public Object clone()
  {
    return new KeyModifiers(this);
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.ole.types.KeyModifiers
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.com.types;

import com.jniwrapper.IntegerParameter;

public class RegCls
  extends ComEnumeration
{
  public static final int REGCLS_SINGLEUSE = 0;
  public static final int REGCLS_MULTIPLEUSE = 1;
  public static final int REGCLS_MULTI_SEPARATE = 2;
  public static final int REGCLS_SUSPENDED = 4;
  public static final int REGCLS_SURROGATE = 8;
  
  public RegCls() {}
  
  public RegCls(long paramLong)
  {
    super(paramLong);
  }
  
  public RegCls(IntegerParameter paramIntegerParameter)
  {
    super(paramIntegerParameter);
  }
  
  public Object clone()
  {
    return new RegCls(this);
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.com.types.RegCls
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.ole.impl;

import com.jniwrapper.Int16;
import com.jniwrapper.Int32;
import com.jniwrapper.Pointer;
import com.jniwrapper.Pointer.Const;
import com.jniwrapper.win32.Msg;
import com.jniwrapper.win32.automation.OleStr;
import com.jniwrapper.win32.automation.types.VariantBool;
import com.jniwrapper.win32.com.ComException;
import com.jniwrapper.win32.com.IUnknown;
import com.jniwrapper.win32.com.impl.IUnknownImpl;
import com.jniwrapper.win32.com.types.CLSID;
import com.jniwrapper.win32.com.types.ClsCtx;
import com.jniwrapper.win32.com.types.IID;
import com.jniwrapper.win32.ole.IOleInPlaceFrame;
import com.jniwrapper.win32.ole.types.OleMenuGroupWidths;

public class IOleInPlaceFrameImpl
  extends IOleInPlaceUIWindowImpl
  implements IOleInPlaceFrame
{
  public static final String INTERFACE_IDENTIFIER = "{00000116-0000-0000-C000-000000000046}";
  private static final IID a = IID.create("{00000116-0000-0000-C000-000000000046}");
  
  public IOleInPlaceFrameImpl() {}
  
  public IOleInPlaceFrameImpl(IUnknownImpl paramIUnknownImpl)
    throws ComException
  {
    super(paramIUnknownImpl);
  }
  
  public IOleInPlaceFrameImpl(IUnknown paramIUnknown)
  {
    super(paramIUnknown);
  }
  
  public IOleInPlaceFrameImpl(CLSID paramCLSID, ClsCtx paramClsCtx)
    throws ComException
  {
    super(paramCLSID, paramClsCtx);
  }
  
  public IOleInPlaceFrameImpl(CLSID paramCLSID, IUnknown paramIUnknown, ClsCtx paramClsCtx)
    throws ComException
  {
    super(paramCLSID, paramIUnknown, paramClsCtx);
  }
  
  public void insertMenus(Int32 paramInt32, OleMenuGroupWidths paramOleMenuGroupWidths)
    throws ComException
  {
    invokeStandardVirtualMethod(9, (byte)2, paramInt32, paramOleMenuGroupWidths == null ? PTR_NULL : new Pointer(paramOleMenuGroupWidths));
  }
  
  public void setMenu(Int32 paramInt321, Int32 paramInt322, Int32 paramInt323)
    throws ComException
  {
    invokeStandardVirtualMethod(10, (byte)2, paramInt321, paramInt322, paramInt323);
  }
  
  public void removeMenus(Int32 paramInt32)
    throws ComException
  {
    invokeStandardVirtualMethod(11, (byte)2, paramInt32);
  }
  
  public void setStatusText(OleStr paramOleStr)
    throws ComException
  {
    invokeStandardVirtualMethod(12, (byte)2, paramOleStr);
  }
  
  public void enableModeless(VariantBool paramVariantBool)
    throws ComException
  {
    invokeStandardVirtualMethod(13, (byte)2, paramVariantBool);
  }
  
  public void translateAccelerator(Msg paramMsg, Int16 paramInt16)
    throws ComException
  {
    invokeStandardVirtualMethod(14, (byte)2, paramMsg == null ? PTR_NULL : new Pointer.Const(paramMsg), paramInt16);
  }
  
  public IID getIID()
  {
    return a;
  }
  
  public Object clone()
  {
    IOleInPlaceFrameImpl localIOleInPlaceFrameImpl = null;
    try
    {
      localIOleInPlaceFrameImpl = new IOleInPlaceFrameImpl(this);
    }
    catch (ComException localComException) {}
    return localIOleInPlaceFrameImpl;
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.ole.impl.IOleInPlaceFrameImpl
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.automation;

import com.jniwrapper.UInt16;
import com.jniwrapper.UInt32;
import com.jniwrapper.win32.automation.types.BStr;
import com.jniwrapper.win32.automation.types.DispID;
import com.jniwrapper.win32.automation.types.DispParams;
import com.jniwrapper.win32.automation.types.ExcepInfo;
import com.jniwrapper.win32.automation.types.Variant;
import com.jniwrapper.win32.com.ComException;
import com.jniwrapper.win32.com.IServiceProvider;
import com.jniwrapper.win32.com.IUnknown;
import com.jniwrapper.win32.com.types.LocaleID;

public abstract interface IDispatchEx
  extends IDispatch
{
  public static final String INTERFACE_IDENTIFIER = "{A6EF9860-C720-11d0-9337-00A0C90DCAA9}";
  
  public abstract DispID getDispID(BStr paramBStr, UInt32 paramUInt32)
    throws ComException;
  
  public abstract void invokeEx(DispID paramDispID, LocaleID paramLocaleID, UInt16 paramUInt16, DispParams paramDispParams, Variant paramVariant, ExcepInfo paramExcepInfo, IServiceProvider paramIServiceProvider)
    throws ComException;
  
  public abstract void deleteMemberByName(BStr paramBStr, UInt32 paramUInt32)
    throws ComException;
  
  public abstract void deleteMemberByDispID(DispID paramDispID)
    throws ComException;
  
  public abstract UInt32 getMemberPropeties(DispID paramDispID, UInt32 paramUInt32)
    throws ComException;
  
  public abstract BStr getMemberName(DispID paramDispID)
    throws ComException;
  
  public abstract DispID getNextrDispID(UInt32 paramUInt32, DispID paramDispID)
    throws ComException;
  
  public abstract IUnknown getNameSpaceParent()
    throws ComException;
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.automation.IDispatchEx
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.com.server;

import com.jniwrapper.ComplexArray;
import com.jniwrapper.Int32;
import com.jniwrapper.Parameter;
import com.jniwrapper.Pointer.OutOnly;
import com.jniwrapper.win32.HResult;
import com.jniwrapper.win32.automation.types.BStr;
import com.jniwrapper.win32.com.impl.IEnumStringImpl;

public class IEnumStringVTBL
  extends IUnknownVTBL
{
  public IEnumStringVTBL(CoClassMetaInfo paramCoClassMetaInfo)
  {
    super(paramCoClassMetaInfo);
    
    addMembers(new CoInterfaceVTBL.VirtualMethodCallback[] { new CoInterfaceVTBL.VirtualMethodCallback(this, "next", new Int32(), new Parameter[] { new Int32(), new Pointer.OutOnly(new ComplexArray(new BStr(), 1)), new Pointer.OutOnly(new Int32()) }), new CoInterfaceVTBL.VirtualMethodCallback(this, "skip", new HResult(), new Parameter[] { new Int32() }), new CoInterfaceVTBL.VirtualMethodCallback(this, "reset", new HResult(), new Parameter[0]), new CoInterfaceVTBL.VirtualMethodCallback(this, "invokeClone", new HResult(), new Parameter[] { new Pointer.OutOnly(new IEnumStringImpl()) }, 0) });
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.com.server.IEnumStringVTBL
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.automation.impl;

import com.jniwrapper.Parameter;
import com.jniwrapper.Pointer;
import com.jniwrapper.Pointer.OutOnly;
import com.jniwrapper.UInt16;
import com.jniwrapper.UInt32;
import com.jniwrapper.win32.automation.IDispatchEx;
import com.jniwrapper.win32.automation.types.BStr;
import com.jniwrapper.win32.automation.types.DispID;
import com.jniwrapper.win32.automation.types.DispParams;
import com.jniwrapper.win32.automation.types.ExcepInfo;
import com.jniwrapper.win32.automation.types.Variant;
import com.jniwrapper.win32.com.ComException;
import com.jniwrapper.win32.com.IServiceProvider;
import com.jniwrapper.win32.com.IUnknown;
import com.jniwrapper.win32.com.impl.IUnknownImpl;
import com.jniwrapper.win32.com.types.CLSID;
import com.jniwrapper.win32.com.types.ClsCtx;
import com.jniwrapper.win32.com.types.IID;
import com.jniwrapper.win32.com.types.LocaleID;

public class IDispatchExImpl
  extends IDispatchImpl
  implements IDispatchEx
{
  public static final String INTERFACE_IDENTIFIER = "{A6EF9860-C720-11d0-9337-00A0C90DCAA9}";
  private static final IID a = IID.create("{A6EF9860-C720-11d0-9337-00A0C90DCAA9}");
  
  public IDispatchExImpl() {}
  
  public IDispatchExImpl(IUnknownImpl paramIUnknownImpl)
    throws ComException
  {
    super(paramIUnknownImpl);
  }
  
  public IDispatchExImpl(IUnknown paramIUnknown)
    throws ComException
  {
    super(paramIUnknown);
  }
  
  public IDispatchExImpl(CLSID paramCLSID, ClsCtx paramClsCtx)
    throws ComException
  {
    super(paramCLSID, paramClsCtx);
  }
  
  public IDispatchExImpl(CLSID paramCLSID, IUnknown paramIUnknown, ClsCtx paramClsCtx)
    throws ComException
  {
    super(paramCLSID, paramIUnknown, paramClsCtx);
  }
  
  public DispID getDispID(BStr paramBStr, UInt32 paramUInt32)
    throws ComException
  {
    DispID localDispID = new DispID();
    invokeStandardVirtualMethod(7, (byte)2, new Parameter[] { paramBStr, paramUInt32, new Pointer.OutOnly(localDispID) });
    
    return localDispID;
  }
  
  public void invokeEx(DispID paramDispID, LocaleID paramLocaleID, UInt16 paramUInt16, DispParams paramDispParams, Variant paramVariant, ExcepInfo paramExcepInfo, IServiceProvider paramIServiceProvider)
    throws ComException
  {
    invokeStandardVirtualMethod(8, (byte)2, new Parameter[] { paramDispID, paramLocaleID, paramUInt16, new Pointer(paramDispParams), new Pointer.OutOnly(paramVariant), new Pointer.OutOnly(paramExcepInfo), (Parameter)paramIServiceProvider });
  }
  
  public void deleteMemberByName(BStr paramBStr, UInt32 paramUInt32)
    throws ComException
  {
    invokeStandardVirtualMethod(9, (byte)2, new Parameter[] { paramBStr, paramUInt32 });
  }
  
  public void deleteMemberByDispID(DispID paramDispID)
    throws ComException
  {
    invokeStandardVirtualMethod(10, (byte)2, new Parameter[] { paramDispID });
  }
  
  public UInt32 getMemberPropeties(DispID paramDispID, UInt32 paramUInt32)
    throws ComException
  {
    UInt32 localUInt32 = new UInt32();
    invokeStandardVirtualMethod(11, (byte)2, new Parameter[] { paramDispID, paramUInt32, new Pointer.OutOnly(localUInt32) });
    
    return localUInt32;
  }
  
  public BStr getMemberName(DispID paramDispID)
    throws ComException
  {
    BStr localBStr = new BStr();
    invokeStandardVirtualMethod(12, (byte)2, new Parameter[] { paramDispID, new Pointer.OutOnly(localBStr) });
    
    return localBStr;
  }
  
  public DispID getNextrDispID(UInt32 paramUInt32, DispID paramDispID)
    throws ComException
  {
    DispID localDispID = new DispID();
    invokeStandardVirtualMethod(13, (byte)2, new Parameter[] { paramUInt32, paramDispID, new Pointer.OutOnly(localDispID) });
    
    return localDispID;
  }
  
  public IUnknown getNameSpaceParent()
    throws ComException
  {
    IUnknownImpl localIUnknownImpl = new IUnknownImpl();
    invokeStandardVirtualMethod(14, (byte)2, new Parameter[] { new Pointer.OutOnly(localIUnknownImpl) });
    
    return localIUnknownImpl;
  }
  
  public IID getIID()
  {
    return a;
  }
  
  public Object clone()
  {
    IDispatchExImpl localIDispatchExImpl = null;
    try
    {
      localIDispatchExImpl = new IDispatchExImpl(this);
    }
    catch (ComException localComException) {}
    return localIDispatchExImpl;
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.automation.impl.IDispatchExImpl
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32;

import java.io.PrintStream;
import java.text.DateFormat;
import java.text.MessageFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;

public class c
{
  public static final SimpleDateFormat g = new SimpleDateFormat("dd-MM-yyyy", Locale.ENGLISH);
  public String a;
  public String d;
  public v h;
  private long f = 0L;
  private bo c = null;
  
  public c(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    d = paramString1;
    h = new bx(d, paramString2, paramString3);
    a = paramString4;
  }
  
  public c(String paramString1, String paramString2, v paramv)
  {
    d = paramString1;
    a = paramString2;
    h = paramv;
  }
  
  public String b(String paramString)
  {
    if (c != null) {
      return c.i(paramString);
    }
    return null;
  }
  
  public synchronized void c()
  {
    try
    {
      Date localDate = new Date();
      
      long l = localDate.getTime();
      if ((f != 0L) && (l - f < 86400000L)) {
        return;
      }
      List localList = h.c();
      for (Iterator localIterator = localList.iterator(); localIterator.hasNext();) {
        try
        {
          q localq = (q)localIterator.next();
          String str = MessageFormat.format("Checking {0} license {1}:", new Object[] { d, localq.b() });
          a(str);
          bo localbo = localq.a();
          if (!localbo.c()) {
            throw a(d, "Signature is not valid.");
          }
          a(localbo, localDate);
          c = localq.a();
        }
        catch (RuntimeException localRuntimeException2)
        {
          a(localRuntimeException2);
        }
      }
      if (c == null) {
        throw a(d, "No valid license found.");
      }
      a(MessageFormat.format("{0} license valid.", new Object[] { d }));
      f = l;
    }
    catch (RuntimeException localRuntimeException1)
    {
      a(localRuntimeException1);
      throw localRuntimeException1;
    }
    catch (Error localError)
    {
      a(localError);
      throw localError;
    }
  }
  
  public void a(bo parambo, Date paramDate)
  {
    String str1 = parambo.i("Product");
    String str2 = parambo.i("Version");
    String str3 = parambo.i("Licensed to");
    String str4 = parambo.i("License type");
    Date localDate1 = a(parambo);
    String str5 = parambo.i("License info");
    String str6 = parambo.i("Product binding");
    String str7 = parambo.g("Product binding info");
    
    long l = localDate1 != null ? localDate1.getTime() : 0L;
    Date localDate2 = b(parambo);
    
    a("-- Product name: " + str1);
    a("-- Licensed version: " + str2);
    a("-- Licensed to: " + str3);
    a("-- License type: " + str4);
    if (str6 != null) {
      a("-- License bound to product: " + str6);
    }
    a("-- Generation date: " + a(localDate2));
    a("-- Expiration date: " + (localDate1 != null ? a(localDate1) : bo.c("1js3qp8y")));
    a("-- License info: " + str5);
    a("-- Current date: " + a(paramDate));
    a();
    if (!d.equals(str1)) {
      throw a(d, "Wrong product name.");
    }
    if (!str2.startsWith(a)) {
      throw a(d, "Wrong product version. Required: " + a + "x, found: " + str2 + '.');
    }
    if (str6 != null) {
      try
      {
        Class.forName(str7);
      }
      catch (ClassNotFoundException localClassNotFoundException)
      {
        throw a(d, "This license can only be used with " + str6);
      }
    }
    if ((localDate1 != null) && (paramDate.getTime() >= l)) {
      throw a(d, d());
    }
  }
  
  public void a(String paramString)
  {
    System.out.println(paramString);
  }
  
  public void a(String paramString, Throwable paramThrowable)
  {
    System.out.println(paramString);
    paramThrowable.printStackTrace();
  }
  
  public String d()
  {
    return "License has expired.";
  }
  
  public void a() {}
  
  private void a(Throwable paramThrowable)
  {
    try
    {
      a(paramThrowable.getMessage());
    }
    catch (Exception localException)
    {
      System.out.println(paramThrowable.getMessage());
    }
    for (Throwable localThrowable = paramThrowable; localThrowable != null; localThrowable = localThrowable.getCause()) {
      localThrowable.setStackTrace(new StackTraceElement[0]);
    }
  }
  
  private String a(Date paramDate)
  {
    return SimpleDateFormat.getDateInstance(2).format(paramDate);
  }
  
  public static RuntimeException a(String paramString1, String paramString2)
  {
    String str = MessageFormat.format("{0} license check failed: {1}", new Object[] { paramString1, paramString2 });
    
    return new RuntimeException(str);
  }
  
  private Date b(bo parambo)
  {
    String str = parambo.i("Generation date");
    if (str == null) {
      throw a(d, "No generation date field found in the license file");
    }
    try
    {
      return g.parse(str);
    }
    catch (ParseException localParseException)
    {
      throw a(d, "Couldn't parse license generation date: " + str);
    }
  }
  
  private Date a(bo parambo)
  {
    String str = parambo.i("Expiration date");
    if (str == null) {
      throw a(d, "No expiration date field found in the license file");
    }
    if (str.toUpperCase().equals(bo.c("1js3qp8y"))) {
      return null;
    }
    try
    {
      return g.parse(str);
    }
    catch (ParseException localParseException)
    {
      throw a(d, "Couldn't parse license expiration date: " + str);
    }
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.c
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32;

public class d
  extends Thread
{
  private final l a;
  
  public d(l paraml, String paramString)
  {
    super(paramString);a = paraml;
  }
  
  public void run()
  {
    a.b();
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.d
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32.com.impl;

import com.jniwrapper.Parameter;
import com.jniwrapper.Pointer.Const;
import com.jniwrapper.Pointer.Void;
import com.jniwrapper.UInt32;
import com.jniwrapper.win32.com.ComException;
import com.jniwrapper.win32.com.IMessageFilter;
import com.jniwrapper.win32.com.IUnknown;
import com.jniwrapper.win32.com.types.CLSID;
import com.jniwrapper.win32.com.types.ClsCtx;
import com.jniwrapper.win32.com.types.IID;
import com.jniwrapper.win32.com.types.INTERFACEINFO;

public class IMessageFilterImpl
  extends IUnknownImpl
  implements IMessageFilter
{
  public static final String INTERFACE_IDENTIFIER = "{00000016-0000-0000-C000-000000000046}";
  private static final IID a = IID.create("{00000016-0000-0000-C000-000000000046}");
  
  public IMessageFilterImpl() {}
  
  public IMessageFilterImpl(IUnknownImpl paramIUnknownImpl)
    throws ComException
  {
    super(paramIUnknownImpl);
  }
  
  public IMessageFilterImpl(IUnknown paramIUnknown)
    throws ComException
  {
    super(paramIUnknown);
  }
  
  public IMessageFilterImpl(CLSID paramCLSID, ClsCtx paramClsCtx)
    throws ComException
  {
    super(paramCLSID, paramClsCtx);
  }
  
  public IMessageFilterImpl(CLSID paramCLSID, IUnknownImpl paramIUnknownImpl, ClsCtx paramClsCtx)
    throws ComException
  {
    super(paramCLSID, paramIUnknownImpl, paramClsCtx);
  }
  
  public UInt32 handleInComingCall(UInt32 paramUInt321, Pointer.Void paramVoid, UInt32 paramUInt322, INTERFACEINFO paramINTERFACEINFO)
  {
    UInt32 localUInt32 = new UInt32();
    invokeVirtualMethod(3, (byte)2, localUInt32, new Parameter[] { paramUInt321, paramVoid, paramUInt322, paramINTERFACEINFO == null ? PTR_NULL : new Pointer.Const(paramINTERFACEINFO) });
    
    return localUInt32;
  }
  
  public UInt32 retryRejectedCall(Pointer.Void paramVoid, UInt32 paramUInt321, UInt32 paramUInt322)
  {
    UInt32 localUInt32 = new UInt32();
    invokeVirtualMethod(4, (byte)2, localUInt32, new Parameter[] { paramVoid, paramUInt321, paramUInt322 });
    
    return localUInt32;
  }
  
  public UInt32 messagePending(Pointer.Void paramVoid, UInt32 paramUInt321, UInt32 paramUInt322)
  {
    UInt32 localUInt32 = new UInt32();
    invokeVirtualMethod(5, (byte)2, localUInt32, new Parameter[] { paramVoid, paramUInt321, paramUInt322 });
    
    return localUInt32;
  }
  
  public IID getIID()
  {
    return a;
  }
  
  public Object clone()
  {
    return new IMessageFilterImpl(this);
  }
}

/* Location:
 * Qualified Name:     com.jniwrapper.win32.com.impl.IMessageFilterImpl
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.jniwrapper.win32;

import com.jniwrapper.UInt32;
import com.jniwrapper.win32.automation.OleMessageLoop;
import com.jniwrapper.win32.com.ComFunctions;
import com.jniwrapper.win32.com.DispatchComServerFactory;
import com.jniwrapper.win32.com.IClassFactory;
import com.jniwrapper.win32.com.types.CLSID;
import com.jniwrapper.win32.com.types.ClsCtx;
import com.jniwrapper.win32.com.types.RegCls;

public class e
  implements Runnable
{
  private final Class b;
  private final CLSID c;
  private final OleMessageLoop a;
  private final DispatchComServerFactory d;
  
  public e(DispatchComServerFactory paramDispatchComServerFactory, Class paramClass, CLSID paramCLSID, OleMessageLoop 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2019. Infinite Loop Ltd