diff options
Diffstat (limited to 'src/libcrawler/URL.pkg')
-rw-r--r-- | src/libcrawler/URL.pkg | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/libcrawler/URL.pkg b/src/libcrawler/URL.pkg new file mode 100644 index 0000000..d27288d --- /dev/null +++ b/src/libcrawler/URL.pkg @@ -0,0 +1,32 @@ +$#include "URL.hpp" + +$using namespace std; + +class URL +{ + URL( ) {} + + URL( const URL& url ) {} + + URL( const std::string _protocol, const std::string _host, const unsigned short _port, const std::string _path, const std::string _query, const std::string _fragment ) {} + + const string protocol( ) const {} + + const string host( ) const {} + + unsigned short port( ) const {} + + const string path( ) const {} + + const string query( ) const {} + + std::string fragment( ) const {} + + std::string str( ) const {} + + static URL Null; + + bool operator==( const URL &other ) const {} + + bool operator<( const URL &other ) const {} +}; |