epoc32/include/app/csmsemailfields.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/app/csmsemailfields.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/app/csmsemailfields.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5  // All rights reserved.
     1.6  // This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9  // which accompanies this distribution, and is available
    1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  //
    1.13  // Initial Contributors:
    1.14  // Nokia Corporation - initial contribution.
    1.15 @@ -20,15 +20,25 @@
    1.16  #include <s32file.h>
    1.17  #include <badesca.h>
    1.18  
    1.19 +#if (defined SYMBIAN_MESSAGESTORE_HEADER_BODY_USING_SQLDB)
    1.20 +#include <smut.h>
    1.21 +#include <msvstd.h>
    1.22 +#endif
    1.23 +
    1.24  class CMsvStore;
    1.25  
    1.26 +#if (defined SYMBIAN_MESSAGESTORE_HEADER_BODY_USING_SQLDB)
    1.27 +class CHeaderFields;
    1.28 +#endif
    1.29 +
    1.30 +
    1.31  /**
    1.32  Encapsulates the address and subject fields for Email sent over SMS.
    1.33  
    1.34  @publishedAll
    1.35  @released
    1.36  */
    1.37 -class CSmsEmailFields : public CBase
    1.38 +NONSHARABLE_CLASS (CSmsEmailFields) : public CBase
    1.39  	{
    1.40  public:
    1.41  	IMPORT_C static CSmsEmailFields* NewL();
    1.42 @@ -50,6 +60,15 @@
    1.43  	
    1.44  	void RestoreL(CMsvStore& aStore);
    1.45  	void StoreL(CMsvStore& aStore) const;
    1.46 +
    1.47 +#if (defined SYMBIAN_MESSAGESTORE_HEADER_BODY_USING_SQLDB)
    1.48 +	void StoreDBL(CMsvStore& aStore);
    1.49 +	void ReStoreDBL(CMsvStore& aStore);
    1.50 +	TInt ConvertToTInt(TDesC16& aStr);
    1.51 +	void GetRecipientListL(TDesC16& aStr);
    1.52 +	TInt GetBufSize();
    1.53 +#endif
    1.54 +
    1.55  private:
    1.56  	CSmsEmailFields();
    1.57  	void ConstructL();