[stdstring] get rid of CStdString in interfaces/Builtins.cpp|h
authorJonathan Marshall <jmarshall@xbmc.org>
Sat, 5 Jul 2014 05:44:34 +0000 (17:44 +1200)
committerJonathan Marshall <jmarshall@xbmc.org>
Sun, 13 Jul 2014 21:14:59 +0000 (09:14 +1200)
xbmc/interfaces/Builtins.cpp
xbmc/interfaces/Builtins.h

index 7251dee..1816851 100644 (file)
@@ -230,9 +230,9 @@ const BUILT_IN commands[] = {
   { "SetStereoMode",              true,   "Changes the stereo mode of the GUI. Params can be: toggle, next, previous, select, tomono or any of the supported stereomodes (off, split_vertical, split_horizontal, row_interleaved, hardware_based, anaglyph_cyan_red, anaglyph_green_magenta, monoscopic)" }
 };
 
-bool CBuiltins::HasCommand(const CStdString& execString)
+bool CBuiltins::HasCommand(const std::string& execString)
 {
-  CStdString function;
+  std::string function;
   vector<string> parameters;
   CUtil::SplitExecFunction(execString, function, parameters);
   for (unsigned int i = 0; i < sizeof(commands)/sizeof(BUILT_IN); i++)
@@ -243,7 +243,7 @@ bool CBuiltins::HasCommand(const CStdString& execString)
   return false;
 }
 
-void CBuiltins::GetHelp(CStdString &help)
+void CBuiltins::GetHelp(std::string &help)
 {
   help.clear();
   for (unsigned int i = 0; i < sizeof(commands)/sizeof(BUILT_IN); i++)
@@ -255,58 +255,59 @@ void CBuiltins::GetHelp(CStdString &help)
   }
 }
 
-int CBuiltins::Execute(const CStdString& execString)
+int CBuiltins::Execute(const std::string& execString)
 {
   // Get the text after the "XBMC."
-  CStdString execute;
+  std::string execute;
   vector<string> params;
   CUtil::SplitExecFunction(execString, execute, params);
   StringUtils::ToLower(execute);
-  CStdString parameter = params.size() ? params[0] : "";
-  CStdString strParameterCaseIntact = parameter;
+  std::string parameter = params.size() ? params[0] : "";
+  std::string paramlow(parameter);
+  StringUtils::ToLower(paramlow);
 
-  if (execute.Equals("reboot") || execute.Equals("restart") || execute.Equals("reset"))  //Will reboot the system
+  if (execute == "reboot" || execute == "restart" || execute == "reset")  //Will reboot the system
   {
     CApplicationMessenger::Get().Restart();
   }
-  else if (execute.Equals("shutdown"))
+  else if (execute == "shutdown")
   {
     CApplicationMessenger::Get().Shutdown();
   }
-  else if (execute.Equals("powerdown"))
+  else if (execute == "powerdown")
   {
     CApplicationMessenger::Get().Powerdown();
   }
-  else if (execute.Equals("restartapp"))
+  else if (execute == "restartapp")
   {
     CApplicationMessenger::Get().RestartApp();
   }
-  else if (execute.Equals("hibernate"))
+  else if (execute == "hibernate")
   {
     CApplicationMessenger::Get().Hibernate();
   }
-  else if (execute.Equals("suspend"))
+  else if (execute == "suspend")
   {
     CApplicationMessenger::Get().Suspend();
   }
-  else if (execute.Equals("quit"))
+  else if (execute == "quit")
   {
     CApplicationMessenger::Get().Quit();
   }
-  else if (execute.Equals("inhibitidleshutdown"))
+  else if (execute == "inhibitidleshutdown")
   {
     bool inhibit = (params.size() == 1 && StringUtils::EqualsNoCase(params[0], "true"));
     CApplicationMessenger::Get().InhibitIdleShutdown(inhibit);
   }
-  else if (execute.Equals("activatescreensaver"))
+  else if (execute == "activatescreensaver")
   {
     CApplicationMessenger::Get().ActivateScreensaver();
   }
-  else if (execute.Equals("minimize"))
+  else if (execute == "minimize")
   {
     CApplicationMessenger::Get().Minimize();
   }
-  else if (execute.Equals("loadprofile"))
+  else if (execute == "loadprofile")
   {
     int index = CProfilesManager::Get().GetProfileIndex(parameter);
     bool prompt = (params.size() == 2 && StringUtils::EqualsNoCase(params[1], "prompt"));
@@ -318,7 +319,7 @@ int CBuiltins::Execute(const CStdString& execString)
       CApplicationMessenger::Get().LoadProfile(index);
     }
   }
-  else if (execute.Equals("mastermode"))
+  else if (execute == "mastermode")
   {
     if (g_passwordManager.bMasterUser)
     {
@@ -337,19 +338,19 @@ int CBuiltins::Execute(const CStdString& execString)
     CGUIMessage msg(GUI_MSG_NOTIFY_ALL, 0, 0, GUI_MSG_UPDATE);
     g_windowManager.SendMessage(msg);
   }
-  else if (execute.Equals("setguilanguage"))
+  else if (execute == "setguilanguage")
   {
     if (params.size())
     {
       CApplicationMessenger::Get().SetGUILanguage(params[0]);
     }
   }
-  else if (execute.Equals("takescreenshot"))
+  else if (execute == "takescreenshot")
   {
     if (params.size())
     {
       // get the parameters
-      CStdString strSaveToPath = params[0];
+      std::string strSaveToPath = params[0];
       bool sync = false;
       if (params.size() >= 2)
         sync = StringUtils::EqualsNoCase(params[1], "sync");
@@ -358,7 +359,7 @@ int CBuiltins::Execute(const CStdString& execString)
       {
         if (CDirectory::Exists(strSaveToPath))
         {
-          CStdString file = CUtil::GetNextFilename(URIUtils::AddFileToFolder(strSaveToPath, "screenshot%03d.png"), 999);
+          std::string file = CUtil::GetNextFilename(URIUtils::AddFileToFolder(strSaveToPath, "screenshot%03d.png"), 999);
 
           if (!file.empty())
           {
@@ -376,10 +377,10 @@ int CBuiltins::Execute(const CStdString& execString)
     else
       CScreenShot::TakeScreenshot();
   }
-  else if (execute.Equals("activatewindow") || execute.Equals("replacewindow"))
+  else if (execute == "activatewindow" || execute == "replacewindow")
   {
     // get the parameters
-    CStdString strWindow;
+    std::string strWindow;
     if (params.size())
     {
       strWindow = params[0];
@@ -392,7 +393,7 @@ int CBuiltins::Execute(const CStdString& execString)
     {
       // disable the screensaver
       g_application.WakeUpScreenSaverAndDPMS();
-      g_windowManager.ActivateWindow(iWindow, params, !execute.Equals("activatewindow"));
+      g_windowManager.ActivateWindow(iWindow, params, execute != "activatewindow");
     }
     else
     {
@@ -400,16 +401,16 @@ int CBuiltins::Execute(const CStdString& execString)
       return false;
     }
   }
-  else if ((execute.Equals("setfocus") || execute.Equals("control.setfocus")) && params.size())
+  else if ((execute == "setfocus" || execute == "control.setfocus") && params.size())
   {
     int controlID = atol(params[0].c_str());
     int subItem = (params.size() > 1) ? atol(params[1].c_str())+1 : 0;
     CGUIMessage msg(GUI_MSG_SETFOCUS, g_windowManager.GetFocusedWindow(), controlID, subItem);
     g_windowManager.SendMessage(msg);
   }
-  else if ((execute.Equals("activatewindowandfocus") || execute.Equals("replacewindowandfocus")) && params.size())
+  else if ((execute == "activatewindowandfocus" || execute == "replacewindowandfocus") && params.size())
   {
-    CStdString strWindow = params[0];
+    std::string strWindow = params[0];
 
     // confirm the window destination is valid prior to switching
     int iWindow = CButtonTranslator::TranslateWindow(strWindow);
@@ -418,7 +419,7 @@ int CBuiltins::Execute(const CStdString& execString)
       // disable the screensaver
       g_application.WakeUpScreenSaverAndDPMS();
       vector<string> dummy;
-      g_windowManager.ActivateWindow(iWindow, dummy, !execute.Equals("activatewindowandfocus"));
+      g_windowManager.ActivateWindow(iWindow, dummy, execute != "activatewindowandfocus");
 
       unsigned int iPtr = 1;
       while (params.size() > iPtr + 1)
@@ -436,19 +437,19 @@ int CBuiltins::Execute(const CStdString& execString)
       return false;
     }
   }
-  else if (execute.Equals("runscript") && params.size())
+  else if (execute == "runscript" && params.size())
   {
 #if defined(TARGET_DARWIN_OSX)
-    if (URIUtils::HasExtension(strParameterCaseIntact, ".applescript|.scpt"))
+    if (URIUtils::HasExtension(parameter, ".applescript|.scpt"))
     {
-      CStdString osxPath = CSpecialProtocol::TranslatePath(strParameterCaseIntact);
+      std::string osxPath = CSpecialProtocol::TranslatePath(parameter);
       Cocoa_DoAppleScriptFile(osxPath.c_str());
     }
     else
 #endif
     {
       AddonPtr script;
-      CStdString scriptpath(params[0]);
+      std::string scriptpath(params[0]);
       if (CAddonMgr::Get().GetAddon(params[0], script))
         scriptpath = script->LibPath();
 
@@ -462,14 +463,14 @@ int CBuiltins::Execute(const CStdString& execString)
     }
   }
 #if defined(TARGET_DARWIN_OSX)
-  else if (execute.Equals("runapplescript"))
+  else if (execute == "runapplescript")
   {
-    Cocoa_DoAppleScript(strParameterCaseIntact.c_str());
+    Cocoa_DoAppleScript(parameter.c_str());
   }
 #endif
-  else if (execute.Equals("stopscript"))
+  else if (execute == "stopscript")
   {
-    CStdString scriptpath(params[0]);
+    std::string scriptpath(params[0]);
 
     // Test to see if the param is an addon ID
     AddonPtr script;
@@ -478,39 +479,39 @@ int CBuiltins::Execute(const CStdString& execString)
 
     CScriptInvocationManager::Get().Stop(scriptpath);
   }
-  else if (execute.Equals("system.exec"))
+  else if (execute == "system.exec")
   {
     CApplicationMessenger::Get().Minimize();
     CApplicationMessenger::Get().ExecOS(parameter, false);
   }
-  else if (execute.Equals("system.execwait"))
+  else if (execute == "system.execwait")
   {
     CApplicationMessenger::Get().Minimize();
     CApplicationMessenger::Get().ExecOS(parameter, true);
   }
-  else if (execute.Equals("resolution"))
+  else if (execute == "resolution")
   {
     RESOLUTION res = RES_PAL_4x3;
-    if (parameter.Equals("pal")) res = RES_PAL_4x3;
-    else if (parameter.Equals("pal16x9")) res = RES_PAL_16x9;
-    else if (parameter.Equals("ntsc")) res = RES_NTSC_4x3;
-    else if (parameter.Equals("ntsc16x9")) res = RES_NTSC_16x9;
-    else if (parameter.Equals("720p")) res = RES_HDTV_720p;
-    else if (parameter.Equals("720pSBS")) res = RES_HDTV_720pSBS;
-    else if (parameter.Equals("720pTB")) res = RES_HDTV_720pTB;
-    else if (parameter.Equals("1080pSBS")) res = RES_HDTV_1080pSBS;
-    else if (parameter.Equals("1080pTB")) res = RES_HDTV_1080pTB;
-    else if (parameter.Equals("1080i")) res = RES_HDTV_1080i;
+    if (paramlow == "pal") res = RES_PAL_4x3;
+    else if (paramlow == "pal16x9") res = RES_PAL_16x9;
+    else if (paramlow == "ntsc") res = RES_NTSC_4x3;
+    else if (paramlow == "ntsc16x9") res = RES_NTSC_16x9;
+    else if (paramlow == "720p") res = RES_HDTV_720p;
+    else if (paramlow == "720psbs") res = RES_HDTV_720pSBS;
+    else if (paramlow == "720ptb") res = RES_HDTV_720pTB;
+    else if (paramlow == "1080psbs") res = RES_HDTV_1080pSBS;
+    else if (paramlow == "1080ptb") res = RES_HDTV_1080pTB;
+    else if (paramlow == "1080i") res = RES_HDTV_1080i;
     if (g_graphicsContext.IsValidResolution(res))
     {
       CDisplaySettings::Get().SetCurrentResolution(res, true);
       g_application.ReloadSkin();
     }
   }
-  else if (execute.Equals("extract") && params.size())
+  else if (execute == "extract" && params.size())
   {
     // Detects if file is zip or rar then extracts
-    CStdString strDestDirect;
+    std::string strDestDirect;
     if (params.size() < 2)
       strDestDirect = URIUtils::GetDirectory(params[0]);
     else
@@ -527,7 +528,7 @@ int CBuiltins::Execute(const CStdString& execString)
     else
       CLog::Log(LOGERROR, "XBMC.Extract, No archive given");
   }
-  else if (execute.Equals("runplugin"))
+  else if (execute == "runplugin")
   {
     if (params.size())
     {
@@ -543,17 +544,17 @@ int CBuiltins::Execute(const CStdString& execString)
       CLog::Log(LOGERROR, "XBMC.RunPlugin called with no arguments.");
     }
   }
-  else if (execute.Equals("runaddon"))
+  else if (execute == "runaddon")
   {
     if (params.size())
     {
       AddonPtr addon;
-      CStdString cmd;
+      std::string cmd;
       if (CAddonMgr::Get().GetAddon(params[0],addon,ADDON_PLUGIN))
       {
         PluginPtr plugin = boost::dynamic_pointer_cast<CPluginSource>(addon);
-        CStdString addonid = params[0];
-        CStdString urlParameters;
+        std::string addonid = params[0];
+        std::string urlParameters;
         vector<string> parameters;
         if (params.size() == 2 &&
            (StringUtils::StartsWith(params[1], "/") || StringUtils::StartsWith(params[1], "?")))
@@ -597,7 +598,7 @@ int CBuiltins::Execute(const CStdString& execString)
       CLog::Log(LOGERROR, "XBMC.RunAddon called with no arguments.");
     }
   }
-  else if (execute.Equals("notifyall"))
+  else if (execute == "notifyall")
   {
     if (params.size() > 1)
     {
@@ -610,7 +611,7 @@ int CBuiltins::Execute(const CStdString& execString)
     else
       CLog::Log(LOGERROR, "XBMC.NotifyAll needs two parameters");
   }
-  else if (execute.Equals("playmedia"))
+  else if (execute == "playmedia")
   {
     if (!params.size())
     {
@@ -669,7 +670,7 @@ int CBuiltins::Execute(const CStdString& execString)
     if (item.m_bIsFolder)
     {
       CFileItemList items;
-      CStdString extensions = g_advancedSettings.m_videoExtensions + "|" + g_advancedSettings.m_musicExtensions;
+      std::string extensions = g_advancedSettings.m_videoExtensions + "|" + g_advancedSettings.m_musicExtensions;
       CDirectory::GetDirectory(item.GetPath(),items,extensions);
 
       bool containsMusic = false, containsVideo = false;
@@ -718,7 +719,7 @@ int CBuiltins::Execute(const CStdString& execString)
       }
     }
   }
-  else if (execute.Equals("showPicture"))
+  else if (execute == "showpicture")
   {
     if (!params.size())
     {
@@ -730,7 +731,7 @@ int CBuiltins::Execute(const CStdString& execString)
     CGUIWindow *pWindow = g_windowManager.GetWindow(WINDOW_SLIDESHOW);
     if (pWindow) pWindow->OnMessage(msg);
   }
-  else if (execute.Equals("slideShow") || execute.Equals("recursiveslideShow"))
+  else if (execute == "slideshow" || execute == "recursiveslideshow")
   {
     if (!params.size())
     {
@@ -740,7 +741,7 @@ int CBuiltins::Execute(const CStdString& execString)
     std::string beginSlidePath;
     // leave RecursiveSlideShow command as-is
     unsigned int flags = 0;
-    if (execute.Equals("RecursiveSlideShow"))
+    if (execute == "recursiveslideshow")
       flags |= 1;
 
     // SlideShow(dir[,recursive][,[not]random][,pause][,beginslide="/path/to/start/slide.jpg"])
@@ -771,20 +772,20 @@ int CBuiltins::Execute(const CStdString& execString)
     CGUIWindow *pWindow = g_windowManager.GetWindow(WINDOW_SLIDESHOW);
     if (pWindow) pWindow->OnMessage(msg);
   }
-  else if (execute.Equals("reloadskin"))
+  else if (execute == "reloadskin")
   {
     //  Reload the skin
     g_application.ReloadSkin(!params.empty() && StringUtils::EqualsNoCase(params[0], "confirm"));
   }
-  else if (execute.Equals("unloadskin"))
+  else if (execute == "unloadskin")
   {
     g_application.UnloadSkin(true); // we're reloading the skin after this
   }
-  else if (execute.Equals("refreshrss"))
+  else if (execute == "refreshrss")
   {
     CRssManager::Get().Reload();
   }
-  else if (execute.Equals("playercontrol"))
+  else if (execute == "playercontrol")
   {
     g_application.ResetScreenSaver();
     g_application.WakeUpScreenSaverAndDPMS();
@@ -793,7 +794,7 @@ int CBuiltins::Execute(const CStdString& execString)
       CLog::Log(LOGERROR, "XBMC.PlayerControl called with empty parameter");
       return -3;
     }
-    if (parameter.Equals("play"))
+    if (paramlow ==  "play")
     { // play/pause
       // either resume playing, or pause
       if (g_application.m_pPlayer->IsPlaying())
@@ -804,20 +805,20 @@ int CBuiltins::Execute(const CStdString& execString)
           g_application.m_pPlayer->Pause();
       }
     }
-    else if (parameter.Equals("stop"))
+    else if (paramlow == "stop")
     {
       g_application.StopPlaying();
     }
-    else if (parameter.Equals("rewind") || parameter.Equals("forward"))
+    else if (paramlow =="rewind" || paramlow == "forward")
     {
       if (g_application.m_pPlayer->IsPlaying() && !g_application.m_pPlayer->IsPaused())
       {
         int iPlaySpeed = g_application.m_pPlayer->GetPlaySpeed();
-        if (parameter.Equals("rewind") && iPlaySpeed == 1) // Enables Rewinding
+        if (paramlow == "rewind" && iPlaySpeed == 1) // Enables Rewinding
           iPlaySpeed *= -2;
-        else if (parameter.Equals("rewind") && iPlaySpeed > 1) //goes down a notch if you're FFing
+        else if (paramlow ==  "rewind" && iPlaySpeed > 1) //goes down a notch if you're FFing
           iPlaySpeed /= 2;
-        else if (parameter.Equals("forward") && iPlaySpeed < 1) //goes up a notch if you're RWing
+        else if (paramlow == "forward" && iPlaySpeed < 1) //goes up a notch if you're RWing
         {
           iPlaySpeed /= 2;
           if (iPlaySpeed == -1) iPlaySpeed = 1;
@@ -831,37 +832,37 @@ int CBuiltins::Execute(const CStdString& execString)
         g_application.m_pPlayer->SetPlaySpeed(iPlaySpeed, g_application.IsMutedInternal());
       }
     }
-    else if (parameter.Equals("next"))
+    else if (paramlow == "next")
     {
       g_application.OnAction(CAction(ACTION_NEXT_ITEM));
     }
-    else if (parameter.Equals("previous"))
+    else if (paramlow == "previous")
     {
       g_application.OnAction(CAction(ACTION_PREV_ITEM));
     }
-    else if (parameter.Equals("bigskipbackward"))
+    else if (paramlow == "bigskipbackward")
     {
       if (g_application.m_pPlayer->IsPlaying())
         g_application.m_pPlayer->Seek(false, true);
     }
-    else if (parameter.Equals("bigskipforward"))
+    else if (paramlow == "bigskipforward")
     {
       if (g_application.m_pPlayer->IsPlaying())
         g_application.m_pPlayer->Seek(true, true);
     }
-    else if (parameter.Equals("smallskipbackward"))
+    else if (paramlow == "smallskipbackward")
     {
       if (g_application.m_pPlayer->IsPlaying())
         g_application.m_pPlayer->Seek(false, false);
     }
-    else if (parameter.Equals("smallskipforward"))
+    else if (paramlow == "smallskipforward")
     {
       if (g_application.m_pPlayer->IsPlaying())
         g_application.m_pPlayer->Seek(true, false);
     }
     else if (StringUtils::StartsWithNoCase(parameter, "seekpercentage"))
     {
-      CStdString offset = "";
+      std::string offset;
       if (parameter.size() == 14)
         CLog::Log(LOGERROR,"PlayerControl(seekpercentage(n)) called with no argument");
       else if (parameter.size() < 17) // arg must be at least "(N)"
@@ -878,19 +879,19 @@ int CBuiltins::Execute(const CStdString& execString)
           g_application.SeekPercentage(offsetpercent);
       }
     }
-    else if( parameter.Equals("showvideomenu") )
+    else if (paramlow == "showvideomenu")
     {
       if( g_application.m_pPlayer->IsPlaying() )
         g_application.m_pPlayer->OnAction(CAction(ACTION_SHOW_VIDEOMENU));
     }
-    else if( parameter.Equals("record") )
+    else if (paramlow == "record")
     {
       if( g_application.m_pPlayer->IsPlaying() && g_application.m_pPlayer->CanRecord())
         g_application.m_pPlayer->Record(!g_application.m_pPlayer->IsRecording());
     }
     else if (StringUtils::StartsWithNoCase(parameter, "partymode"))
     {
-      CStdString strXspPath = "";
+      std::string strXspPath;
       //empty param=music, "music"=music, "video"=video, else xsp path
       PartyModeContext context = PARTYMODECONTEXT_MUSIC;
       if (parameter.size() > 9)
@@ -909,16 +910,14 @@ int CBuiltins::Execute(const CStdString& execString)
       else
         g_partyModeManager.Enable(context, strXspPath);
     }
-    else if (parameter.Equals("random")    ||
-             parameter.Equals("randomoff") ||
-             parameter.Equals("randomon"))
+    else if (paramlow == "random" || paramlow == "randomoff" || paramlow == "randomon")
     {
       // get current playlist
       int iPlaylist = g_playlistPlayer.GetCurrentPlaylist();
 
       // reverse the current setting
       bool shuffled = g_playlistPlayer.IsShuffled(iPlaylist);
-      if ((shuffled && parameter.Equals("randomon")) || (!shuffled && parameter.Equals("randomoff")))
+      if ((shuffled && paramlow == "randomon") || (!shuffled && paramlow == "randomoff"))
         return 0;
 
       // check to see if we should notify the user
@@ -949,11 +948,11 @@ int CBuiltins::Execute(const CStdString& execString)
       PLAYLIST::REPEAT_STATE previous_state = g_playlistPlayer.GetRepeat(iPlaylist);
 
       PLAYLIST::REPEAT_STATE state;
-      if (parameter.Equals("repeatall"))
+      if (paramlow == "repeatall")
         state = PLAYLIST::REPEAT_ALL;
-      else if (parameter.Equals("repeatone"))
+      else if (paramlow == "repeatone")
         state = PLAYLIST::REPEAT_ONE;
-      else if (parameter.Equals("repeatoff"))
+      else if (paramlow == "repeatoff")
         state = PLAYLIST::REPEAT_NONE;
       else if (previous_state == PLAYLIST::REPEAT_NONE)
         state = PLAYLIST::REPEAT_ALL;
@@ -986,16 +985,16 @@ int CBuiltins::Execute(const CStdString& execString)
       g_windowManager.SendThreadMessage(msg);
     }
   }
-  else if (execute.Equals("playwith"))
+  else if (execute == "playwith")
   {
     g_application.m_eForcedNextPlayer = CPlayerCoreFactory::Get().GetPlayerCore(parameter);
     g_application.OnAction(CAction(ACTION_PLAYER_PLAY));
   }
-  else if (execute.Equals("mute"))
+  else if (execute == "mute")
   {
     g_application.ToggleMute();
   }
-  else if (execute.Equals("setvolume"))
+  else if (execute == "setvolume")
   {
     float oldVolume = g_application.GetVolume();
     float volume = (float)strtod(parameter.c_str(), NULL);
@@ -1009,21 +1008,21 @@ int CBuiltins::Execute(const CStdString& execString)
       }
     }
   }
-  else if (execute.Equals("playlist.playoffset"))
+  else if (execute == "playlist.playoffset")
   {
     // playlist.playoffset(offset)
     // playlist.playoffset(music|video,offset)
-    CStdString strPos = parameter;
+    std::string strPos = parameter;
     if (params.size() > 1)
     {
       // ignore any other parameters if present
-      CStdString strPlaylist = params[0];
+      std::string strPlaylist = params[0];
       strPos = params[1];
 
       int iPlaylist = PLAYLIST_NONE;
-      if (strPlaylist.Equals("music"))
+      if (paramlow == "music")
         iPlaylist = PLAYLIST_MUSIC;
-      else if (strPlaylist.Equals("video"))
+      else if (paramlow == "video")
         iPlaylist = PLAYLIST_VIDEO;
 
       // unknown playlist
@@ -1050,17 +1049,17 @@ int CBuiltins::Execute(const CStdString& execString)
     else
       g_playlistPlayer.Play(pos);
   }
-  else if (execute.Equals("playlist.clear"))
+  else if (execute == "playlist.clear")
   {
     g_playlistPlayer.Clear();
   }
 #ifdef HAS_DVD_DRIVE
-  else if (execute.Equals("ejecttray"))
+  else if (execute == "ejecttray")
   {
     g_mediaManager.ToggleTray();
   }
 #endif
-  else if( execute.Equals("alarmclock") && params.size() > 1 )
+  else if (execute == "alarmclock" && params.size() > 1)
   {
     // format is alarmclock(name,command[,seconds,true]);
     float seconds = 0;
@@ -1073,12 +1072,12 @@ int CBuiltins::Execute(const CStdString& execString)
     }
     else
     { // check if shutdown is specified in particular, and get the time for it
-      CStdString strHeading;
+      std::string strHeading;
       if (StringUtils::EqualsNoCase(parameter, "shutdowntimer"))
         strHeading = g_localizeStrings.Get(20145);
       else
         strHeading = g_localizeStrings.Get(13209);
-      CStdString strTime;
+      std::string strTime;
       if( CGUIDialogNumeric::ShowAndGetNumber(strTime, strHeading) )
         seconds = static_cast<float>(atoi(strTime.c_str())*60);
       else
@@ -1102,7 +1101,7 @@ int CBuiltins::Execute(const CStdString& execString)
       return false;
     g_alarmClock.Start(params[0], seconds, params[1], silent, loop);
   }
-  else if (execute.Equals("notification"))
+  else if (execute == "notification")
   {
     if (params.size() < 2)
       return -1;
@@ -1113,14 +1112,14 @@ int CBuiltins::Execute(const CStdString& execString)
     else
       CGUIDialogKaiToast::QueueNotification(params[0],params[1]);
   }
-  else if (execute.Equals("cancelalarm"))
+  else if (execute == "cancelalarm")
   {
     bool silent = false;
     if (params.size() > 1 && StringUtils::EqualsNoCase(params[1], "true"))
       silent = true;
     g_alarmClock.Stop(params[0],silent);
   }
-  else if (execute.Equals("playdvd"))
+  else if (execute == "playdvd")
   {
 #ifdef HAS_DVD_DRIVE
     bool restart = false;
@@ -1129,19 +1128,19 @@ int CBuiltins::Execute(const CStdString& execString)
     CAutorun::PlayDisc(g_mediaManager.GetDiscPath(), true, restart);
 #endif
   }
-  else if (execute.Equals("ripcd"))
+  else if (execute == "ripcd")
   {
 #ifdef HAS_CDDA_RIPPER
     CCDDARipper::GetInstance().RipCD();
 #endif
   }
-  else if (execute.Equals("skin.togglesetting"))
+  else if (execute == "skin.togglesetting")
   {
     int setting = CSkinSettings::Get().TranslateBool(parameter);
     CSkinSettings::Get().SetBool(setting, !CSkinSettings::Get().GetBool(setting));
     CSettings::Get().Save();
   }
-  else if (execute.Equals("skin.setbool") && params.size())
+  else if (execute == "skin.setbool" && params.size())
   {
     if (params.size() > 1)
     {
@@ -1155,17 +1154,17 @@ int CBuiltins::Execute(const CStdString& execString)
     CSkinSettings::Get().SetBool(setting, true);
     CSettings::Get().Save();
   }
-  else if (execute.Equals("skin.reset"))
+  else if (execute == "skin.reset")
   {
     CSkinSettings::Get().Reset(parameter);
     CSettings::Get().Save();
   }
-  else if (execute.Equals("skin.resetsettings"))
+  else if (execute == "skin.resetsettings")
   {
     CSkinSettings::Get().Reset();
     CSettings::Get().Save();
   }
-  else if (execute.Equals("skin.theme"))
+  else if (execute == "skin.theme")
   {
     // enumerate themes
     vector<std::string> vecTheme;
@@ -1178,7 +1177,7 @@ int CBuiltins::Execute(const CStdString& execString)
     {
       for (unsigned int i=0;i<vecTheme.size();++i)
       {
-        CStdString strTmpTheme(CSettings::Get().GetString("lookandfeel.skintheme"));
+        std::string strTmpTheme(CSettings::Get().GetString("lookandfeel.skintheme"));
         URIUtils::RemoveExtension(strTmpTheme);
         if (StringUtils::EqualsNoCase(vecTheme[i], strTmpTheme))
         {
@@ -1198,27 +1197,28 @@ int CBuiltins::Execute(const CStdString& execString)
     if (iTheme < -1)
       iTheme = vecTheme.size()-1;
 
-    CStdString strSkinTheme = "SKINDEFAULT";
+    std::string strSkinTheme = "SKINDEFAULT";
     if (iTheme != -1 && iTheme < (int)vecTheme.size())
       strSkinTheme = vecTheme[iTheme];
 
     CSettings::Get().SetString("lookandfeel.skintheme", strSkinTheme);
     // also set the default color theme
-    CStdString colorTheme(URIUtils::ReplaceExtension(strSkinTheme, ".xml"));
-    if (colorTheme.Equals("Textures.xml"))
+    std::string colorTheme(URIUtils::ReplaceExtension(strSkinTheme, ".xml"));
+    if (StringUtils::EqualsNoCase(colorTheme, "Textures.xml"))
       colorTheme = "defaults.xml";
     CSettings::Get().SetString("lookandfeel.skincolors", colorTheme);
     g_application.ReloadSkin();
   }
-  else if (execute.Equals("skin.setstring") || execute.Equals("skin.setimage") || execute.Equals("skin.setfile") ||
-           execute.Equals("skin.setpath") || execute.Equals("skin.setnumeric") || execute.Equals("skin.setlargeimage"))
+  else if (execute == "skin.setstring"  || execute == "skin.setimage" ||
+           execute == "skin.setfile"    || execute == "skin.setpath"  ||
+           execute == "skin.setnumeric" || execute == "skin.setlargeimage")
   {
     // break the parameter up if necessary
     int string = 0;
     if (params.size() > 1)
     {
       string = CSkinSettings::Get().TranslateString(params[0]);
-      if (execute.Equals("skin.setstring"))
+      if (execute == "skin.setstring")
       {
         CSkinSettings::Get().SetString(string, params[1]);
         CSettings::Get().Save();
@@ -1227,37 +1227,37 @@ int CBuiltins::Execute(const CStdString& execString)
     }
     else
       string = CSkinSettings::Get().TranslateString(params[0]);
-    CStdString value = CSkinSettings::Get().GetString(string);
+    std::string value = CSkinSettings::Get().GetString(string);
     VECSOURCES localShares;
     g_mediaManager.GetLocalDrives(localShares);
-    if (execute.Equals("skin.setstring"))
+    if (execute == "skin.setstring")
     {
       if (CGUIKeyboardFactory::ShowAndGetInput(value, g_localizeStrings.Get(1029), true))
         CSkinSettings::Get().SetString(string, value);
     }
-    else if (execute.Equals("skin.setnumeric"))
+    else if (execute == "skin.setnumeric")
     {
       if (CGUIDialogNumeric::ShowAndGetNumber(value, g_localizeStrings.Get(611)))
         CSkinSettings::Get().SetString(string, value);
     }
-    else if (execute.Equals("skin.setimage"))
+    else if (execute == "skin.setimage")
     {
       if (CGUIDialogFileBrowser::ShowAndGetImage(localShares, g_localizeStrings.Get(1030), value))
         CSkinSettings::Get().SetString(string, value);
     }
-    else if (execute.Equals("skin.setlargeimage"))
+    else if (execute == "skin.setlargeimage")
     {
       VECSOURCES *shares = CMediaSourceSettings::Get().GetSources("pictures");
       if (!shares) shares = &localShares;
       if (CGUIDialogFileBrowser::ShowAndGetImage(*shares, g_localizeStrings.Get(1030), value))
         CSkinSettings::Get().SetString(string, value);
     }
-    else if (execute.Equals("skin.setfile"))
+    else if (execute == "skin.setfile")
     {
       // Note. can only browse one addon type from here
       // if browsing for addons, required param[1] is addontype string, with optional param[2]
       // as contenttype string see IAddon.h & ADDON::TranslateXX
-      CStdString strMask = (params.size() > 1) ? params[1] : "";
+      std::string strMask = (params.size() > 1) ? params[1] : "";
       StringUtils::ToLower(strMask);
       ADDON::TYPE type;
       if ((type = TranslateType(strMask)) != ADDON_UNKNOWN)
@@ -1267,13 +1267,13 @@ int CBuiltins::Execute(const CStdString& execString)
         url.SetHostName("enabled");
         url.SetFileName(strMask+"/");
         localShares.clear();
-        CStdString content = (params.size() > 2) ? params[2] : "";
+        std::string content = (params.size() > 2) ? params[2] : "";
         StringUtils::ToLower(content);
         url.SetPassword(content);
-        CStdString strMask;
+        std::string strMask;
         if (type == ADDON_SCRIPT)
           strMask = ".py";
-        CStdString replace;
+        std::string replace;
         if (CGUIDialogFileBrowser::ShowAndGetFile(url.Get(), strMask, TranslateType(type, true), replace, true, true, true))
         {
           if (StringUtils::StartsWithNoCase(replace, "addons://"))
@@ -1301,7 +1301,7 @@ int CBuiltins::Execute(const CStdString& execString)
           CSkinSettings::Get().SetString(string, value);
       }
     }
-    else // execute.Equals("skin.setpath"))
+    else // execute == "skin.setpath"))
     {
       g_mediaManager.GetNetworkLocations(localShares);
       if (params.size() > 1)
@@ -1322,7 +1322,7 @@ int CBuiltins::Execute(const CStdString& execString)
     }
     CSettings::Get().Save();
   }
-  else if (execute.Equals("skin.setaddon") && params.size() > 1)
+  else if (execute == "skin.setaddon" && params.size() > 1)
   {
     int string = CSkinSettings::Get().TranslateString(params[0]);
     vector<ADDON::TYPE> types;
@@ -1332,14 +1332,14 @@ int CBuiltins::Execute(const CStdString& execString)
       if (type != ADDON_UNKNOWN)
         types.push_back(type);
     }
-    CStdString result;
+    std::string result;
     if (types.size() > 0 && CGUIWindowAddonBrowser::SelectAddonID(types, result, true) == 1)
     {
       CSkinSettings::Get().SetString(string, result);
       CSettings::Get().Save();
     }
   }
-  else if (execute.Equals("dialog.close") && params.size())
+  else if (execute == "dialog.close" && params.size())
   {
     bool bForce = false;
     if (params.size() > 1 && StringUtils::EqualsNoCase(params[1], "true"))
@@ -1356,7 +1356,7 @@ int CBuiltins::Execute(const CStdString& execString)
         ((CGUIDialog *)window)->Close(bForce);
     }
   }
-  else if (execute.Equals("system.logoff"))
+  else if (execute == "system.logoff")
   {
     // there was a commit from cptspiff here which was reverted
     // for keeping the behaviour from Eden in Frodo - see
@@ -1380,19 +1380,19 @@ int CBuiltins::Execute(const CStdString& execString)
     if (!CNetworkServices::Get().StartEventServer()) // event server could be needed in some situations
       CGUIDialogKaiToast::QueueNotification(CGUIDialogKaiToast::Warning, g_localizeStrings.Get(33102), g_localizeStrings.Get(33100));
   }
-  else if (execute.Equals("pagedown"))
+  else if (execute == "pagedown")
   {
     int id = atoi(parameter.c_str());
     CGUIMessage message(GUI_MSG_PAGE_DOWN, g_windowManager.GetFocusedWindow(), id);
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("pageup"))
+  else if (execute == "pageup")
   {
     int id = atoi(parameter.c_str());
     CGUIMessage message(GUI_MSG_PAGE_UP, g_windowManager.GetFocusedWindow(), id);
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("updatelibrary") && params.size())
+  else if (execute == "updatelibrary" && !params.empty())
   {
     if (StringUtils::EqualsNoCase(params[0], "music"))
     {
@@ -1409,7 +1409,7 @@ int CBuiltins::Execute(const CStdString& execString)
         g_application.StartVideoScan(params.size() > 1 ? params[1] : "");
     }
   }
-  else if (execute.Equals("cleanlibrary"))
+  else if (execute == "cleanlibrary")
   {
     if (!params.size() || StringUtils::EqualsNoCase(params[0], "video"))
     {
@@ -1432,12 +1432,12 @@ int CBuiltins::Execute(const CStdString& execString)
         CLog::Log(LOGERROR, "XBMC.CleanLibrary is not possible while scanning for media info");
     }
   }
-  else if (execute.Equals("exportlibrary") && !params.empty())
+  else if (execute == "exportlibrary" && !params.empty())
   {
     int iHeading = 647;
     if (StringUtils::EqualsNoCase(params[0], "music"))
       iHeading = 20196;
-    CStdString path;
+    std::string path;
     VECSOURCES shares;
     g_mediaManager.GetLocalDrives(shares);
     g_mediaManager.GetNetworkLocations(shares);
@@ -1513,19 +1513,19 @@ int CBuiltins::Execute(const CStdString& execString)
       }
     }
   }
-  else if (execute.Equals("control.move") && params.size() > 1)
+  else if (execute == "control.move" && params.size() > 1)
   {
     CGUIMessage message(GUI_MSG_MOVE_OFFSET, g_windowManager.GetFocusedWindow(), atoi(params[0].c_str()), atoi(params[1].c_str()));
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.refresh"))
+  else if (execute == "container.refresh")
   { // NOTE: These messages require a media window, thus they're sent to the current activewindow.
     //       This shouldn't stop a dialog intercepting it though.
     CGUIMessage message(GUI_MSG_NOTIFY_ALL, g_windowManager.GetActiveWindow(), 0, GUI_MSG_UPDATE, 1); // 1 to reset the history
     message.SetStringParam(parameter);
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.update") && params.size())
+  else if (execute == "container.update" && !params.empty())
   {
     CGUIMessage message(GUI_MSG_NOTIFY_ALL, g_windowManager.GetActiveWindow(), 0, GUI_MSG_UPDATE, 0);
     message.SetStringParam(params[0]);
@@ -1533,42 +1533,42 @@ int CBuiltins::Execute(const CStdString& execString)
       message.SetParam2(1); // reset the history
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.nextviewmode"))
+  else if (execute == "container.nextviewmode")
   {
     CGUIMessage message(GUI_MSG_CHANGE_VIEW_MODE, g_windowManager.GetActiveWindow(), 0, 0, 1);
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.previousviewmode"))
+  else if (execute == "container.previousviewmode")
   {
     CGUIMessage message(GUI_MSG_CHANGE_VIEW_MODE, g_windowManager.GetActiveWindow(), 0, 0, -1);
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.setviewmode"))
+  else if (execute == "container.setviewmode")
   {
     CGUIMessage message(GUI_MSG_CHANGE_VIEW_MODE, g_windowManager.GetActiveWindow(), 0, atoi(parameter.c_str()));
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.nextsortmethod"))
+  else if (execute == "container.nextsortmethod")
   {
     CGUIMessage message(GUI_MSG_CHANGE_SORT_METHOD, g_windowManager.GetActiveWindow(), 0, 0, 1);
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.previoussortmethod"))
+  else if (execute == "container.previoussortmethod")
   {
     CGUIMessage message(GUI_MSG_CHANGE_SORT_METHOD, g_windowManager.GetActiveWindow(), 0, 0, -1);
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.setsortmethod"))
+  else if (execute == "container.setsortmethod")
   {
     CGUIMessage message(GUI_MSG_CHANGE_SORT_METHOD, g_windowManager.GetActiveWindow(), 0, atoi(parameter.c_str()));
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("container.sortdirection"))
+  else if (execute == "container.sortdirection")
   {
     CGUIMessage message(GUI_MSG_CHANGE_SORT_DIRECTION, g_windowManager.GetActiveWindow(), 0, 0);
     g_windowManager.SendMessage(message);
   }
-  else if (execute.Equals("control.message") && params.size() >= 2)
+  else if (execute == "control.message" && params.size() >= 2)
   {
     int controlID = atoi(params[0].c_str());
     int windowID = (params.size() == 3) ? CButtonTranslator::TranslateWindow(params[2]) : g_windowManager.GetActiveWindow();
@@ -1583,7 +1583,7 @@ int CBuiltins::Execute(const CStdString& execString)
     else if (params[1] == "click")
       g_windowManager.SendMessage(GUI_MSG_CLICKED, controlID, windowID);
   }
-  else if (execute.Equals("sendclick") && params.size())
+  else if (execute == "sendclick" && !params.empty())
   {
     if (params.size() == 2)
     {
@@ -1598,7 +1598,7 @@ int CBuiltins::Execute(const CStdString& execString)
       g_windowManager.SendMessage(message);
     }
   }
-  else if (execute.Equals("action") && params.size())
+  else if (execute == "action" && !params.empty())
   {
     // try translating the action from our ButtonTranslator
     int actionID;
@@ -1608,23 +1608,23 @@ int CBuiltins::Execute(const CStdString& execString)
       CApplicationMessenger::Get().SendAction(CAction(actionID), windowID);
     }
   }
-  else if (execute.Equals("setproperty") && params.size() >= 2)
+  else if (execute == "setproperty" && params.size() >= 2)
   {
     CGUIWindow *window = g_windowManager.GetWindow(params.size() > 2 ? CButtonTranslator::TranslateWindow(params[2]) : g_windowManager.GetFocusedWindow());
     if (window)
       window->SetProperty(params[0],params[1]);
   }
-  else if (execute.Equals("clearproperty") && params.size())
+  else if (execute == "clearproperty" && !params.empty())
   {
     CGUIWindow *window = g_windowManager.GetWindow(params.size() > 1 ? CButtonTranslator::TranslateWindow(params[1]) : g_windowManager.GetFocusedWindow());
     if (window)
       window->SetProperty(params[0],"");
   }
-  else if (execute.Equals("wakeonlan"))
+  else if (execute == "wakeonlan")
   {
     g_application.getNetwork().WakeOnLan((char*)params[0].c_str());
   }
-  else if (execute.Equals("addon.default.opensettings") && params.size() == 1)
+  else if (execute == "addon.default.opensettings" && params.size() == 1)
   {
     AddonPtr addon;
     ADDON::TYPE type = TranslateType(params[0]);
@@ -1635,9 +1635,9 @@ int CBuiltins::Execute(const CStdString& execString)
         g_windowManager.SendMessage(GUI_MSG_VISUALISATION_RELOAD, 0, 0);
     }
   }
-  else if (execute.Equals("addon.default.set") && params.size() == 1)
+  else if (execute == "addon.default.set" && params.size() == 1)
   {
-    CStdString addonID;
+    std::string addonID;
     TYPE type = TranslateType(params[0]);
     bool allowNone = false;
     if (type == ADDON_VIZ)
@@ -1651,50 +1651,50 @@ int CBuiltins::Execute(const CStdString& execString)
         g_windowManager.SendMessage(GUI_MSG_VISUALISATION_RELOAD, 0, 0);
     }
   }
-  else if (execute.Equals("addon.opensettings") && params.size() == 1)
+  else if (execute == "addon.opensettings" && params.size() == 1)
   {
     AddonPtr addon;
     if (CAddonMgr::Get().GetAddon(params[0], addon))
       CGUIDialogAddonSettings::ShowAndGetInput(addon);
   }
-  else if (execute.Equals("updateaddonrepos"))
+  else if (execute == "updateaddonrepos")
   {
     CAddonInstaller::Get().UpdateRepos(true);
   }
-  else if (execute.Equals("updatelocaladdons"))
+  else if (execute == "updatelocaladdons")
   {
     CAddonMgr::Get().FindAddons();
   }
-  else if (execute.Equals("toggledpms"))
+  else if (execute == "toggledpms")
   {
     g_application.ToggleDPMS(true);
   }
-  else if (execute.Equals("cectogglestate"))
+  else if (execute == "cectogglestate")
   {
     CApplicationMessenger::Get().CECToggleState();
   }
-  else if (execute.Equals("cecactivatesource"))
+  else if (execute == "cecactivatesource")
   {
     CApplicationMessenger::Get().CECActivateSource();
   }
-  else if (execute.Equals("cecstandby"))
+  else if (execute == "cecstandby")
   {
     CApplicationMessenger::Get().CECStandby();
   }
 #if defined(HAS_LIRC) || defined(HAS_IRSERVERSUITE)
-  else if (execute.Equals("lirc.stop"))
+  else if (execute == "lirc.stop")
   {
     g_RemoteControl.Disconnect();
     g_RemoteControl.setUsed(false);
   }
-  else if (execute.Equals("lirc.start"))
+  else if (execute == "lirc.start")
   {
     g_RemoteControl.setUsed(true);
     g_RemoteControl.Initialize();
   }
-  else if (execute.Equals("lirc.send"))
+  else if (execute == "lirc.send")
   {
-    CStdString command;
+    std::string command;
     for (int i = 0; i < (int)params.size(); i++)
     {
       command += params[i];
@@ -1704,51 +1704,51 @@ int CBuiltins::Execute(const CStdString& execString)
     g_RemoteControl.AddSendCommand(command);
   }
 #endif
-  else if (execute.Equals("weather.locationset") && !params.empty())
+  else if (execute == "weather.locationset" && !params.empty())
   {
     int loc = atoi(params[0].c_str());
     CGUIMessage msg(GUI_MSG_ITEM_SELECT, 0, 0, loc);
     g_windowManager.SendMessage(msg, WINDOW_WEATHER);
   }
-  else if (execute.Equals("weather.locationnext"))
+  else if (execute == "weather.locationnext")
   {
     CGUIMessage msg(GUI_MSG_MOVE_OFFSET, 0, 0, 1);
     g_windowManager.SendMessage(msg, WINDOW_WEATHER);
   }
-  else if (execute.Equals("weather.locationprevious"))
+  else if (execute == "weather.locationprevious")
   {
     CGUIMessage msg(GUI_MSG_MOVE_OFFSET, 0, 0, -1);
     g_windowManager.SendMessage(msg, WINDOW_WEATHER);
   }
-  else if (execute.Equals("weather.refresh"))
+  else if (execute == "weather.refresh")
   {
     CGUIMessage msg(GUI_MSG_MOVE_OFFSET, 0, 0, 0);
     g_windowManager.SendMessage(msg, WINDOW_WEATHER);
   }
-  else if (execute.Equals("videolibrary.search"))
+  else if (execute == "videolibrary.search")
   {
     CGUIMessage msg(GUI_MSG_SEARCH, 0, 0, 0);
     g_windowManager.SendMessage(msg, WINDOW_VIDEO_NAV);
   }
-  else if (execute.Equals("toggledebug"))
+  else if (execute == "toggledebug")
   {
     bool debug = CSettings::Get().GetBool("debug.showloginfo");
     CSettings::Get().SetBool("debug.showloginfo", !debug);
     g_advancedSettings.SetDebugMode(!debug);
   }
-  else if (execute.Equals("startpvrmanager"))
+  else if (execute == "startpvrmanager")
   {
     g_application.StartPVRManager();
   }
-  else if (execute.Equals("stoppvrmanager"))
+  else if (execute == "stoppvrmanager")
   {
     g_application.StopPVRManager();
   }
-  else if (execute.Equals("StartAndroidActivity") && params.size() > 0)
+  else if (execute == "startandroidactivity" && !params.empty())
   {
     CApplicationMessenger::Get().StartAndroidActivity(params);
   }
-  else if (execute.Equals("SetStereoMode") && !parameter.empty())
+  else if (execute == "setstereomode" && !parameter.empty())
   {
     CAction action = CStereoscopicsManager::Get().ConvertActionCommandToAction(execute, parameter);
     if (action.GetID() != ACTION_NONE)
index 70a7828..e30385c 100644 (file)
  *
  */
 
-#include "utils/StdString.h"
+#include <string>
 
 class CBuiltins
 {
 public:
-  static bool HasCommand(const CStdString& execString);
-  static void GetHelp(CStdString &help);
-  static int Execute(const CStdString& execString);
+  static bool HasCommand(const std::string& execString);
+  static void GetHelp(std::string &help);
+  static int Execute(const std::string& execString);
 };