An email contact.
More...
#include <Contact.h>
|
| Contact (const std::wstring name_, const std::wstring email_) |
| Create a new contact. More...
|
|
std::wstring | formatted () const |
| Get the typical single string form: "name" <email> More...
|
|
An email contact.
This widget is part of the Wt composer example.
Definition at line 19 of file Contact.h.
Contact::Contact |
( |
const std::wstring |
name_, |
|
|
const std::wstring |
email_ |
|
) |
| |
|
inline |
Create a new contact.
Definition at line 31 of file Contact.h.
std::wstring Contact::formatted |
( |
| ) |
const |
|
inline |
Get the typical single string form: "name" <email>
Definition at line 38 of file Contact.h.
39 return L
'"' +
name + L
"\" <" +
email + L
">";
std::wstring Contact::email |
The contact email address.
Definition at line 27 of file Contact.h.
std::wstring Contact::name |
The contact name.
Definition at line 23 of file Contact.h.
The documentation for this struct was generated from the following file:
- /build/buildd/witty-3.3.0/examples/composer/Contact.h