VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Favorites.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-14 18:06:41 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-19 18:31:59 +0200
commitd31466ae7a55668a6b9a3b1eda82abcbfc58e9c6 (patch)
tree0a1197ee42f2ffb49faa2c29c5aea5b0d42b791e /src/Mount/Favorites.h
parent7d55b028f277fb5598da40e7ae8167ba0a4218a7 (diff)
downloadVeraCrypt-d31466ae7a55668a6b9a3b1eda82abcbfc58e9c6.tar.gz
VeraCrypt-d31466ae7a55668a6b9a3b1eda82abcbfc58e9c6.zip
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.
Diffstat (limited to 'src/Mount/Favorites.h')
-rw-r--r--src/Mount/Favorites.h3
1 files changed, 2 insertions, 1 deletions
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 <FavoriteVolume> FavoriteVolumes;
+ extern vector <FavoriteVolume> SystemFavoriteVolumes;
extern list <FavoriteVolume> FavoritesOnArrivalMountRequired;
extern list <FavoriteVolume> FavoritesMountedOnArrivalStillConnected;
extern HMENU FavoriteVolumesMenu;
@@ -67,7 +68,7 @@ namespace VeraCrypt
void LoadFavoriteVolumes (vector <FavoriteVolume> &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 <FavoriteVolume> &favorites, bool systemFavorites);
+ bool SaveFavoriteVolumes (HWND hwndDlg, const vector <FavoriteVolume> &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 ();