You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module.h defines the "creator" function: typedef Element * (* pInfoFunc) (QString&, char * &, bool) which is implemented by every component. It allows obtaining the name of the component, the icon bitmap filename, and (if the bool = true), returns an instantiated Element*.
Idea is to make the name & icon filename member of the element class (these are attributes of an element!) and define the "creator" function as Element * (* pInfoFunc) (bool).
Requires changes in the element class, all component classes, and all code using the "creator" function (-> has a rather high impact).
Replace qucs-core/src/hash.{h,cpp} functionality with stc::hash or equivalent