]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
manual: Update from wiki.gnome.org
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 18 Aug 2018 08:59:47 +0000 (10:59 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 18 Aug 2018 08:59:47 +0000 (10:59 +0200)
doc/manual/manual.xml

index 4976566f0fd4dd5196c6a3f5ad34a4f93ecc032f..b8251686af2df528fba39d927dbdb4a617f7b868 100644 (file)
 <section>
 <title>Interface properties</title>
 <para>Interfaces can contain properties in a similar way to classes.  As interfaces can not contain per instance data, interface properties cannot be created automatically.  This means that all properties must either be declared abstract (and implemented by implementing classes,) or have explicit get and set clauses as appropriate.  Vala does not allow an abstract property to be partially implemented, instead it should just define which actions (get, set or both) should be implemented. </para>
-<para>Interfaces are not constructed, and so there is not concept of a construction property in an interface.  For more on properties in classes, see: <ulink url="https://wiki.gnome.org/Projects/Vala/Manual/Export/Projects/Vala/Manual/Classes#Properties">Classes/Properties</ulink>. </para><itemizedlist><listitem override="none">
+<para>Interfaces are not constructed so there is no concept of an interface construction property. </para><itemizedlist><listitem override="none">
 <para>interface-instance-property-declaration:</para><itemizedlist><listitem override="none">
 <para>[ class-member-visibility-modifier ] [ class-method-type-modifier ] qualified-type-name property-name <emphasis role="strong">{</emphasis> accessors [ default-value ] <emphasis role="strong">}</emphasis> <emphasis role="strong">;</emphasis></para>
 <para> [ class-member-visibility-modifier ] <emphasis role="strong">abstract</emphasis> qualified-type-name property-name <emphasis role="strong">{</emphasis> automatic-accessors <emphasis role="strong">}</emphasis> <emphasis role="strong">;</emphasis></para></listitem></itemizedlist></listitem></itemizedlist>
+<para>For properties in classes see <ulink url="https://wiki.gnome.org/Projects/Vala/Manual/Export/Projects/Vala/Manual/Classes#Properties">Classes/Properties</ulink>. </para>
 </section>
 
 <section>