1234567891011121314151617181920 |
- #pragma once
- enum INPUTFILEDTYPE{INPUT_FILED_VALUE,INPUT_FILED_FILE};
- class CInputFiled
- {
- public:
- CInputFiled(CString filed_name,CString filed_value,INPUTFILEDTYPE type = INPUT_FILED_VALUE);
- ~CInputFiled(void);
- INPUTFILEDTYPE GetType();
- CString GetFiledName();
- CString GetFiledValue();
- virtual unsigned long DataSize();
- virtual void Open();
- virtual void Close();
- virtual int Read(void* buffer,int buffer_size);
- protected:
- INPUTFILEDTYPE m_type;
- CString m_filed_value;
- CString m_filed_name;
- };
|