Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9395 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 23, 2006, 4:17:22 PM (18 years ago)
Author:
bensch
Message:

renamings

Location:
branches/proxy/src/lib/util/filesys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/util/filesys/net_link.cc

    r9394 r9395  
    3737
    3838OrxThread::Mutex NetLink::_mutex;
    39 std::string NetLink::_browser = "firefox";
     39std::string NetLink::_defaultBrowser = "firefox";
    4040std::list<std::string> NetLink::_browserList = NetLink::buildBrowserList();
    4141
     
    7070{
    7171  OrxThread::MutexLock lock(&NetLink::_mutex);
    72   NetLink::_browser = browserName;
     72  NetLink::_defaultBrowser = browserName;
    7373}
    7474
  • branches/proxy/src/lib/util/filesys/net_link.h

    r9394 r9395  
    3333
    3434  static void setDefaultBrowser(const std::string& browserName);
    35   static const std::string& defaultBrowser() {  return NetLink::_browser; };
     35  static const std::string& defaultBrowser() {  return NetLink::_defaultBrowser; };
    3636
    3737private:
     
    4747  // static lists.
    4848  static OrxThread::Mutex         _mutex;            //!< One mutex to lock them all.
    49   static std::string              _browser;
     49  static std::string              _defaultBrowser;   //!< The default Browser.
    5050  static std::list<std::string>   _browserList;
    5151};
Note: See TracChangeset for help on using the changeset viewer.