Ignore:
Timestamp:
1/2/2009 7:19:32 AM (6 years ago)
Author:
lowjoel
Message:

Implemented a "remember this decision for the rest of the erase" option for the file lock resolver. Fixes #125.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EraserDll/FileLockResolver.h

    r55 r840  
    2727{ 
    2828public: 
    29      
    3029    CFileLockResolver(BOOL = FALSE); 
    3130    ~CFileLockResolver(void); 
    3231    void Close(); 
     32 
    3333private: 
    34      
    3534    CFileLockResolver(ERASER_HANDLE, BOOL); 
    3635    inline void AskUser(BOOL val) 
     
    3837        m_bAskUser = val; 
    3938    } 
     39 
    4040public: 
    4141    void SetHandle(ERASER_HANDLE); 
    4242    static void Resolve(LPCTSTR szFileName, CStringArray&); 
     43 
    4344private: 
    4445    BOOL m_bAskUser;     
    4546    CString m_strLockFileList; 
    4647    ERASER_HANDLE m_hHandle; 
     48 
    4749    int m_iMethod; 
     50    int m_defaultAction; 
    4851    unsigned m_iPasses; 
     52 
    4953private: 
    5054    static CString GetLockFilePath(bool path_only = false); 
Note: See TracChangeset for help on using the changeset viewer.