зеркало из
1
0
Форкнуть 0
svn path=/trunk/diacanvas-sharp/; revision=16475
This commit is contained in:
Martin Willemoes Hansen 2003-07-21 10:13:42 +00:00
Родитель 5d9252e090
Коммит 062acf26db
8 изменённых файлов: 52 добавлений и 210 удалений

2
AUTHORS Normal file
Просмотреть файл

@ -0,0 +1,2 @@
Maintainer and founder:
Martin Willemoes Hansen <mwh@sysrq.dk>

Просмотреть файл

@ -2068,7 +2068,7 @@
</parameters>
</method>
</struct>
<struct name="VariableClass" cname="DiaVariableClass">
<struct name="VariableClass" cname="DiaVariableClass" hidden="1">
<field cname="parent_class" type="GObjectClass"/>
<callback cname="changed">
<return-type type="void"/>

Просмотреть файл

@ -50,158 +50,139 @@
</Docs>
</Member>
<Member MemberName="Pos">
<MemberSignature Language="C#" Value="public virtual int Pos (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual int Pos (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Value">
<MemberSignature Language="C#" Value="public virtual Dia.CanvasItem Value (Dia.CanvasItem group, Dia.CanvasIter iter);" />
<MemberSignature Language="C#" Value="public virtual Dia.CanvasItem Value (Dia.CanvasIter iter);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Dia.CanvasItem</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="iter" Type="Dia.CanvasIter" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="iter">a <see cref="T:Dia.CanvasIter" /></param>
<returns>a <see cref="T:Dia.CanvasItem" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Length">
<MemberSignature Language="C#" Value="public virtual int Length (Dia.CanvasItem group);" />
<MemberSignature Language="C#" Value="public virtual int Length ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
</Parameters>
<Parameters />
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="RemoveDestruction">
<MemberSignature Language="C#" Value="public virtual void RemoveDestruction (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual void RemoveDestruction (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual bool Add (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual bool Add (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Next">
<MemberSignature Language="C#" Value="public virtual bool Next (Dia.CanvasItem group, Dia.CanvasIter iter);" />
<MemberSignature Language="C#" Value="public virtual bool Next (Dia.CanvasIter iter);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="iter" Type="Dia.CanvasIter" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="iter">a <see cref="T:Dia.CanvasIter" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="GetIter">
<MemberSignature Language="C#" Value="public virtual bool GetIter (Dia.CanvasItem group, Dia.CanvasIter iter);" />
<MemberSignature Language="C#" Value="public virtual bool GetIter (Dia.CanvasIter iter);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="iter" Type="Dia.CanvasIter" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="iter">a <see cref="T:Dia.CanvasIter" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="AddConstruction">
<MemberSignature Language="C#" Value="public virtual void AddConstruction (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual void AddConstruction (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public virtual bool Remove (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual bool Remove (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>

Просмотреть файл

@ -21,158 +21,139 @@
<Attributes />
<Members>
<Member MemberName="Pos">
<MemberSignature Language="C#" Value="public virtual int Pos (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual int Pos (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Value">
<MemberSignature Language="C#" Value="public virtual Dia.CanvasItem Value (Dia.CanvasItem group, Dia.CanvasIter iter);" />
<MemberSignature Language="C#" Value="public virtual Dia.CanvasItem Value (Dia.CanvasIter iter);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Dia.CanvasItem</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="iter" Type="Dia.CanvasIter" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="iter">a <see cref="T:Dia.CanvasIter" /></param>
<returns>a <see cref="T:Dia.CanvasItem" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Length">
<MemberSignature Language="C#" Value="public virtual int Length (Dia.CanvasItem group);" />
<MemberSignature Language="C#" Value="public virtual int Length ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
</Parameters>
<Parameters />
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="RemoveDestruction">
<MemberSignature Language="C#" Value="public virtual void RemoveDestruction (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual void RemoveDestruction (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual bool Add (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual bool Add (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Next">
<MemberSignature Language="C#" Value="public virtual bool Next (Dia.CanvasItem group, Dia.CanvasIter iter);" />
<MemberSignature Language="C#" Value="public virtual bool Next (Dia.CanvasIter iter);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="iter" Type="Dia.CanvasIter" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="iter">a <see cref="T:Dia.CanvasIter" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="GetIter">
<MemberSignature Language="C#" Value="public virtual bool GetIter (Dia.CanvasItem group, Dia.CanvasIter iter);" />
<MemberSignature Language="C#" Value="public virtual bool GetIter (Dia.CanvasIter iter);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="iter" Type="Dia.CanvasIter" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="iter">a <see cref="T:Dia.CanvasIter" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="AddConstruction">
<MemberSignature Language="C#" Value="public virtual void AddConstruction (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual void AddConstruction (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public virtual bool Remove (Dia.CanvasItem group, Dia.CanvasItem item);" />
<MemberSignature Language="C#" Value="public virtual bool Remove (Dia.CanvasItem item);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="Dia.CanvasItem" />
<Parameter Name="item" Type="Dia.CanvasItem" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="group">a <see cref="T:Dia.CanvasItem" /></param>
<param name="item">a <see cref="T:Dia.CanvasItem" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>

