Vague idea and some interfaces tricks



I'm thinking about refactoring TnyFolder into two interfaces:

  o. TnyFolder which enforces no _async methods at all
  o. TnyAsyncFolder which enforces _async methods

Same for TnyFolderStore. The idea would be to let TnyCamelFolder
implement both.

Opinions, suggestions? Thoughts?


Maybe a totally different method for making things async? Like some type
that wraps any API into an auto-magical _async version?


-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]