- Timestamp:
- Jul 23, 2006, 4:17:22 PM (18 years ago)
- 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 37 37 38 38 OrxThread::Mutex NetLink::_mutex; 39 std::string NetLink::_ browser = "firefox";39 std::string NetLink::_defaultBrowser = "firefox"; 40 40 std::list<std::string> NetLink::_browserList = NetLink::buildBrowserList(); 41 41 … … 70 70 { 71 71 OrxThread::MutexLock lock(&NetLink::_mutex); 72 NetLink::_ browser = browserName;72 NetLink::_defaultBrowser = browserName; 73 73 } 74 74 -
branches/proxy/src/lib/util/filesys/net_link.h
r9394 r9395 33 33 34 34 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; }; 36 36 37 37 private: … … 47 47 // static lists. 48 48 static OrxThread::Mutex _mutex; //!< One mutex to lock them all. 49 static std::string _ browser;49 static std::string _defaultBrowser; //!< The default Browser. 50 50 static std::list<std::string> _browserList; 51 51 };
Note: See TracChangeset
for help on using the changeset viewer.