From ca3658108f48e10d560f1bb6d73513c93e0b8656 Mon Sep 17 00:00:00 2001 From: Fenrir Date: Thu, 18 Aug 2016 23:45:46 -0700 Subject: [PATCH] Delete functions that were removed from ctrulib --- src/services/apt.rs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/services/apt.rs b/src/services/apt.rs index 28e0500..69094b2 100644 --- a/src/services/apt.rs +++ b/src/services/apt.rs @@ -66,26 +66,6 @@ impl Apt { } } - - pub fn get_status(&self) -> AppStatus { - unsafe { apt::aptGetStatus().into() } - } - - pub fn set_status(&mut self, status: AppStatus) { - unsafe { apt::aptSetStatus(status.into()) }; - } - - /// Return to the home menu. - /// - /// When `get_status` returns `AppStatus::Suspending`, you should call this, - /// otherwise the app will be left stuck in that state. - /// - /// The program will not return from this function until the system returns - /// to the application, or when the status changes to `AppStatus::Exiting`. - pub fn return_to_menu(&mut self) { - unsafe { apt::aptReturnToMenu() } - } - pub fn main_loop(&self) -> bool { unsafe { match apt::aptMainLoop() {