ckbounce.h

来自「DES加密解密算法,西望大家共享.参考学习」· C头文件 代码 · 共 69 行

H
69
字号
// CkBounce.h: interface for the CkBounce class.
//
//////////////////////////////////////////////////////////////////////

#ifndef _CKBOUNCE_H
#define _CKBOUNCE_H


#pragma once

class CkString;
class CkEmail;
#include "CkObject.h"
#include "CkString.h"

// CLASS: CkBounce
class CkBounce  : public CkObject
{
    private:
	void *m_impl;
	bool m_utf8;	// If true, all input "const char *" parameters are utf-8, otherwise they are ANSI strings.

	// Don't allow assignment or copying these objects.
	CkBounce(const CkBounce &) { } 
	CkBounce &operator=(const CkBounce &) { return *this; }
	CkBounce(void *impl) : m_impl(impl) { }

    public:
	void *getImpl(void) const;

	CkBounce();
	virtual ~CkBounce();

	// BEGIN PUBLIC INTERFACE
	bool get_Utf8(void) const;
	void put_Utf8(bool b);

	bool UnlockComponent(const char *unlockCode);
	bool ExamineEmail(const CkEmail &email);
	bool ExamineMime(const CkString &mimeString);
	bool ExamineEml(const char *emlFilename);

	int get_BounceType(void) const;
	void get_BounceAddress(CkString &bouncedEmailAddr);
	void get_BounceData(CkString &mailBodyText);

	// Error log retrieval and saving (these methods are common to all Chilkat VC++ classes.)
	bool SaveLastError(const char *filename);
        void LastErrorXml(CkString &str);
        void LastErrorHtml(CkString &str);
        void LastErrorText(CkString &str);

	CkString m_resultString;
        const char *lastErrorText(void);
        const char *lastErrorXml(void);
        const char *lastErrorHtml(void);
	const char *bounceAddress(void);
	const char *bounceData(void);

	// END PUBLIC INTERFACE


};




#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?