S60 3rd Edition API Reference: cmessageaddress.h Source File

cmessageaddress.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : CMessageAddress.h
00004 *  Part of     : SendUi
00005 *  Description : Encapsulates message real addressa and alias
00006 *  Version     : %version: % << Don't touch! Updated by Synergy at check-out.
00007 *
00008 *  Copyright © 2002-2006 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 * Template version: 4.1
00018 */
00019 
00020 #ifndef C_MESSAGEADDRESS_H
00021 #define C_MESSAGEADDRESS_H
00022 
00023 #include <e32Base.h>
00024 
00025 class CMessageAddressImpl;
00026 
00033 class CMessageAddress : public CBase
00034 {
00035 public:  // Constructors and destructor
00036 
00040     IMPORT_C static CMessageAddress* NewL();
00041     
00045     IMPORT_C static CMessageAddress* NewLC();
00046     
00050     IMPORT_C virtual ~CMessageAddress();
00051 
00052 public: // New functions
00053 
00061     IMPORT_C void SetAddressL( const TDesC& aAddress );
00062 
00069     IMPORT_C const TPtrC Address() const;
00070 
00078     IMPORT_C void SetAliasL( const TDesC& aAlias );
00079 
00086     IMPORT_C const TPtrC Alias() const;
00087 
00088     
00089 
00090 private:
00091     
00095     CMessageAddress();
00096     
00100     void ConstructL();
00101 
00102 private:  // Data
00103 
00108     CMessageAddressImpl* iMessageAddressImpl;
00109     };
00110 
00113 typedef CArrayPtrFlat<CMessageAddress> CMessageAddressArray;
00114 
00115 // C_MESSAGEADDRESS_H
00116 #endif
00117 
00118 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top