⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smbmusicapsyncservercontentslistplsong.h

📁 索爱相关代码。实现功能是server。很有参考价值。代码很难弄到。symbian。
💻 H
字号:
/* Copyright (C) 2006 Sony Ericsson Mobile Communications Japan, Inc. */
/*--------------------------------------------------------------------*/
// FileName:
//	SmbMusicAPSyncServerContentsListPLSong.h
//
// Description:
//	PTX810 Music傾僾儕 摨婜僒乕僶 僐儞僥儞僣僋儔僗
/*--------------------------------------------------------------------*/
//曄峏棜楌
//擔晅			|曄峏幰			|撪梕
//--------------+---------------+--------------------------------------
//2006/06/13	|SDNA 壀嶳			|怴婯嶌惉

#ifndef __SMBMUSICAPSYNCSERVERCONTENTSLISTPLSONG_H__
#define __SMBMUSICAPSYNCSERVERCONTENTSLISTPLSONG_H__


#ifndef __SMBCOMMONDEF_H__
#include <SmbCommonDef.h>
#endif

#ifndef __SMBMUSICMWLIBCLIENT_H__
#include <SmbMusicMWLibClient.h>
#endif

#ifndef __SMBMUSICAPSYNCENGINEDEF_H__
#include <SmbMusicAPSyncEngineDef.h>
#endif

#ifndef __SMBMUSICAPSYNCSERVERCONTENTSLIST_H__
#include "SmbMusicAPSyncServerContentsList.h"
#endif


DCM_NAMESPACE_BEGIN
class RLog;
DCM_NAMESPACE_END


SEMCJ_NAMESPACE_BEGIN

/**
	強帩偡傞傾僀僥儉偺嵟戝悢
*/
const TInt KMaxItemCountForPLSongList = 100;

/**
 * Music傾僾儕 摨婜僒乕僶 僐儞僥儞僣偺僾儗僀儕僗僩嬋儕僗僩僋儔僗
 *
 *
 */
class CSmbMusicAPSyncServerContentsListPLSong : public CSmbMusicAPSyncServerContentsList
	{
public:

	/**
	 僼傽僋僩儕娭悢
	 * @param [in]	aLog					RLog偺嶲徠
	 * @param [in]	aListHandle				儕僗僩僴儞僪儖
	 * @param [in]	aListItem				儔僀僽儔儕MW偐傜庢摼偟偨儕僗僩偺億僀儞僞
	 * @param [in]	aListType				儕僗僩庬暿乮摨婜僄儞僕儞掕媊乯
	 * @param [in]	aListSearchCondition	専嶕偵偍偗傞儕僗僩庬暿
	 * @param [in]	aSearchListType			専嶕偵偍偗傞忦審
	 * @return
	 */
	static CSmbMusicAPSyncServerContentsListPLSong* NewL(DCM_NAMESPACE::RLog&						aLog,
														 TInt 										aListHandle,
														 CSmbMusicMWLibListItem* 					aListItem,
														 TSmbMusicAPSyncEngineListType 				aListType,
														 TSmbMusicAPSyncEngineListSearchCondition 	aListSearchCondition,
														 TSmbMusicAPSyncEngineRequestListType 		aSearchListType);

	/**
	 僨僗僩儔僋僞
	 * @param	側偟
	 * @return	側偟
	 */
	~CSmbMusicAPSyncServerContentsListPLSong();

	/**
	 専嶕忦審偑堦抳偟偰偄傞偐傪僠僃僢僋偡傞
	 * @param [in]	aSearchListType			専嶕偵偍偗傞儕僗僩庬暿
	 * @param [in]	aListSearchCondition	専嶕偵偍偗傞忦審
	 * @return
	 */
	TBool CheckSearchInfo(TSmbMusicAPSyncEngineRequestListType		aSearchListType,
						  TSmbMusicAPSyncEngineListSearchCondition	aListSearchCondition);

	/**
	 傾僀僥儉偺搊榐傪夝彍偡傞乮儔僀僽儔儕MW偺儔僢僺儞僌娭悢乯
	 * @param [in]	aIndexArray	夝彍偡傞傾僀僥儉偺僀儞僨僢僋僗攝楍
	 * @param [out]	aStatus		旕摨婜僗僥乕僞僗
	 * @return					儔僀僽儔儕MW偐傜偺栠傝抣
	 */
	TInt RemoveItem(CArrayFixFlat<TInt>& aIndexArray, TRequestStatus& aStatus);

	/**
	 傾僀僥儉偺搊榐傪夝彍偡傞乮儔僀僽儔儕MW偺儔僢僺儞僌娭悢乯
	 * @param [out]	aStatus		旕摨婜僗僥乕僞僗
	 * @return					儔僀僽儔儕MW偐傜偺栠傝抣
	 */
	TInt RemoveItem(TRequestStatus& aStatus);

	/**
	 傾僀僥儉偺搊榐夝彍傪僉儍儞僙儖偡傞乮儔僀僽儔儕MW偺儔僢僺儞僌娭悢乯
	 * @param 	側偟
	 * @return	側偟
	 */
	void CancelRemoveItem();

	/**
	 昞帵暥帤楍傪庢摼偡傞
	 * @param [in]	aDispInfo	昞帵暥帤楍
	 * @return					側偟
	 */
	void GetDispInfo(TDes& aDispString);

private:
	/**
	 僐儞僗僩儔僋僞
	 * @param [in]	aLog					RLog偺嶲徠
	 * @param [in]	aListHandle				儕僗僩僴儞僪儖
	 * @param [in]	aListItem				儔僀僽儔儕MW偐傜庢摼偟偨儕僗僩偺億僀儞僞
	 * @param [in]	aListType				儕僗僩庬暿乮摨婜僄儞僕儞掕媊乯
	 * @param [in]	aListSearchCondition	専嶕偵偍偗傞儕僗僩庬暿
	 * @param [in]	aSearchListType			専嶕偵偍偗傞忦審
	 * @return								側偟
	 */
	CSmbMusicAPSyncServerContentsListPLSong(DCM_NAMESPACE::RLog&						aLog,
											TInt										aListHandle,
											CSmbMusicMWLibListItem* 					aListItem,
											TSmbMusicAPSyncEngineListType 				aListType,
											TSmbMusicAPSyncEngineListSearchCondition 	aListSearchCondition,
											TSmbMusicAPSyncEngineRequestListType 		aSearchListType);

	/**
	 傾僀僥儉強帩壜擻側嵟戝悢傪庢摼偡傞
	 * @param	側偟
	 * @return	嵟戝悢
	 */
	inline TInt GetMaxItemCount(){return KMaxItemCountForPLSongList;};

	};


SEMCJ_NAMESPACE_END

#endif //__SMBMUSICAPSYNCSERVERCONTENTSLISTPLSONG_H__

// end of SmbMusicAPSyncServerContentsListPLSong.h
/* Copyright (C) 2006 Sony Ericsson Mobile Communications Japan, Inc. */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -