source: cheroxy/trunk/include/CRXHttpMessage.h@ 31

Last change on this file since 31 was 31, checked in by cheese, 11 years ago

#1 change virtual function to pure virtual function in CRXHttpMessage

File size: 618 bytes
Line 
1/**
2 * CRXHttpMessage.h
3 */
4#ifndef __CRXHTTPMESSAGE_H__
5#define __CRXHTTPMESSAGE_H__
6
7#include <string>
8
9class CRXHttpMessage
10{
11protected:
12 std::string mHttpMessage;
13 std::string mHttpVersion;
14
15public:
16 CRXHttpMessage (void);
17 virtual ~CRXHttpMessage (void);
18
19protected:
20 virtual void Parse (void) = 0;
21 virtual void Reset (void) = 0;
22
23public:
24 void SetMessage (const char * aHttpMessage);
25 std::string GetMessage (void) const;
26
27 void ResetMessage (void);
28
29 virtual CRXHttpMessage & operator = (const char * aHttpMessage) = 0;
30};
31
32#endif // #ifndef __CRXHTTPMESSAGE_H__
Note: See TracBrowser for help on using the repository browser.