📄 securefilesystem.h
字号:
//////////////////////////////////////////////////////////////////////
// FileFury
// Copyright (c) 2000 Tenebril Incorporated
// All rights reserved.
//
// This source code is governed by the Tenebril open source
// license (http://www.tenebril.com/developers/opensource/license.html)
//
// For more information on this and other open source applications,
// visit the Tenebril OpenSource page:
// http://www.tenebril.com/developers/opensource
//
//////////////////////////////////////////////////////////////////////
// SecureFileSystem.h: interface for the CSecureFileSystem class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SECUREFILESYSTEM_H__A2E275C2_5FA1_11D3_B8DD_00600838CD5F__INCLUDED_)
#define AFX_SECUREFILESYSTEM_H__A2E275C2_5FA1_11D3_B8DD_00600838CD5F__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "FileSystem.h"
#include "SecurityFilter.h"
class CSecureFileSystem : public CFileSystem
{
public:
CSecureFileSystem(CSecurityFilter *SFilter);
virtual ~CSecureFileSystem();
public:
bool IsDirectory(LPCTSTR strName);
virtual BOOL CopyFile(LPCTSTR lpExistingFileName, LPCTSTR lpNewFileName, BOOL bFailIfExists);
virtual bool ExecuteFile(HWND hWnd, LPCTSTR strName);
virtual BOOL CreateDirectory(LPCTSTR czName);
virtual BOOL DeleteFile(LPCTSTR lpFileName);
virtual DWORD GetLogicalDriveStrings(DWORD nBufferLength, LPTSTR lpBuffer);
BOOL PerformFullSearch(int nType, LPCTSTR czString, CStringArray &csaResults,
CStringArray &csaTitles);
virtual int GetFSType();
virtual BOOL FindFile(LPCTSTR pstrName, DWORD dwUnused = 0);
virtual BOOL IsHidden( );
virtual BOOL IsDirectory( );
virtual BOOL IsDots( );
virtual BOOL FindNextFile( );
virtual CString GetFilePath( );
protected:
CStringArray m_cMaskedDirectories;
int m_nMaskSearchIndex;
bool m_bMaskingSearch;
CSecurityFilter *m_pSecurityFilter;
private:
BOOL MatchesSearch(LPCTSTR czFile, int nType, LPCTSTR czString,
CString &cszFileTitle);
BOOL PerformDirectorySearch(LPCTSTR czDir, int nType, LPCTSTR czString,
CStringArray &csaResults, CStringArray &csaTitles);
};
#endif // !defined(AFX_SECUREFILESYSTEM_H__A2E275C2_5FA1_11D3_B8DD_00600838CD5F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -