OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
RemovableDriveManagerMM.mm File Reference
import "RemovableDriveManager.hpp"
import "RemovableDriveManagerMM.h"
import "GUI_App.hpp"
import <AppKit/AppKit.h>
import <DiskArbitration/DiskArbitration.h>
Include dependency graph for RemovableDriveManagerMM.mm:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::GUI
namespace  Slic3r::GUI::search_for_drives_internal

Functions

static void eject_callback (DADiskRef disk, DADissenterRef dissenter, void *context)
static void unmount_callback (DADiskRef disk, DADissenterRef dissenter, void *context)
void Slic3r::GUI::search_for_drives_internal::inspect_file (const std::string &path, const std::string &parent_path, std::vector< DriveData > &out)

Function Documentation

◆ eject_callback()

void eject_callback ( DADiskRef disk,
DADissenterRef dissenter,
void * context )
static
8{
9 NSLog(@"eject successfull");
10}

Referenced by unmount_callback().

Here is the caller graph for this function:

◆ unmount_callback()

void unmount_callback ( DADiskRef disk,
DADissenterRef dissenter,
void * context )
static
13{
14 //if (dissenter) {
15 //?
16 //} else {
17 DADiskEject(disk, kDADiskEjectOptionDefault, eject_callback, context);
18 //}
19}
static void eject_callback(DADiskRef disk, DADissenterRef dissenter, void *context)
Definition RemovableDriveManagerMM.mm:7

References eject_callback().

Referenced by RemovableDriveManagerMM::eject_drive:.

Here is the call graph for this function:
Here is the caller graph for this function: