Rev | Line | |
---|
[9393] | 1 | |
---|
| 2 | #ifndef __NET_LINK_H__ |
---|
| 3 | #define __NET_LINK_H__ |
---|
| 4 | |
---|
| 5 | #include <string> |
---|
| 6 | #include <list> |
---|
| 7 | |
---|
| 8 | class NetLink |
---|
| 9 | { |
---|
| 10 | public: |
---|
| 11 | NetLink(const std::string& ); |
---|
| 12 | |
---|
| 13 | void execURL() const; |
---|
| 14 | int startURL(void* url); |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | static void setDefaultBrowser(const std::string& browserName); |
---|
| 18 | static const std::string& defaultBrowser(); |
---|
| 19 | |
---|
| 20 | private: |
---|
| 21 | static void buildBrowserList(); |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | private: |
---|
| 25 | std::string _link; |
---|
| 26 | |
---|
| 27 | // static lists. |
---|
| 28 | static std::string _browser; |
---|
| 29 | static std::list<std::string> _browserList; |
---|
| 30 | }; |
---|
| 31 | |
---|
| 32 | #endif /** __NET_LINK_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.