As a fellow newbie I found that looking at the examples included in
the source code distribution is quite illuminating. There is
roster_example.cpp that demonstrates what Jakob outlined.
--Dmitry
On Mar 22, 2007, at 4:42 PM, Jakob Schroeter wrote:
Hi, I am having some problems getting to work with auto
subscription I
am using
rosterlistener.h etc like some people mention to me last week, I
got
my code to compile with no error but I think is not doing nothing
at all.
I am attaching the code, please someone take a look and let me
know what
I'm doing wrong, please be patience I am a newbee.
Thanks so much
Besides #including rosterlistener.h you'll have to derive Bot from
RosterListener, implement the virtuals, and call
client->rosterManager()->registerRosterListener( this ).
Or something similar to that effect.