Hi,

I'm writing the specs file and realized that I'm using ints at some
points which are enums. Should i replace them by strings and use string
marshalling?
The methods are:
     [SIGNAL]    org.freesmartphone.MusicPlayer.State( i:state ) 
    //possible values: stopped =0, playing=1, paused=2

    //possible values: normal=0,endless=1,random=2
     [METHOD]    org.freesmartphone.MusicPlayer.Playlist.GetMode() -> ( 
i:result )
     [METHOD]    org.freesmartphone.MusicPlayer.Playlist.SetMode( i:m ) -> ()
     [SIGNAL]    org.freesmartphone.MusicPlayer.Playlist.ModeChanged( i:mode )
 
I think FSO prefers the string version.

Regards,
        Frederik

-- 
IRC: playya @ Freenode, Gimpnet
xmpp: pla...@draugr.de

Attachment: signature.asc
Description: Digital signature

_______________________________________________
smartphones-standards mailing list
smartphones-standards@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-standards

Reply via email to