On Thursday 14 June 2007 08:40, kkieling wrote:
> ok, the breakdown simply happened because i did not create a correct
> owner-file. i wouldnt need it -- the login data is stored in skype
> anyway.

Yeah, all plugins use a config file, protocol plugins use an owner file as a 
config file. If you need any settings saved, that would be the place.

> i am still having trouble in understanding how the protocol plugin api
> is actually meant to be used. is there any documentation on it (apart
> from the msn plugin)? i couldnt find anything. it is a bit awkward
> that one has to declare the class one is using as a friend class in
> some of the core classes! but i guess, that will be fixed with the new
> plugin architecture? when will it be available?

The current method is _very_ similar to gui plugins. And yes, it is far from 
ideal to declare protocol plugins as friends. That will be resolved in the 
next version of the plugin API. It will be available when we get our asses in 
gear and finish the details...

> when sending a message, what kind of feedback is expected by licq? the
> console blocks after i sent a message, it is only saying "sending
> through server". i guess, it is waiting for my plugin to respond
> somehow?

Licq doesn't really expect much. You create a new CEventMsg, mark that we are 
sending it, pass it when you make a new ICQEvent, then make a new CICQSignal 
with the correct parameters. Then use CICQDaemon::PushPluginSignal to let the 
daemon know you sent a message. (Not really a static function, requires a 
CICQDaemon object).

The rest depends on the skype protocol...
-- 
________________________________________________________
Jon Keating                ICQ: 16325723
[EMAIL PROTECTED]               MSN: [EMAIL PROTECTED]
http://www.licq.org        GPG: 2290A71F
http://www.thejon.org      HOME: Minamiashigara, Japan

Reply via email to