Re: [Evolution-hackers] [Camel] How can I get a reference to the store class from another class?
- From: Shreyas Srinivasan <sshreyas novell com>
- To: Susarla Parthasarathi <sparthasarathi novell com>
- Cc: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] [Camel] How can I get a reference to the store class from another class?
- Date: Tue, 13 Sep 2005 15:58:15 +0530
Hmmm.. The Session is available throughout evolution.
Just include mail-session.h and you have acess to the
CamelSession. And i guess after that you are good to go :-)
Cheers,
Shreyas
On Tue, 2005-09-13 at 04:08 -0600, Susarla Parthasarathi wrote:
> On Tue, 2005-09-13 at 09:56 +0000, Jules Colding wrote:
> > Hi,
> >
> > There is a connect method in the transport class. I would like to use
> > the connect method that I implemented in the store class. How do I get a
> > reference to that one from a CamelService?
> If you want to use the same session, just implementing the send_to
> method should do.
> You could get the service object from CamelTransport and further get the
> pointer to the CamelStore. Getting a session from the store should be
> easy.
>
> Cheers,
> partha
>
>
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]