📄 iprojectzip.h
字号:
// IProjectZip.h: interface the IProjectZip class.
//
/////////////////////////////////////////////////////////////////////////////////
#if !defined(I_PROJECTZIP_H__44685C9C_5C8F_47A0_A32D_F7BDC81D1D64__INCLUDED_)
#define I_PROJECTZIP_H__44685C9C_5C8F_47A0_A32D_F7BDC81D1D64__INCLUDED_
class IProjectZip
{
public:
virtual void Zip(CString& sDestPath) = 0; // if not provided then sDestPath is filled in
virtual void ShowOptions(HICON hIcon, CString& sDestPath) = 0; // if not provided then sDestPath is filled in
// 1 == success, 0 == failed, -1 == cancelled
// if szProjectFilePath is not empty it is assumed to point to a valid zip file
// if szOutputPath is not empty it is assumed to point to a valid ouput folder
virtual int Open(LPTSTR szFilePath, LPTSTR szOutputPath = NULL, BOOL bErrorMsgs = TRUE) = 0; // buffer must be MAX_PATH in length
virtual void Release() = 0;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -