Re: [gnomemm] Bonobomm/Gnome-vfsmm
- From: Vladislav Grinchenko <vgrinche integ com>
- To: Bryan Forbes <mxpxfifws yahoo com>
- Cc: gnomemm-list gnome org
- Subject: Re: [gnomemm] Bonobomm/Gnome-vfsmm
- Date: 18 Jun 2003 17:46:04 -0400
Bryan,
On Tue, 2003-06-17 at 17:50, Bryan Forbes wrote:
> Hello all,
> Recently, I have been working harder and harder to bring another release for
> Gnome-vfsmm to the public, but I have run into some hangups. One in particular deals
> with the MIME handling of gnomevfs. I have an MimeApplication class finished, but I need
> an MimeAction class that deals with Bonobo components and such. I know very little about
> Bonobo and even less about Bonobomm. I've read a bit on the developer.gnome.org site
> about Bonobo, but some of the declarations in the mm headers confuse the crap out of me.
> Here are some questions I have:
>
> 1.
> What are the Bonobo-[skels|stubs].* files? It says at the top of the file that they
> were generated with orbitcpp, but how?
>
Bonobo is a set of IDL interfaces. You describe an interface to your
service in terms of IDL language, then run your IDL description through
idl compiler (orbitcpp has one), and it would generate for you C++ stab
and implementation files. For each IDL, there are two sets of generated
files: one for the client side to use to call CORBA objects remotedly;
the other is for the server side to implement the interface.
The client side need not be changed. All you do is to link them into
your client application and know how to use the classes.
The server side naturally needs implementation.
> 2.
> What does it mean when you have a return type or variable type that starts with ::
> (example: ::Bonobo::Listener_var corbaref_; // line 82 in
> libbonobomm/bonobomm/servers/listener.h)
>
It means what it said: when instantiated, it is a reference to the
remote object of type ::Bonobo::Listener.
> 3.
> I know this is asking a lot, but maybe a hierarchy of how all the bonobo stuff works
> together would help me out. All of the different POA_* and _orbitcpp stuff is confusing
> the crap out of me.
>
Actually, it would not help you a bit. All you need to understand is
IDL language to know what services Bonobo provides. Then you are suppose
to look at IDL interface definition files and, armed with general
understanding of CORBA, use them in your applications.
> Maybe I'm trying too much right now, but I'd like to get this down; if not for
> gnome-vfsmm, then just for me. Any help would be very much appreciated. Thanks in
> advance!
>
CORBA has pretty steep learning curve - but, I guess, there is no way
around in GNOME world 'cause its all based on it. A good starting point
would be to read "Advanced CORBA Programming with C++" by
Henning/Vinoski. You don't need all of it, but some key chapters such as
IDL and C++ mapping. I myself just started on it.
Good luck.
> -Bryan
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> _______________________________________________
> gnomemm-list mailing list
> gnomemm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemm-list
--
_____________________________________________________________
Vladislav Grinchenko e-mail (w): vgrinche integ com
Software Engineer (h): vladg erols com
Integral Systems, Inc. http: www.integ.com
"Focus on quality, and productivity will follow." C. Jones
_____________________________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]