Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!ukma!psuvax1!swatsun!gessel From: gessel@cs.swarthmore.edu (Daniel Mark Gessel) Newsgroups: comp.lang.c++ Subject: Interface Classes Message-ID: Date: 22 May 91 19:57:31 GMT Organization: Swarthmore College, PA, USA Lines: 18 Somebody (I forget who) suggested the use of multiple inheritance as a way to interface to another class. i.e. a Scroller would know about the ScrollerTarget class and you would multiply inherit if you wanted a scroller to interact with some other class. The concept of an abstract superclass has been well defined and accepted. What about a particular kind of abstract superclass: an interface class? Are there any references to this sort of thing? It seems like a nice way to implement many OO elements for more reusable code, but designing a useful, workable interface class would be a non-trivial task. I'd like see/hear/read about others experiences. Dan -- Daniel Mark Gessel Internet: gessel@cs.swarthmore.edu