// Note: Instrumentation statements are highlighted in green

#ifndef __EMAILADDRESSINFO_HPP
#define __EMAILADDRESSINFO_HPP

#include <iostream>
#include <vobject.hpp>

using namespace visibility;



///////////////////////////////////////////////////////////////////////////////
// EmailAddressInfo class
///////////////////////////////////////////////////////////////////////////////


class EmailAddressInfo : public VObject   // Add VObject to the inheritance chain
{
  DECLARE_VISIBILITY(EmailAddressInfo)      // Instrumentation statement

public: // data
  std::string emailAddress;
  bool isDefault;
  bool usePlainText;

public: // functions
  EmailAddressInfo(void);
  EmailAddressInfo(const EmailAddressInfo & that);
  virtual ~EmailAddressInfo(void);
  EmailAddressInfo & operator =(const EmailAddressInfo & that);
  bool operator==(const EmailAddressInfo & that) const;
  bool operator!=(const EmailAddressInfo & that) const;
  bool operator<(const EmailAddressInfo & that) const;
  bool operator>(const EmailAddressInfo & that) const;
  void clear(void);
  virtual void populateEditView(void);
  friend std::ostream & operator<< (std::ostream & os, EmailAddressInfo & obj);
  friend std::istream & operator>> (std::istream & is, EmailAddressInfo & obj);
};
DECLARE_VISIBILITY_CREATOR(EmailAddressInfo)      // Instrumentation statement

#endif // __EMAILADDRESSINFO_HPP
Copyright 2002-2007 Outerface Technologies, Inc.