File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ pub enum Error {
6363) ]
6464pub trait Storage1 {
6565 #[ zbus( signal) ]
66- fn system_changed ( & self ) -> zbus:: Result < ( ) > ;
66+ fn system_changed ( & self , system : & str ) -> zbus:: Result < ( ) > ;
6767
6868 #[ zbus( signal) ]
69- fn proposal_changed ( & self ) -> zbus:: Result < ( ) > ;
69+ fn proposal_changed ( & self , proposal : & str ) -> zbus:: Result < ( ) > ;
7070
7171 #[ zbus( signal) ]
7272 fn progress_changed ( & self , progress : & str ) -> zbus:: Result < ( ) > ;
@@ -154,13 +154,15 @@ impl Monitor {
154154 Ok ( ( ) )
155155 }
156156
157+ // TODO: add system info to the event.
157158 fn handle_system_changed ( & self , _signal : SystemChanged ) -> Result < ( ) , Error > {
158159 self . events . send ( Event :: SystemChanged {
159160 scope : Scope :: Storage ,
160161 } ) ?;
161162 Ok ( ( ) )
162163 }
163164
165+ // TODO: add proposal to the event.
164166 async fn handle_proposal_changed ( & self , _signal : ProposalChanged ) -> Result < ( ) , Error > {
165167 self . events . send ( Event :: ProposalChanged {
166168 scope : Scope :: Storage ,
You can’t perform that action at this time.
0 commit comments