diff options
| author | Fenrir <[email protected]> | 2016-08-18 23:45:46 -0700 |
|---|---|---|
| committer | Fenrir <[email protected]> | 2016-08-18 23:45:46 -0700 |
| commit | ca3658108f48e10d560f1bb6d73513c93e0b8656 (patch) | |
| tree | 0304e12346b5811a3223f59dc02ffd35b2d8f47d /src | |
| parent | minor cleanup (diff) | |
| download | ctru-rs-ca3658108f48e10d560f1bb6d73513c93e0b8656.tar.xz ctru-rs-ca3658108f48e10d560f1bb6d73513c93e0b8656.zip | |
Delete functions that were removed from ctrulib
Diffstat (limited to 'src')
| -rw-r--r-- | src/services/apt.rs | 20 |
1 files changed, 0 insertions, 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() { |