Re: Exodus Interfaces & Menus on Exodus

"Peter Millard" <me-STcBuFROdrv2eFz/[email protected]> Fri, 10 Dec 2004 08:22:15 -0700
Newsgroups gmane.network.jabber.exodus.user
Message-ID <004a01c4decc$08225960$e201020a@pmillard2k>
Steven Millington wrote:
>> Now I'm trying to alter the Menu that appears when you click on a user so I
>> can add my own options, this is causing me some problems.
>> Is this menu controlled by using IExodusPlugin::AddContactMenu or
>> IExodusPlugin::AddMessageMenu

Use IExodusController::AddContactMenu. Contact menus are the popups when you
right click on a user in the roster. Message menu is the popup which appears
when you click on the JID inside a chat menu.

>> I'm also trying to use the IExodusController interface that is passed in
>> with the IExodusPlugin::Startup and I'm not sure how to do this.  Am I meant
>> to store it and then just place calls to this interface?  By this I mean the
>> code is already implemented and I just to have it defined in the IDL or do I
>> have to create the code behind this interface?

IExodusController is implemented in the exodus.exe core. You should cache a
pointer to this interface in your plugin and use it to make any calls you need.
I assume you know about the documentation here:
http://exodus.jabberstudio.org/plugin-docs/interfaceExodusCOM_1_1IExodusControll
er.html

pgm.