From d31466ae7a55668a6b9a3b1eda82abcbfc58e9c6 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 14 Jun 2015 18:06:41 +0200 Subject: Windows: If PIM of a volume is changed and if it is a favorite or system favorite, automatically update favorite or system favorite XML file with the new value. --- src/Mount/Favorites.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Mount/Favorites.h') diff --git a/src/Mount/Favorites.h b/src/Mount/Favorites.h index 3a0a771b..5d823ccd 100644 --- a/src/Mount/Favorites.h +++ b/src/Mount/Favorites.h @@ -53,6 +53,7 @@ namespace VeraCrypt }; extern vector FavoriteVolumes; + extern vector SystemFavoriteVolumes; extern list FavoritesOnArrivalMountRequired; extern list FavoritesMountedOnArrivalStillConnected; extern HMENU FavoriteVolumesMenu; @@ -67,7 +68,7 @@ namespace VeraCrypt void LoadFavoriteVolumes (vector &favorites, bool systemFavorites, bool noUacElevation = false); static void OnFavoriteVolumesUpdated (); BOOL OrganizeFavoriteVolumes (HWND hwndDlg, bool systemFavorites, const FavoriteVolume &newFavorite = FavoriteVolume()); - static bool SaveFavoriteVolumes (HWND hwndDlg, const vector &favorites, bool systemFavorites); + bool SaveFavoriteVolumes (HWND hwndDlg, const vector &favorites, bool systemFavorites); static void SetControls (HWND hwndDlg, const FavoriteVolume &favorite, bool systemFavoritesMode, bool enable = true); static void SetFavoriteVolume (HWND hwndDlg, FavoriteVolume &favorite, bool systemFavoritesMode); void UpdateDeviceHostedFavoriteVolumes (); -- cgit v1.2.3