Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef ADDRESSEE_EDIT_H_
00008 #define ADDRESSEE_EDIT_H_
00009
00010 #include <Wt/WTextArea>
00011
00012 #include "Contact.h"
00013
00014 using namespace Wt;
00015
00016 namespace Wt {
00017 class WTableCell;
00018 }
00019
00020 class Label;
00021
00026
00031 class AddresseeEdit : public WTextArea
00032 {
00033 public:
00039 AddresseeEdit(const WString& label, WContainerWidget *parent,
00040 WContainerWidget *labelParent);
00041
00044 void setAddressees(const std::vector<Contact>& contacts);
00045
00048 std::vector<Contact> addressees() const;
00049
00051 virtual void setHidden(bool);
00052
00053 private:
00055 Label *label_;
00056
00058 bool parse(std::vector<Contact>& contacts) const;
00059 };
00060
00064 #endif // ADDRESSEE_EDIT_H_