Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.7 KiB

  1. /*****************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1992 **/
  4. /*****************************************************************/
  5. /*
  6. voldel.hxx
  7. This file contains the classes used by the Volume Delete Dialog
  8. viz. part of the file manager.
  9. VOLUME_DELETE_DIALOG
  10. History:
  11. NarenG 11/11/92 Modified sharemgt.hxx for AFPMGR
  12. */
  13. #ifndef _VOLDEL_HXX_
  14. #define _VOLDEL_HXX_
  15. #include "vvolbase.hxx"
  16. /*************************************************************************
  17. NAME: VOLUME_DELETE_DIALOG
  18. SYNOPSIS: This is the dialog for deleting volumes.
  19. INTERFACE: VOLUME_DELETE_DIALOG() - Constructor
  20. PARENT: VIEW_VOLUMES_DIALOG_BASE
  21. USES: PUSH_BUTTON, STOP_SHARING_GROUP
  22. CAVEATS:
  23. NOTES:
  24. HISTORY:
  25. NarenG 11/11/92 Modified for AFPMGR
  26. **************************************************************************/
  27. class VOLUME_DELETE_DIALOG: public VIEW_VOLUMES_DIALOG_BASE
  28. {
  29. private:
  30. PUSH_BUTTON _pbOK;
  31. PUSH_BUTTON _pbCancel;
  32. SLT _sltVolumeTitle;
  33. //
  34. // Represents the target server
  35. //
  36. AFP_SERVER_HANDLE _hServer;
  37. protected:
  38. virtual BOOL OnOK( VOID );
  39. virtual ULONG QueryHelpContext( VOID );
  40. //
  41. // Virtual method called when the user double clicks in the listbox
  42. //
  43. virtual BOOL OnVolumeLbDblClk( VOID );
  44. public:
  45. VOLUME_DELETE_DIALOG( HWND hwndParent,
  46. AFP_SERVER_HANDLE hServer,
  47. const TCHAR *pszServerName,
  48. const TCHAR *pszPath,
  49. BOOL fIsFile );
  50. };
  51. #endif