]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
vbox: Rewrite vboxDomainSave
authorTaowei <uaedante@gmail.com>
Mon, 11 Aug 2014 10:06:06 +0000 (18:06 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 15 Aug 2014 07:25:09 +0000 (09:25 +0200)
commit7e052265c9b4eaa8175e9bb19f29def093ea01fd
treee2e1586ae05957bbd8f68f064b3f76ffb9ba4550
parentc6084f19d06718de611a595631bbea964fce979f
vbox: Rewrite vboxDomainSave

All vbox objects are child objects from the nsISupports in vbox's
C++ API version. Since the CAPI is generated from the C++ API, I
kept their relationship here, by the definitations below:

typedef struct nsISupports nsISupports;
typedef nsISupports IVirtualBox;
typedef nsISupports ISession;
and so on...

So, when calling the API from nsISupports, we don't need to do
typecasting, and things work still work well.
src/vbox/vbox_common.c
src/vbox/vbox_common.h
src/vbox/vbox_tmpl.c
src/vbox/vbox_uniformed_api.h