Neil Hodgson wrote:

... calls to props.GetInt (win95.death.delay and output.scroll)

Neil, I need your help with the design of this new implementation.

I want to add a method to the JobQueue class which loads all of the necessary properties into instance variables. This method would be called within ReadProperties().

However the JobQueue instance does not know anything about the props instance variable of SciTE itself.

I know I can add get/set methods to JobQueue for each variable I want to embed within JobQueue and call them within ReadProperties(), but I'd hope to find a means where the JobQueue.ReadProperties() method itself can do all of the work. This would allow new properties to be read & used without revising the SciTE.ReadProperties() method.

I'd like to be able to pass the props instance variable from SciTE.ReadProperties() into JobQueue.ReadProperties(), but at this point the props class definition is within SciTEBase. Could I move it out to its own file, allowing JobQueue to include the .h file and utilize the class?

April

--
Why don't ease, lease, and please sound alike?

_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to