Files
Sun1602/Client/ShopListManager/include/SLM/BannerInfoList.h
T
2022-10-26 12:25:11 +08:00

28 lines
649 B
C++

#pragma once
#include <SLM/CommonSLM.h>
#include <SLM/BannerInfo.h>
class CBannerInfoList
{
public:
CBannerInfoList(void);
~CBannerInfoList(void);
WZResult LoadBanner(tstring& filepath, tstring& strDirPath, bool bDonwLoad, CListManagerInfo& listManagerInfo);
WZResult LoadBannerW(std::wstring& filepath, std::wstring& strDirPath, bool bDonwLoad, CListManagerInfo& listManagerInfo);
void Clear();
int GetSize();
virtual void Append(CBannerInfo banner);
void SetFirst();
bool GetNext(CBannerInfo& banner);
protected:
std::multimap<int, CBannerInfo> m_BannerInfos;
std::multimap<int, CBannerInfo>::iterator m_BannerInfoIter;
};