Re: RE: BitPim 0.8.04 Build
"Roger Binns" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <009301c6007b$b42f1640$07000100@rogersqyvr14d3> |
> Yes I did think about this, but there is no (easy) > access to the log functionality in the Profile class > like there is in the Phone. That was intentional. The Phone instance runs in the worker thread and cannot have user interactivity. The Profile instance runs in the UI thread. However the various methods are likely to cause a lot of the same messages on each piece of data. For example imagine that we whined about names being too long and that the user had 300 out of 500 names being too long. It would get overwhelming and annoying. The idea is to accumulate all of these messages and any required user interactivity till after the functions have run. They can all be presented in one go before the writing actually happens, prioritized with the most important issues/messages first. There is currently no explicit code to support this other than having no log access. It is also why existing code calls functions wherever possible on the helper so that the helper could be upgraded to do the whining and hence do it for all Profiles. Roger ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click