From e7b686d46ba2bc091829b8f8df99c27cf3ce68b2 Mon Sep 17 00:00:00 2001 From: Greg Date: Thu, 23 Jun 2016 15:15:11 -0700 Subject: [PATCH] Added function for permanent printer profile deletes. --- SlicerConfiguration/Settings/ProfileManager.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SlicerConfiguration/Settings/ProfileManager.cs b/SlicerConfiguration/Settings/ProfileManager.cs index 21ecd4ca0..ad3d9dd7e 100644 --- a/SlicerConfiguration/Settings/ProfileManager.cs +++ b/SlicerConfiguration/Settings/ProfileManager.cs @@ -53,6 +53,11 @@ namespace MatterHackers.MatterControl.SlicerConfiguration private static EventHandler unregisterEvents; + public void PermanentDelete(string printerToken) + { + /*Remove Printer Entity from list of profiles, delete profile on disk and save the Manager.Save()*/ + } + public static RootedObjectEventHandler ProfilesListChanged = new RootedObjectEventHandler(); static ProfileManager()