diff options
author | Cory Winter <cory@zeroc.com> | 2005-02-10 17:54:35 +0000 |
---|---|---|
committer | Cory Winter <cory@zeroc.com> | 2005-02-10 17:54:35 +0000 |
commit | 7858cff9ea3b77b97a6d447876b76ae9fa2798b0 (patch) | |
tree | 39a152d8b6eaa64554e5b0ea1059e1da61c91582 /cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp | |
parent | Added IcePatch2; Removed IcePatch directory (diff) | |
download | ice-7858cff9ea3b77b97a6d447876b76ae9fa2798b0.tar.bz2 ice-7858cff9ea3b77b97a6d447876b76ae9fa2798b0.tar.xz ice-7858cff9ea3b77b97a6d447876b76ae9fa2798b0.zip |
set IcePatch2.Remove property to 0 to avoid accidental file deletion
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp')
-rwxr-xr-x | cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp b/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp index 4d29268fa7f..ebeb451f904 100755 --- a/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp +++ b/cpp/demo/IcePatch2/MFC/PatchClientDlg.cpp @@ -358,6 +358,12 @@ CPatchDlg::OnStartPatch() Ice::PropertiesPtr properties = _communicator->getProperties(); // + // Since this is a demo, we want to prevent files from + // accidental deletion. + // + properties->setProperty("IcePatch2.Remove", "0"); + + // // Set the patch directory. // CString path; |