Je kunt niet meer dan 25 onderwerpen selecteren
Onderwerpen moeten beginnen met een letter of nummer, kunnen streepjes bevatten ('-') en kunnen maximaal 35 tekens lang zijn.
34 regels
606 B
34 regels
606 B
#ifndef MailId_h
|
|
#define MailId_h
|
|
|
|
#include <tqstring.h>
|
|
|
|
/**
|
|
* Abstract base class for mail ids. Concrete mail ids store the id.
|
|
* Its sole purpose is to treat all possible mail id format in a unique
|
|
* way (by inheritence).
|
|
*/
|
|
class KornMailId
|
|
{
|
|
public:
|
|
/**
|
|
* KornMailId Destructor
|
|
*/
|
|
virtual ~KornMailId();
|
|
|
|
/**
|
|
* Return a string representation of this (for debuggin purposes only)
|
|
* @return a string representation
|
|
*/
|
|
virtual TQString toString() const = 0;
|
|
|
|
/**
|
|
* Create an exact copy of this.
|
|
* @return the cloned object
|
|
*/
|
|
virtual KornMailId * clone() const = 0;
|
|
};
|
|
|
|
|
|
#endif
|