Merge pull request #3534 from Karlson2k/cfile_fix_01
[vuplus_xbmc] / xbmc / filesystem / File.cpp
index 3e9e643..0973657 100644 (file)
@@ -825,6 +825,21 @@ int CFile::GetChunkSize()
     return m_pFile->GetChunkSize();
   return 0;
 }
+
+std::string CFile::GetContentMimeType(void)
+{
+  if (!m_pFile)
+    return "";
+  return m_pFile->GetContent();
+}
+
+std::string CFile::GetContentCharset(void)
+{
+  if (!m_pFile)
+    return "";
+  return m_pFile->GetContentCharset();
+}
+
 //*********************************************************************************************
 //*************** Stream IO for CFile objects *************************************************
 //*********************************************************************************************