Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: src/plugin/PluginChecksum.h

Issue 11013110: Cleanup (Closed)
Left Patch Set: SetPref/GetPref type safety. Comments addressed. Created July 22, 2013, 12:42 a.m.
Right Patch Set: More beautification and addressing comments Created July 29, 2013, 12:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/Plugin.cpp ('k') | src/plugin/PluginChecksum.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 #ifndef _PLUGIN_CHECKSUM_H_
2 #define _PLUGIN_CHECKSUM_H_
3
4
5 class CPluginChecksum
6 {
7
8 public:
9
10 CPluginChecksum();
11 ~CPluginChecksum();
12
13 void Clear();
14
15 DWORD Get() const;
16 CString GetAsString() const;
17
18 void Add(const CStringA& s);
19 void Add(const CStringW& s);
20 void Add(const CStringA& s1, const CStringA& s2);
21 void Add(const CStringW& s1, const CStringW& s2);
22 void Add(BYTE b);
23
24 protected:
25
26 WORD m_r;
27 WORD m_c1;
28 WORD m_c2;
29 DWORD m_sum;
30 };
31
32
33 #endif // _PLUGIN_CHECKSUM_H_
LEFTRIGHT

Powered by Google App Engine
This is Rietveld