📄 smbmusicapsyncservercontentslistplsong.cpp
字号:
/* Copyright (C) 2006 Sony Ericsson Mobile Communications Japan, Inc. */
/*--------------------------------------------------------------------*/
// FileName:
// SmbMusicAPSyncServerContentsListPLSong.cpp
//
// Description:
// PTX810 Music傾僾儕 摨婜僒乕僶 僐儞僥儞僣僋儔僗
/*--------------------------------------------------------------------*/
//曄峏棜楌
//擔晅 |曄峏幰 |撪梕
//--------------+---------------+--------------------------------------
//2006/06/13 |SDNA 壀嶳 |怴婯嶌惉
#ifndef __SMBMUSICAPSYNCSERVERCONTENTSLISTPLSONG_H__
#include "SmbMusicAPSyncServerContentsListPLSong.h"
#endif
#ifndef __SMBMUSICAPSYNCSERVERUTIL_H__
#include "SmbMusicAPSyncServerUtil.h"
#endif
USING_NAMESPACE_SEMCJ
/**
僼傽僋僩儕娭悢
* @param [in] aLog RLog偺嶲徠
* @param [in] aListHandle 儕僗僩僴儞僪儖
* @param [in] aListItem 儔僀僽儔儕MW偐傜庢摼偟偨儕僗僩偺億僀儞僞
* @param [in] aListType 儕僗僩庬暿乮摨婜僄儞僕儞掕媊乯
* @param [in] aListSearchCondition 専嶕偵偍偗傞儕僗僩庬暿
* @param [in] aSearchListType 専嶕偵偍偗傞忦審
* @return
*/
CSmbMusicAPSyncServerContentsListPLSong* CSmbMusicAPSyncServerContentsListPLSong::NewL( DCM_NAMESPACE::RLog& aLog,
TInt aListHandle,
CSmbMusicMWLibListItem* aListItem,
TSmbMusicAPSyncEngineListType aListType,
TSmbMusicAPSyncEngineListSearchCondition aListSearchCondition,
TSmbMusicAPSyncEngineRequestListType aSearchListType)
{
CSmbMusicAPSyncServerContentsListPLSong* list = new(ELeave) CSmbMusicAPSyncServerContentsListPLSong(aLog,
aListHandle,
aListItem,
aListType,
aListSearchCondition,
aSearchListType);
return list;
}
/**
僨僗僩儔僋僞
* @param 側偟
* @return 側偟
*/
CSmbMusicAPSyncServerContentsListPLSong::~CSmbMusicAPSyncServerContentsListPLSong()
{
}
/**
専嶕忦審偑堦抳偟偰偄傞偐傪僠僃僢僋偡傞
* @param [in] aSearchListType 専嶕偵偍偗傞儕僗僩庬暿
* @param [in] aListSearchCondition 専嶕偵偍偗傞忦審
* @return
*/
TBool CSmbMusicAPSyncServerContentsListPLSong::CheckSearchInfo( TSmbMusicAPSyncEngineRequestListType aSearchListType,
TSmbMusicAPSyncEngineListSearchCondition aListSearchCondition)
{
if(iSearchListType == aSearchListType && iListSearchCondition == aListSearchCondition)
{
return ETrue;
}
else
{
return EFalse;
}
}
/**
傾僀僥儉偺搊榐傪夝彍偡傞乮儔僀僽儔儕MW偺儔僢僺儞僌娭悢乯
* @param [in] aIndexArray 夝彍偡傞傾僀僥儉偺僀儞僨僢僋僗攝楍
* @param [out] aStatus 旕摨婜僗僥乕僞僗
* @return 儔僀僽儔儕MW偐傜偺栠傝抣
*/
TInt CSmbMusicAPSyncServerContentsListPLSong::RemoveItem(CArrayFixFlat<TInt>& aIndexArray, TRequestStatus& aStatus)
{
TInt result = iListItem->RemoveItem(aIndexArray, aStatus);
return result;
}
/**
傾僀僥儉偺搊榐傪夝彍偡傞乮儔僀僽儔儕MW偺儔僢僺儞僌娭悢乯
* @param [out] aStatus 旕摨婜僗僥乕僞僗
* @return 儔僀僽儔儕MW偐傜偺栠傝抣
*/
TInt CSmbMusicAPSyncServerContentsListPLSong::RemoveItem(TRequestStatus& aStatus)
{
TInt result = iListItem->RemoveItem(aStatus);
return result;
}
/**
傾僀僥儉偺搊榐夝彍傪僉儍儞僙儖偡傞乮儔僀僽儔儕MW偺儔僢僺儞僌娭悢乯
* @param 側偟
* @return 側偟
*/
void CSmbMusicAPSyncServerContentsListPLSong::CancelRemoveItem()
{
iListItem->CancelRemoveItem();
}
/**
昞帵暥帤楍傪庢摼偡傞
* @param [in] aDispInfo 昞帵暥帤楍
* @return 側偟
*/
void CSmbMusicAPSyncServerContentsListPLSong::GetDispInfo(TDes& aDispString)
{
const TSmbMusicMWLibCommonInfo* commonInfo = iListItem->CommonInformation();
if(commonInfo)
{
aDispString = commonInfo->iDispString;
}
else
{
aDispString = KNullDesC;
}
}
/**
僐儞僗僩儔僋僞
* @param [in] aLog RLog偺嶲徠
* @param [in] aListHandle 儕僗僩僴儞僪儖
* @param [in] aListItem 儔僀僽儔儕MW偐傜庢摼偟偨儕僗僩偺億僀儞僞
* @param [in] aListType 儕僗僩庬暿乮摨婜僄儞僕儞掕媊乯
* @param [in] aSearchListType 専嶕偵偍偗傞忦審
* @param [in] aListSearchCondition 専嶕偵偍偗傞儕僗僩庬暿
* @param [in] aSearchListType 専嶕偵偍偗傞忦審
* @return
*/
CSmbMusicAPSyncServerContentsListPLSong::CSmbMusicAPSyncServerContentsListPLSong(DCM_NAMESPACE::RLog& aLog,
TInt aListHandle,
CSmbMusicMWLibListItem* aListItem,
TSmbMusicAPSyncEngineListType aListType,
TSmbMusicAPSyncEngineListSearchCondition aListSearchCondition,
TSmbMusicAPSyncEngineRequestListType aSearchListType)
:CSmbMusicAPSyncServerContentsList(aLog,aListHandle,aListItem,aListType,aSearchListType,aListSearchCondition)
{
}
// end of SmbMusicAPSyncServerContentsListPLSong.cpp
/* Copyright (C) 2006 Sony Ericsson Mobile Communications Japan, Inc. */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -