Hi,
I change the question, because the previous one did not answer. So, we have the pattern described here:
http://en.wikipedia.org/wiki/Abstract_factory_pattern[
^]
Example for my question:
Abstract Factory - interface with the creation of defined opserations for each of the abstract object (eg IWidgetAbstractFactory)
Factories concrete - abstract factory interface implementations (eg GtkFactory, FltkFactory)
Abstract objects - an interface for the type of object (eg IButton, ICheckBox)
Concrete objects - implementation of an abstract object (eg GtkButton, GtkCheckBox, FltkButton, FltkCheckBox)
Client - uses only the abstract factory and abstract object (do not need to know the names of the specific classes).
My question:
What happened when GTK have "triangle button", and Fltk - does not.
Is it possible that factories have not the same objects ?
What should be done in that case ?