Re: [Re: gconf_client_construct]



Havoc Pennington <hp redhat com> wrote:
> I would expose this to C++ by having: 
>   
>  class Client 
>  { 
>   public:
>    static Client *get_default();
>    static Client *get_for_engine ();
>    
>   private:
>    Client ();
>  };

That's exactly what I've ended up doing, but without any default constructor
at all. Sorry for wasting your time.

Murray Cumming
murrayc usa net
www.murrayc.com

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1




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