equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
30 static CEmailAddress* NewLC( const TRole aRole, const TDataOwner aOwner ); |
30 static CEmailAddress* NewLC( const TRole aRole, const TDataOwner aOwner ); |
31 |
31 |
32 ~CEmailAddress(); |
32 ~CEmailAddress(); |
33 |
33 |
34 public: // from MEmailInterface |
34 public: // from MEmailInterface |
35 TEmailTypeId InterfaceId() const; |
35 virtual TEmailTypeId InterfaceId() const; |
36 |
36 |
37 void Release(); |
37 virtual void Release(); |
38 |
38 |
39 public: // from MEmailAddress |
39 public: // from MEmailAddress |
40 void SetAddressL( const TDesC& aAddress ); |
40 virtual void SetAddressL( const TDesC& aAddress ); |
41 TPtrC Address() const; |
41 virtual TPtrC Address() const; |
42 |
42 |
43 void SetDisplayNameL( const TDesC& aDisplayName ); |
43 virtual void SetDisplayNameL( const TDesC& aDisplayName ); |
44 TPtrC DisplayName() const; |
44 virtual TPtrC DisplayName() const; |
45 |
45 |
46 TRole Role() const; |
46 virtual TRole Role() const; |
47 void SetRole( const TRole aRole ); |
47 virtual void SetRole( const TRole aRole ); |
48 |
48 |
49 private: |
49 private: |
50 CEmailAddress( const TRole aRole, const TDataOwner aOwner ); |
50 CEmailAddress( const TRole aRole, const TDataOwner aOwner ); |
51 |
51 |
52 private: |
52 private: |