~x3lectric/xbmc/svn-trunk

« back to all changes in this revision

Viewing changes to xbmc/ScriptSettings.cpp

  • Committer: elupus
  • Date: 2010-02-01 01:58:58 UTC
  • Revision ID: svn-v4:568bbfeb-2a22-0410-94d2-cc84cf5bfa90:trunk:27343
changed: drop namespace DIRECTORY and use XFILE for that aswell

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
  CUtil::RemoveSlashAtEnd(strRoot);
95
95
 
96
96
  // create the individual folders
97
 
  if (!DIRECTORY::CDirectory::Exists(strRoot))
98
 
    DIRECTORY::CDirectory::Create(strRoot);
99
 
  if (!DIRECTORY::CDirectory::Exists(strType))
100
 
    DIRECTORY::CDirectory::Create(strType);
101
 
  if (!DIRECTORY::CDirectory::Exists(strScript))
102
 
    DIRECTORY::CDirectory::Create(strScript);
 
97
  if (!XFILE::CDirectory::Exists(strRoot))
 
98
    XFILE::CDirectory::Create(strRoot);
 
99
  if (!XFILE::CDirectory::Exists(strType))
 
100
    XFILE::CDirectory::Create(strType);
 
101
  if (!XFILE::CDirectory::Exists(strScript))
 
102
    XFILE::CDirectory::Create(strScript);
103
103
 
104
104
  return m_userXmlDoc.SaveFile(m_userFileName);
105
105
}