OLD | NEW |
| (Empty) |
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_ | |
OLD | NEW |