epoc32/include/calcontent.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/calcontent.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,77 +0,0 @@
     1.4 -// Copyright (c) 2005-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 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#ifndef __CALCONTENT_H__
    1.20 -#define __CALCONTENT_H__
    1.21 -
    1.22 -#include <e32base.h>
    1.23 -
    1.24 -class RReadStream;
    1.25 -class RWriteStream;
    1.26 -class CAgnContent;
    1.27 -
    1.28 -NONSHARABLE_CLASS(CCalContent) : public CBase
    1.29 -/**
    1.30 -This class holds in memory 8-bit data of any type, or a link to 8-bit
    1.31 -data such as a URI.  The MIME type of the data may also be held to help
    1.32 -callers determine the appropriate application to launch the content.
    1.33 -
    1.34 -Because the data is held in memory, callers should only use this class
    1.35 -to store small amounts of data or a URI to some content elsewhere.
    1.36 -
    1.37 -This class can be used to set an alarm action using
    1.38 -CCalAlarm::SetAlarmAction() (such as a link to an internet
    1.39 -radio station, or a small animated icon).
    1.40 -
    1.41 -@see CCalAlarm
    1.42 -@capability None
    1.43 -@publishedAll
    1.44 -@released
    1.45 -*/
    1.46 -	{
    1.47 -public:
    1.48 -	/** Disposition of the data which maybe used while setting an alarm. The data can be a link or inline.
    1.49 -	@publishedPartner
    1.50 -	@released
    1.51 -	*/
    1.52 -	enum TDisposition
    1.53 -		{
    1.54 -		/** URL disposition */
    1.55 -		EDispositionUrl = 0,
    1.56 -		/** Inline disposition */
    1.57 -		EDispositionInline = 1,
    1.58 -		/** Unknown disposition */
    1.59 -		EDispositionUnknown = 15
    1.60 -		};
    1.61 -
    1.62 -	IMPORT_C static CCalContent* NewL();
    1.63 -	IMPORT_C ~CCalContent();
    1.64 -	IMPORT_C void SetContentL(TDesC8* aSmallContent, TDesC8* aContentMIMEType, CCalContent::TDisposition aContentDisposition);
    1.65 -	IMPORT_C const TDesC8& Content() const;
    1.66 -	IMPORT_C const TDesC8& MimeType() const;
    1.67 -	IMPORT_C TDisposition Disposition() const;
    1.68 -	CAgnContent* Impl() const;
    1.69 -	void SetImpl(CAgnContent* aImpl);
    1.70 -
    1.71 -private:
    1.72 -	CCalContent();
    1.73 -	void ConstructL();
    1.74 -
    1.75 -private:
    1.76 -	CAgnContent* iImpl;
    1.77 -	};
    1.78 -
    1.79 -
    1.80 -#endif // __CALCONTENT_H__