Просмотреть файл

@ -25,6 +25,24 @@
</Interfaces>
<Attributes />
<Members>
<Member MemberName="ItemCreate">
<MemberSignature Language="C#" Value="public static Dia.CanvasItem ItemCreate (uint object_type, Gdk.Pixbuf pixbuf);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Dia.CanvasItem</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="object_type" Type="System.UInt32" />
<Parameter Name="pixbuf" Type="Gdk.Pixbuf" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="object_type">a <see cref="T:System.UInt32" /></param>
<param name="pixbuf">a <see cref="T:Gdk.Pixbuf" /></param>
<returns>a <see cref="T:Dia.CanvasItem" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="ItemCreate">
<MemberSignature Language="C#" Value="public static Dia.CanvasItem ItemCreate (uint object_type);" />
<MemberType>Method</MemberType>

Просмотреть файл

@ -1,50 +0,0 @@
<Type Name="VariableClass" FullName="Dia.VariableClass">
<TypeSignature Language="C#" Value="public sealed struct VariableClass;" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>dia-sharp</AssemblyName>
<AssemblyPublicKey></AssemblyPublicKey>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes />
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="Zero">
<MemberSignature Language="C#" Value="public static Dia.VariableClass Zero;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>Dia.VariableClass</ReturnType>
</ReturnValue>
<Parameters></Parameters>
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="New">
<MemberSignature Language="C#" Value="public static Dia.VariableClass New (IntPtr raw);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Dia.VariableClass</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="raw">a <see cref="T:System.IntPtr" /></param>
<returns>a <see cref="T:Dia.VariableClass" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
</Members>
</Type>

101
problems
Просмотреть файл

@ -1,104 +1,3 @@
Problem with generating C# code for interface CanvasGroupable
Found the source of the problem .. shared="true" should be removed .. somehow in a metatag I guess.
Also check if renaming of Add and Remove signals is nessesary
Here is the XML generated:
<interface name="CanvasGroupable" cname="DiaCanvasGroupable">
<signal name="Add" cname="add" when="LAST">
<return-type type="gboolean"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasItem*" name="item"/>
</parameters>
</signal>
<signal name="Remove" cname="remove" when="LAST">
<return-type type="gboolean"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasItem*" name="item"/>
</parameters>
</signal>
<method name="Add" cname="dia_canvas_groupable_add" shared="true">
<return-type type="gboolean"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasItem*" name="item"/>
</parameters>
</method>
<method name="AddConstruction" cname="dia_canvas_groupable_add_construction" shared="true">
<return-type type="void"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasItem*" name="item"/>
</parameters>
</method>
<method name="GetIter" cname="dia_canvas_groupable_get_iter" shared="true">
<return-type type="gboolean"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasIter*" name="iter"/>
</parameters>
</method>
<method name="GetType" cname="dia_canvas_groupable_get_type" shared="true">
<return-type type="GType"/>
</method>
<method name="Length" cname="dia_canvas_groupable_length" shared="true">
<return-type type="gint"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
</parameters>
</method>
<method name="Next" cname="dia_canvas_groupable_next" shared="true">
<return-type type="gboolean"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasIter*" name="iter"/>
</parameters>
</method>
<method name="Pos" cname="dia_canvas_groupable_pos" shared="true">
<return-type type="gint"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasItem*" name="item"/>
</parameters>
</method>
<method name="Remove" cname="dia_canvas_groupable_remove" shared="true">
<return-type type="gboolean"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasItem*" name="item"/>
</parameters>
</method>
<method name="RemoveDestruction" cname="dia_canvas_groupable_remove_destruction" shared="true">
<return-type type="void"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasItem*" name="item"/>
</parameters>
</method>
<method name="Value" cname="dia_canvas_groupable_value" shared="true">
<return-type type="DiaCanvasItem*"/>
<parameters>
<parameter type="DiaCanvasItem*" name="group"/>
<parameter type="DiaCanvasIter*" name="iter"/>
</parameters>
</method>
</interface>
This is the C# code generated
#region Autogenerated code
public interface CanvasGroupable : GLib.IWrapper {
event DiaSharp.RemoveHandler Remove;
event DiaSharp.AddHandler Add;
}
#endregion
Umh all the methods are missing :(
===================================
Field has unknown Type GObjectClass
Seems to be a problem with DiaVariable

Просмотреть файл

@ -1,6 +1,17 @@
<?xml version="1.0"?>
<metadata>
<!-- hides -->
<rule>
<class name="DiaVariableClass"/>
<data>
<attribute target="class">
<name>hidden</name>
<value>1</value>
</attribute>
</data>
</rule>
<!-- renames -->
<rule>
<class name="DiaCanvasGroupable">