On Wed, 2009-11-18 at 12:50 +0000, Patrick Ohly wrote:
On Tue, 2009-11-17 at 19:06 +0000, Jussi Kukkonen wrote:
> Patrick Ohly wrote:
> >> Some open questions:
> >> * Can I find out if a source is supported on local machine without a
> >> Session? This would be useful so I could show the UI even if another
> >> Session is running.
> >
> > Not at the moment, but I think it could be added.
>
> Maybe it's not that important... I'll just not show the sources until I
> have a session.
>
> The other side of the coin is that I will have to start a session when
> sync-ui starts (and not just when I need to do a Sync). I'm not sure if
> this is good or bad -- I an always Detach() if I want to.
What if there is a long-running session blocking you? Wasn't that the
reason for the read-only methods in the Server API?
Do you really need to know at startup time whether sources are
supported? Isn't it enough that there is a config where they are
enabled?
I assume you agree because you created
Bug 8091 - dbus api: source local-support status not available in Server
I've added CheckSource() and GetDatabases() to the Server API, see the
"pohly" branch.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.