11
11
//! This type implements the [D-Bus standard interfaces], (`org.freedesktop.DBus.*`) for which the
12
12
//! following zbus API can be used:
13
13
//!
14
- //! * [`zbus::fdo::IntrospectableProxy`]
15
- //! * [`zbus::fdo::PropertiesProxy`]
16
14
//! * [`zbus::fdo::PeerProxy`]
15
+ //! * [`zbus::fdo::PropertiesProxy`]
16
+ //! * [`zbus::fdo::IntrospectableProxy`]
17
17
//!
18
18
//! Consequently `zbus-xmlgen` did not generate code for the above interfaces.
19
19
//!
@@ -26,20 +26,21 @@ use zbus::proxy;
26
26
assume_defaults = true
27
27
) ]
28
28
trait DesktopEntry {
29
- /// RegisterChangeHandler method
30
- fn register_change_handler ( & self , pid : u32 ) -> zbus:: Result < ( ) > ;
29
+ /// NewPersistentEntry method
30
+ fn new_persistent_entry ( & self , appid : & str , entry : & str ) -> zbus:: Result < ( ) > ;
31
+
32
+ /// NewPersistentIcon method
33
+ fn new_persistent_icon ( & self , name : & str , data : & [ u8 ] ) -> zbus:: Result < ( ) > ;
31
34
32
- /// RegisterEntry method
33
- fn register_entry ( & self , appid : & str , entry : & str ) -> zbus:: Result < ( ) > ;
35
+ /// NewProcessEntry method
36
+ fn new_process_entry ( & self , appid : & str , entry : & str ) -> zbus:: Result < ( ) > ;
34
37
35
- /// RegisterIcon method
36
- fn register_icon ( & self , name : & str , data : & [ u8 ] ) -> zbus:: Result < ( ) > ;
38
+ /// NewProcessIcon method
39
+ fn new_process_icon ( & self , name : & str , data : & [ u8 ] ) -> zbus:: Result < ( ) > ;
37
40
38
- /// EntryChanged signal
39
- #[ zbus( signal) ]
40
- fn entry_changed ( & self , appid : & str ) -> zbus:: Result < ( ) > ;
41
+ /// NewSessionEntry method
42
+ fn new_session_entry ( & self , appid : & str , entry : & str ) -> zbus:: Result < ( ) > ;
41
43
42
- /// IconChanged signal
43
- #[ zbus( signal) ]
44
- fn icon_changed ( & self , icon_name : & str ) -> zbus:: Result < ( ) > ;
44
+ /// NewSessionIcon method
45
+ fn new_session_icon ( & self , name : & str , data : & [ u8 ] ) -> zbus:: Result < ( ) > ;
45
46
}
0 commit comments