Menambah izin per perintah atau per fungsi
This commit is contained in:
1 parent
b7ceeccb52
commit
c72c86c984
14 files changed
+234
-35
No files matched your search
@@ -14,6 +14,14 @@ pub fn init<R: Runtime, C: DeserializeOwned>(
|
||||
pub struct Bluclas<R: Runtime>(AppHandle<R>);
|
||||
|
||||
impl<R: Runtime> Bluclas<R> {
|
||||
pub fn cek_izin(&self) -> crate::Result<bool> {
|
||||
return Ok(false);
|
||||
}
|
||||
|
||||
pub fn minta_izin(&self) -> crate::Result<()> {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
pub fn daftar_perangkat(&self) -> crate::Result<SBlueclasResponDaftarPerangkat> {
|
||||
return Ok(SBlueclasResponDaftarPerangkat { data: vec![] });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user