emailservices/emailclientapi/inc/emailaddress.h
branchRCL_3
changeset 24 d189ee25cf9d
parent 0 8466d47a6819
child 25 3533d4323edc
equal deleted inserted replaced
23:dcf0eedfc1a3 24:d189ee25cf9d
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2010 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     virtual TEmailTypeId InterfaceId() const;
    35     TEmailTypeId InterfaceId() const;
    36     
    36     
    37     virtual void Release();
    37     void Release();
    38 
    38 
    39 public: // from MEmailAddress
    39 public: // from MEmailAddress
    40     virtual void SetAddressL( const TDesC& aAddress );
    40     void SetAddressL( const TDesC& aAddress );
    41     virtual TPtrC Address() const;
    41     TPtrC Address() const;
    42     
    42     
    43     virtual void SetDisplayNameL( const TDesC& aDisplayName );
    43     void SetDisplayNameL( const TDesC& aDisplayName );
    44     virtual TPtrC DisplayName() const;
    44     TPtrC DisplayName() const;
    45     
    45     
    46     virtual TRole Role() const;
    46     TRole Role() const;
    47     virtual void SetRole( const TRole aRole );
    47     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: