[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KUniqueApplication available
From: Waldo Bastian <bastian () suse ! de>
Date: 1999-10-22 17:36:29
[Download RAW message or body]
On Tue, 19 Oct 1999, Dirk A. Mueller wrote:
> Harri Porten <porten@tu-harburg.de> wrote:
>
> > I'm not sure whether uniqueness should be user configurable. It's
> > something a programmer wants to enforce to prevent users from damaging
> > config files when accessing them with several apps as once.
>
> but there might be cases where it SHOULD be user configurable. i.e.
> playing multiple video streams versa playing always only one video
> stream.
>
> if it forces the developer to hardcode the behaviour, it's bad.
It's a design decision whether your application can play two streams at
a time or only one at a time. If you can only play one at a time and it
is possible to run multiple instances simultaneously, you should use a
normal KApplication. In other cases you should probably use
KUniqueApplication since a single process can handle the desired
behaviour in that case. User preferences should be implemented by the
application itself. The choice between kapplication and
kuniqueapplication is about the design/implementation of your program.
That's none of the users business.
Cheers,
Waldo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic