KTp/Components/Chat Window/Plugin API Draft: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Making an API to create plugins for the chat window. | Making an API to create plugins for the chat window. | ||
These should be able to handle the following usecases: | These should be able to handle the following usecases: | ||
Line 6: | Line 5: | ||
*Grammar correction - a plugin that replaces "wont" with "won't" on messages to be sent | *Grammar correction - a plugin that replaces "wont" with "won't" on messages to be sent | ||
*Youtube embed - embeds a youtube video in a chat | *Youtube embed - embeds a youtube video in a chat | ||
The stakeholders (components) are as follows: | |||
*UI - telepathy-kde-text-ui and chat-widget etc. | |||
*Plugin Manager | |||
*Plugin | |||
*Core (Telepathy) | |||
<I'll upload the diagram for how they interact later> |
Revision as of 17:08, 16 September 2011
Making an API to create plugins for the chat window. These should be able to handle the following usecases:
- Translator plugin - when messages are sent or received, it will translate them before they are displayed (or actually sent)
- Image Embed plugin - when a URL of an image is received, it will display the image under the text
- Grammar correction - a plugin that replaces "wont" with "won't" on messages to be sent
- Youtube embed - embeds a youtube video in a chat
The stakeholders (components) are as follows:
- UI - telepathy-kde-text-ui and chat-widget etc.
- Plugin Manager
- Plugin
- Core (Telepathy)
<I'll upload the diagram for how they interact later>