Re: Getting the iid of a component for activation?



Hi Gergo,

On Sat, 2 Dec 2000, ERDI Gergo wrote:
> On Sat, 2 Dec 2000, Michael Meeks wrote:
> >         OAFIID:Com_FooBar_OurNamespace_Minesweeper
>
> And just how will this seamlessly replace the GNOME Minesweeper
> implementation which everyone uses with a query for
> OAFIID:GNOME_Games_Minesweeper?

        People will store the component they wish to activate not in the  
source, but in a config file. Capable people can change the component
there. What you ask is not really reasonable, neither approach can deliver
what you want. Since there are no new interfaces provided the two
approaches look like this:
  
        * Mine *
  
                Activate by a sensible name stored in a .config file
  
        * Other *
  
                Add a new magic tag to the oafinfo file, hope no one else
        uses the same tag, do a query by this and activate the first one  
        you see.
  
        If you start adding multiple components with the same name you are
stuffed anyway, regardless of UUID.

        So; the best way to seamlessly upgrade your minesweeper is to
fix the original minesweeper program, or persuade other people to use
yours, or to clobber their config strings or similar.
  
        Regards,
  
                Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





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