#include <llviewercommunication.h>
Collaboration diagram for LLViewerExtension:

| Public Member Functions | |
| LLViewerExtension (const LLString &name="<unknown>", const U32 version=0, viewer_extension_callback_t callback=NULL, void *user_data=NULL, const LLString &author="", const LLString &description="") | |
| Creates a LLViewerExtension. | |
| LLString | asString () const | 
| LLString | getName () const | 
| LLString | getAuthor () const | 
| LLString | getDescription () const | 
| U32 | getVersion () const | 
| void | notify (LLString &data, LLViewerCircuit &circuit) | 
| Notifies the extension that a message has arrived. | |
| Protected Attributes | |
| LLString | mName | 
| LLString | mAuthor | 
| LLString | mDescription | 
| U32 | mVersion | 
| viewer_extension_callback_t | mCallback | 
| void * | mUserData | 
Definition at line 72 of file llviewercommunication.h.
| LLViewerExtension::LLViewerExtension | ( | const LLString & | name = "<unknown>", | |
| const U32 | version = 0, | |||
| viewer_extension_callback_t | callback = NULL, | |||
| void * | user_data = NULL, | |||
| const LLString & | author = "", | |||
| const LLString & | description = "" | |||
| ) |  [inline] | 
Creates a LLViewerExtension.
| name | Extension name | |
| version | Extension's version | |
| callback | Callback to call when a script tries to communicate with this extension | |
| user_data | arbitrary data to pass to the callback | |
| author | Extension's author | |
| description | Extension's description | 
Definition at line 84 of file llviewercommunication.h.
| LLString LLViewerExtension::asString | ( | ) | const  [inline] | 
| LLString LLViewerExtension::getAuthor | ( | ) | const  [inline] | 
Definition at line 89 of file llviewercommunication.h.
References mName.
Referenced by LLViewerCommunication::registerExtension().
| U32 LLViewerExtension::getVersion | ( | ) | const  [inline] | 
| void LLViewerExtension::notify | ( | LLString & | data, | |
| LLViewerCircuit & | circuit | |||
| ) |  [inline] | 
Notifies the extension that a message has arrived.
| data | String the object sent to the extension | |
| circuit | Circuit between viewer and object. Used to reply to the request. | 
Definition at line 99 of file llviewercommunication.h.
References mCallback, and mUserData.
Referenced by LLViewerCommunication::parse().
| LLString LLViewerExtension::mAuthor  [protected] | 
| LLString LLViewerExtension::mDescription  [protected] | 
| LLString LLViewerExtension::mName  [protected] | 
| void* LLViewerExtension::mUserData  [protected] | 
| U32 LLViewerExtension::mVersion  [protected] | 
 1.4.7
 1.4.7