Using boo DBUS

View: New views
2 Messages — Rating Filter:   Alert me  

Using boo DBUS

by Seif Lotfy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


We are trying to write a boo library for zeitgeist (not c#)
we are having difficulties to event find a documentation for dbus
usage in boo
here is our code
coudl u please help us out

#
------------------------------------------------------------------------------
# This code was automatically generated by Boo.Lang.CodeDom v.
0.8.2.2960.
#
#      Changes to this file may cause incorrect behavior and will be
lost if
#      the code is regenerated.
#
------------------------------------------------------------------------------

namespace libzeitgeistboo
import System
import NDesk.DBus
import org.freedesktop.DBus

class MyClass():

        public def constructor():
                BusName = "org.gnome.zeitgeist"
                PathName = "/org/gnome/zeitgeist"
                bus = NDesk.DBus.Bus.get_Session()
                #remote_object = bus.GetObject("org.gnome.zeitgeist", true)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Boo Programming Language" group.
To post to this group, send email to boolang@...
To unsubscribe from this group, send email to boolang+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/boolang?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Using boo DBUS

by Cedric Vivier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey!

It's hard to help you without more information about your problem (error message?)
Also you might want to try with a newer version of Boo like 0.9.2 (instead of 0.8.2)

Cheers,

On Mon, Sep 28, 2009 at 4:17 AM, seiflotfy@... <seiflotfy@...> wrote:

We are trying to write a boo library for zeitgeist (not c#)
we are having difficulties to event find a documentation for dbus
usage in boo
here is our code
coudl u please help us out

#
------------------------------------------------------------------------------
# This code was automatically generated by Boo.Lang.CodeDom v.
0.8.2.2960.
#
#      Changes to this file may cause incorrect behavior and will be
lost if
#      the code is regenerated.
#
------------------------------------------------------------------------------

namespace libzeitgeistboo
import System
import NDesk.DBus
import org.freedesktop.DBus

class MyClass():

       public def constructor():
               BusName = "org.gnome.zeitgeist"
               PathName = "/org/gnome/zeitgeist"
               bus = NDesk.DBus.Bus.get_Session()
               #remote_object = bus.GetObject("org.gnome.zeitgeist", true)




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Boo Programming Language" group.
To post to this group, send email to boolang@...
To unsubscribe from this group, send email to boolang+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/boolang?hl=en
-~----------~----~----~----~------~----~------~--~---