Fixed c&p error: Usage of wrong path
[TortoiseGit.git] / src / TortoiseProc / Patch.h
blob0acc1c399fcb8e534736e4fcb39cfd7fc6cda11c
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2013 - TortoiseGit
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #pragma once
22 #include "SendMail.h"
24 class CSendMailPatch : public CSendMailCombineable
26 public:
27 CSendMailPatch(CString &To, CString &CC, CString &subject, bool bAttachment, bool bCombine);
28 ~CSendMailPatch(void);
30 protected:
31 virtual int SendAsSingleMail(CTGitPath &path, CGitProgressList * instance);
32 virtual int SendAsCombinedMail(CTGitPathList &list, CGitProgressList * instance);
35 class CPatch
37 public:
38 CPatch();
39 ~CPatch(void);
41 int Parse(CString &pathfile);
42 CString m_Author;
43 CString m_Date;
44 CString m_Subject;
45 CStringA m_Body;
46 CString m_strBody;
48 private:
49 CString m_PathFile;