Эх сурвалжийг харах

#IQRV #comment localMediaplayer添加跨平台标注

80374374 5 сар өмнө
parent
commit
855c544841

+ 4 - 2
Module/mod_localmediaplay/AdvertManage/BaseFun.cpp

@@ -63,7 +63,7 @@ bool checkFileExist(string fileName)
 	}
 }
 
-
+//TODO: CrossPlaform  [Gifur@2025630]
 void Wchar_tToString(std::string& szDst, wchar_t *wchar)
 {
 #ifdef RVC_OS_WIN
@@ -88,7 +88,8 @@ void Wchar_tToString(std::string& szDst, wchar_t *wchar)
 #endif 
 }
 
-// string to wstring
+//TODO: CrossPlaform  [Gifur@2025630]
+//string to wstring
 void StringToWstring(std::wstring& szDst, std::string str)
 {
 #ifdef RVC_OS_WIN
@@ -114,6 +115,7 @@ void StringToWstring(std::wstring& szDst, std::string str)
 #endif 
 }
 
+//TODO: CrossPlaform  [Gifur@2025630]
 bool createDir(const string &filePath)
 {
 #ifdef RVC_OS_WIN

+ 3 - 0
Module/mod_localmediaplay/AdvertManage/MediaManage.cpp

@@ -43,6 +43,8 @@ int mediaManage::GetPlayListByLocal(vector<ResourceParse>& resourceList)
 	int iNum = 0;
 	resourceList.clear();
 
+
+	//TODO: CrossPlaform  [Gifur@2025630]
 #ifdef RVC_OS_WIN
 	for each (auto i in m_localList)
 	{
@@ -248,6 +250,7 @@ void mediaManage::InitResourceListByLocal()
 	uint32_t unetworkList = 0;
 	bool blog = false;
 
+	//TODO: CrossPlaform  [Gifur@2025630]
 #ifdef RVC_OS_WIN
 	for each (auto i in headList) {
 		m_localList.push_back(i);