autocommit 2022-01-04 15:30:21 CET
This commit is contained in:
parent
30376c595c
commit
cbbc41a463
40 changed files with 725 additions and 189 deletions
|
|
@ -8,12 +8,14 @@ use types::*;
|
|||
|
||||
const DONE: u32 = 0;
|
||||
|
||||
id!(WlCallbackId);
|
||||
|
||||
pub struct WlCallback {
|
||||
id: ObjectId,
|
||||
id: WlCallbackId,
|
||||
}
|
||||
|
||||
impl WlCallback {
|
||||
pub fn new(id: ObjectId) -> Self {
|
||||
pub fn new(id: WlCallbackId) -> Self {
|
||||
Self { id }
|
||||
}
|
||||
|
||||
|
|
@ -34,7 +36,7 @@ handle_request!(WlCallback);
|
|||
|
||||
impl Object for WlCallback {
|
||||
fn id(&self) -> ObjectId {
|
||||
self.id
|
||||
self.id.into()
|
||||
}
|
||||
|
||||
fn interface(&self) -> Interface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue