Re: [PATCH] C#Bindings patch, rename classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/10/20  <arnaud.champion@xxxxxxxxxx>:
> Hi,
>
> here is a new patch. It propose to separate types of function by classes.
> For example :
>
> all virConnect[*] (virConnectOpen, virConnectNumOfDomains, etc...)Âfunctions
> are in the virConnect class.
> all virDomain[*] (virDomainCreate, virDomainDestroy, etc...) function are in
> the virDomain class.
>
> so we have these classes now :
>
> virConnect
> virDomain
> virEvent
> virInterface
> virLibrary
> virNetwork
> virNode
> virSecret
> virStoragePool
> virStorageVol
> virStream
>
> and finally
>
> libvirtError
>
> I know, the name is not correct, but I can't use virError name because
> virError is also a structure name :S don't know how to name it.
>
> This patch also introduce the DllMap configuration directive in Mono
> project, with this, the binary library names are correclty automagically
> changed at runtime (libvirt-0.dll under windows become libvirt.so.0 under
> linux...) so it guarantee the correct work under windows or linux.
>
> Sample code have been updated also to deal with new classes names
>
> Regards,
>
> Arnaud
>

I pushed this patch. You did the re-renaming suggested by Daniel in an
additional patch that I also pushed.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]