]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qom: add the base Object class (v2)
authorAnthony Liguori <aliguori@us.ibm.com>
Sat, 3 Dec 2011 23:10:08 +0000 (17:10 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 27 Jan 2012 16:28:30 +0000 (10:28 -0600)
commit2f28d2ff9dce3c404b36e90e64541a4d48daf0ca
treebbb62df5cb7583f22ebe05f962fc2d5bfaca1e08
parent6fc4925bf612e00c149d23ef1761dedc8aae1a46
qom: add the base Object class (v2)

This class provides the main building block for QEMU Object Model and is
extensively documented in the header file.  It is largely inspired by GObject.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
v1 -> v2
 - remove printf() in type registration
 - fix typo in comment (Paolo)
 - make Interface private
 - move object into a new directory and move header into include/qemu/
 - don't make object.h depend on qemu-common.h
 - remove Type and replace it with TypeImpl * (Paolo)
 - use hash table to store types (Paolo)
 - aggressively cache parent type (Paolo)
 - make a type_register and use it with interfaces (Paolo)
 - fix interface cast comment (Paolo)
 - add a few more functions required in later series
Makefile
Makefile.hw
Makefile.objs
Makefile.target
configure
include/qemu/object.h [new file with mode: 0644]
qom/Makefile [new file with mode: 0644]
qom/object.c [new file with mode: 0644]