ckmailboxes.h
来自「DES加密解密算法,西望大家共享.参考学习」· C头文件 代码 · 共 61 行
H
61 行
// CkMailboxes.h: interface for the (IMAP) CkMailboxes class.
//
//////////////////////////////////////////////////////////////////////
#ifndef _CKMAILBOXES_H
#define _CKMAILBOXES_H
#pragma once
#include "CkString.h"
#include "CkObject.h"
// CLASS: CkMailboxes
class CkMailboxes : public CkObject
{
private:
bool m_utf8; // If true, all input "const char *" parameters are utf-8, otherwise they are ANSI strings.
public:
CkMailboxes();
virtual ~CkMailboxes();
// BEGIN PUBLIC INTERFACE
bool get_Utf8(void) const;
void put_Utf8(bool b);
bool IsMarked(long index);
bool HasInferiors(long index);
bool IsSelectable(long index);
// Return the Nth mailbox name in strName. Return false if index is out of range.
bool GetName(long index, CkString &strName);
long get_Count(void);
CkString m_resultString;
const char *getName(long index);
// END PUBLIC INTERFACE
// For internal use only.
private:
void *m_impl;
// Don't allow assignment or copying these objects.
CkMailboxes(const CkMailboxes &) { }
CkMailboxes &operator=(const CkMailboxes &) { return *this; }
CkMailboxes(void *impl) : m_impl(impl) { }
public:
void *getImpl(void) const { return m_impl; }
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?