Re: .oafconfig file question?



Oops! My question actually a very premature one. But still what I meant was
different as in old and the new version of same control?
But here is another one :-

In some .oafconfig files, first there is a <oaf_server> tag for the binary
of the factory, and a second one pointing to the first one with type="factory".
So whats the deal why can't directly have just one <oaf_server>. I think
I have not really expressed my question correctly, so have a look at the
following .oafconfig file from Jirka's Bonobo Control Tutorial Example.

Note: the 3 questions I have put as a comment in the middle of the file.


Archit Baweja

<oaf_info>		
  <oaf_server
  iid="OAFIID:bonobo_ipctrl_factory:63ea3e99-2b27-4700-9837-64a5306021da"
   type="exe" location="/usr/bin/bonobo-ipctrl">
    <oaf_attribute name="repo_ids" type="stringv">
      <item value="IDL:GNOME/GenericFactory:1.0" />
    </oaf_attribute>

    <oaf_attribute name="name" type="string"
    value="IPEntry Control Factory" />

    <oaf_attribute name="description" type="string"
    value="Factory for an IPEntry Control" />
  </oaf_server>

/*
* Why is this pointing to the above one?
* Why not just have one?
* And Why the different iid's?
*/
  <oaf_server
  iid="OAFIID:bonobo_ipctrl:228e2920-b3b0-4990-b7bf-7bda086c363b"
  type="factory"
  location="OAFIID:bonobo_ipctrl_factory:63ea3e99-2b27-4700-9837-64a5306021da">

    <oaf_attribute name="repo_ids" type="stringv">
      <item value="IDL:Bonobo/Unknown:1.0" />

      <item value="IDL:Bonobo/Control:1.0" />
    </oaf_attribute>

    <oaf_attribute name="name" type="string"
    value="Bonobo control" />

    <oaf_attribute name="description" type="string"
    value="This is a IPEntry Control." />
  </oaf_server>
</oaf_info>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]