From: Dave W. <ka...@us...> - 2004-10-01 16:02:43
|
Tim Ringenbach wrote: > Define a number of default global statuses. These would be "Available, > Available with message, Away, Away with message, Invisible". Through > some interface, the core can ask the prpls what status they have that > maps to this state, and also whether or not it really supports it. > (Note that's AND and not OR, we can hide global statuses for which no > online account supports, but all accounts must say what state they go > into when entering that global state) For those that are looking at how global statuses map to each prpl, when the prpl creates the stock status types it assigns a primitive type as well. So most of the statuses above can be mapped using the primitives. Another way of making it slightly nicer from a code standpoint is that in status.h we could #define the common statuses such as 'offline', 'available', 'away', 'invisible'. As far as I know, there is currently not a way for a prpl to indicate whether or not that it supports setting an away message or available message. I don't know if something of that nature will be cared about or not. --dw |