Bochs/bochs-testing/plugin-test/test10-modvirtual
Bryce Denney 70350a7985 - experiment: build the module symbol name myself instead of letting
ltdl do it.  On win32 I'm using ltdl even the it considers my DLLs
  to NOT be a libtool archive, and it's making the symbol name
  transformation mess up.  If I do it myself, I can avoid this.
2002-10-17 06:36:45 +00:00
..
main.cc - experiment: build the module symbol name myself instead of letting 2002-10-17 06:36:45 +00:00
main.h - add test10 in which each module creates its own child class of 2002-10-16 14:45:32 +00:00
Makefile.in - add test10 in which each module creates its own child class of 2002-10-16 14:45:32 +00:00
module1.cc - experiment: build the module symbol name myself instead of letting 2002-10-17 06:36:45 +00:00
module2.cc - experiment: build the module symbol name myself instead of letting 2002-10-17 06:36:45 +00:00
modules.h - eliminate duplicate symbols between modules 2002-10-17 05:49:20 +00:00
README - add test10 in which each module creates its own child class of 2002-10-16 14:45:32 +00:00
uselib.out.expected - add test10 in which each module creates its own child class of 2002-10-16 14:45:32 +00:00

test10-modvirtual

Create an interface class in modules.h called DeviceInterface.  Each module
creates a child class of DeviceInterface, and implements its methods.  This
test loads the modules, calls the module's module_init() which instantiates a
subclass of DeviceInterface and returns a pointer to it.  Then main can call
operate on this object using the DeviceInterface class.