Re: [Mixxx-devel] lazy getControl / ControlObject factory method?

2013-09-07 Thread Daniel Schürmann
Hi Owen, I like the Idea. This will improve the flexibility of COs much. But IMHO we should keep the separation in CO = Master and COT = Slave. I have already done a first step in this direction with CO hash join and memory leak fix https://github.com/mixxxdj/mixxx/pull/41 Can one (or you)

[Mixxx-devel] lazy getControl / ControlObject factory method?

2013-09-06 Thread Owen Williams
Would it be possible to make getControl lazy? ie if the control doesn't exist, create it instead of returning NULL. ie ie, a factory. This would also mean that all controls would be centrally managed and we wouldn't need to worry about ownership or who is responsible for deleting them. We