Ignore:
Timestamp:
12/05/08 12:58:12 (5 years ago)
Author:
lowjoel
Message:

-Replaced the CEraserLPVERBS constants with an Actions enumeration
-Only display relevant actions when a recycle bin context menu is requested (unused space is irrelevant here)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/ShellExt/CtxMenu.h

    r715 r716  
    5757        }; 
    5858 
    59         enum CEraserLPVERBS 
     59        enum Actions 
    6060        { 
    61             CERASER_ERASE               = 1 << 0, 
    62             CERASER_ERASE_ON_RESTART    = 1 << 1, 
    63             CERASER_ERASE_UNUSED_SPACE  = 1 << 2, 
    64             CERASER_SEPERATOR_1, 
    65             CERASER_SECURE_MOVE         = 1 << 3, 
     61            ACTION_ERASE                = 1 << 0, 
     62            ACTION_ERASE_ON_RESTART     = 1 << 1, 
     63            ACTION_ERASE_UNUSED_SPACE   = 1 << 2, 
     64            ACTION_SEPERATOR_1, 
     65            ACTION_SECURE_MOVE          = 1 << 3, 
    6666        }; 
    6767 
     
    8181        bool OnDrawItem(HDC hdc, RECT rect, UINT action, UINT state); 
    8282 
    83         CEraserLPVERBS GetApplicableActions(); 
     83        Actions GetApplicableActions(); 
    8484 
    8585        static std::wstring GetHKeyPath(HKEY handle); 
     
    9595        string_list m_szSelectedFiles; 
    9696        string_type m_szDestinationDirectory; 
    97         std::vector<CEraserLPVERBS> VerbMenuIndices; 
     97        std::vector<Actions> VerbMenuIndices; 
    9898 
    9999        static const wchar_t* m_szMenuTitle; 
Note: See TracChangeset for help on using the changeset viewer.