[Kde-games-devel] Re: KDE Game Invitations

Neil Stevens kde-games-devel@mail.kde.org
Fri, 22 Nov 2002 08:53:42 -0800


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday November 22, 2002 08:06, Rob Kaper wrote:
> One of the planned features for Atlantik in 3.2 will be an easy way to
> invite people to play a game over e-mail/IM from within the application.
> There are more networked KDE games that might benefit from such an
> approach.

Martijn Klingens and I have worked out a design for this sort of thing.  
However, other responsibilities and feature freezes have kept it just 
words for now.

Step 1:  Define a service-type for every messaging system.  Applications 
should specify in their desktop files which they handle.

Step 2:  Extend KABC (and its UI KAddressBook) to handle addresses of any 
type, beyond just email.  Store a service-type for each address, to 
specify what messaging system it applies to.

Step 3:  Define a standard (probably DCOP) interface for creating new 
messages to send to a given address with an application.

Step 4:  Write a library that will take an address and a service-type, find 
(and launch if necessary) the user's preferred app for that service-type, 
open a message window, and dump the given text into it.

Further discussion on this design would probably be better suited to a list 
other than kde-games-devel. :-)

- -- 
Neil Stevens - neil@qualityassistant.com
Delenda est Carthago
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE93mEWf7mnligQOmERAkVYAJ0QGmh2G0en/A5pCaYlJ+w+L/pSWwCeNoC8
WMr8b59MciCislm9UxBZ+8g=
=IFXd
-----END PGP SIGNATURE-----