epoc32/include/msvschedulepackage.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/msvschedulepackage.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,83 +0,0 @@
     1.4 -/// Copyright (c) 1999-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 -/// All rights reserved.
    1.18 -/// This component and the accompanying materials are made available
    1.19 -/// 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.20 -/// which accompanies this distribution, and is available
    1.21 -/// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.22 -/// Initial Contributors:
    1.23 -/// Nokia Corporation - initial contribution.
    1.24 -/// Contributors:
    1.25 -///
    1.26 -
    1.27 -#ifndef MSV_SCHEDULE_PACKAGE_H_
    1.28 -#define MSV_SCHEDULE_PACKAGE_H_
    1.29 -
    1.30 -/////////////////////////////////////////////////////////////////////////////
    1.31 -//
    1.32 -//	TMsvSchedulePackage Declaration
    1.33 -//
    1.34 -/////////////////////////////////////////////////////////////////////////////
    1.35 -
    1.36 -const TInt KMaxParameterLength = 256;
    1.37 -
    1.38 -class TTaskInfo;
    1.39 -
    1.40 -
    1.41 -/**
    1.42 -Packaged message scheduling information. 
    1.43 -
    1.44 -@publishedAll
    1.45 -@released
    1.46 -*/
    1.47 -
    1.48 -class TMsvSchedulePackage
    1.49 -	{
    1.50 -public:
    1.51 -	IMPORT_C TMsvSchedulePackage();
    1.52 -	
    1.53 -	IMPORT_C void PackLC(TTaskInfo& aTask, HBufC*& aDes) const;
    1.54 -	IMPORT_C void UnpackL(const TTaskInfo& aTask, const TDesC& aDes);
    1.55 -
    1.56 -private:
    1.57 -
    1.58 -	HBufC* PackLC() const;
    1.59 -	void UnpackL(const TDesC& aDes);
    1.60 -
    1.61 -	void ExternalizeL(RWriteStream&) const;
    1.62 -	void InternalizeL(RReadStream&);
    1.63 -
    1.64 -	TPtrC Convert(const TDesC8& aDes) const;
    1.65 -	TPtrC8 Convert(const TDesC16& aDes) const;
    1.66 -
    1.67 -public:
    1.68 -
    1.69 -	/** Message ID. */
    1.70 -	TMsvId iId;
    1.71 -
    1.72 -	/** Command ID to be passed to CMsvSession::TransferCommandL() when it is
    1.73 -	time to send the messages. */
    1.74 -	TInt iCommandId;
    1.75 -
    1.76 -	/** Intervals at which the scheduler should check the sending operation's
    1.77 -	progress. */
    1.78 -	TTimeIntervalMicroSeconds32 iPollProgress;
    1.79 -
    1.80 -	/** Server MTM specific binary data to be passed to 
    1.81 -	CMsvSession::TransferCommandL() when it is time to send the messages. */
    1.82 -	TBuf8<KMaxParameterLength> iParameter;
    1.83 -
    1.84 -	};
    1.85 -
    1.86 -#endif