Hi,
Le dim. 6 mai 2018 à 19:33, rastersoft a écrit :
> An extra tip about the problem: I tried to use
>
> uint8[,] Property;
>
> and it seems to work as long as the outmost array has zero or one
> entries; if there are two or more entries, it gives trash.
>
This should be the thing to do.
Ops... It seems my editor doesn't like a copy&paste from my editor...
[DBus (name = "org.freedesktop.UDisks2.Filesystem")]
interface Filesystem_if : GLib.Object {
public abstract uint64 Size { owned get; }
[DBus (signature = "aay")]
public abstract Variant MountPoints { owned get; }
I tried it and seems to work. Thanks!
Just in case, to allow people to see exactly how it is (the
"MountPoints" property):
[DBus(name ="org.freedesktop.UDisks2.Filesystem")]
interfaceFilesystem_if:GLib.Object{
publicabstractuint64Size{ ownedget;}
[DBus(signature="aay")]
publicabstractVaria
I've never tried that, but how about `[DBus (signature="aay")] Variant foo`?
https://wiki.gnome.org/Projects/Vala/Manual/Attributes#DBus_Attribute
Best regards,
Jiri Janousek
On Sun, 6 May 2018 at 20:33, rastersoft wrote:
> An extra tip about the problem: I tried to use
> uint8[,] Prope
An extra tip about the problem: I tried to use
uint8[,] Property;
and it seems to work as long as the outmost array has zero or one
entries; if there are two or more entries, it gives trash.
El 06/05/18 a las 17:50, rastersoft escribió:
Hi all:
I'm trying to use a DBus interface that r
Hi all:
I'm trying to use a DBus interface that returns an array of arrays of
uint8 ("aay" in dbus syntax). The problem is that I don't know how to
create the interface in Vala, because if I try to use:
uint8[][] Property;
it says "error: Stacked arrays are not supported"
Can someone gi