diff options
Diffstat (limited to 'indra/newview/llurl.h')
-rw-r--r-- | indra/newview/llurl.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/indra/newview/llurl.h b/indra/newview/llurl.h index 01ab3bdfc2..214cf09da1 100644 --- a/indra/newview/llurl.h +++ b/indra/newview/llurl.h @@ -1,25 +1,25 @@ -/** +/** * @file llurl.h * @brief Text url class * * $LicenseInfo:firstyear=2001&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License only. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * + * * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA * $/LicenseInfo$ */ @@ -57,38 +57,38 @@ class LLURL { public: - LLURL(); - LLURL(const LLURL &url); - LLURL(const char * url); + LLURL(); + LLURL(const LLURL &url); + LLURL(const char * url); + + LLURL &operator=(const LLURL &rhs); - LLURL &operator=(const LLURL &rhs); + virtual ~LLURL(); - virtual ~LLURL(); + virtual void init (const char * url); + virtual void cleanup (); - virtual void init (const char * url); - virtual void cleanup (); + bool operator==(const LLURL &rhs) const; + bool operator!=(const LLURL &rhs) const; - bool operator==(const LLURL &rhs) const; - bool operator!=(const LLURL &rhs) const; + virtual const char *getFQURL() const; + virtual const char *getFullPath(); + virtual const char *getAuthority(); - virtual const char *getFQURL() const; - virtual const char *getFullPath(); - virtual const char *getAuthority(); + virtual const char *updateRelativePath(const LLURL &url); - virtual const char *updateRelativePath(const LLURL &url); + virtual BOOL isExtension(const char *compare) {return (!strcmp(mExtension,compare));}; - virtual BOOL isExtension(const char *compare) {return (!strcmp(mExtension,compare));}; +public: -public: - - char mURI[LL_MAX_PATH]; /* Flawfinder: ignore */ - char mAuthority[LL_MAX_PATH]; /* Flawfinder: ignore */ - char mPath[LL_MAX_PATH]; /* Flawfinder: ignore */ - char mFilename[LL_MAX_PATH]; /* Flawfinder: ignore */ - char mExtension[LL_MAX_PATH]; /* Flawfinder: ignore */ - char mTag[LL_MAX_PATH]; /* Flawfinder: ignore */ + char mURI[LL_MAX_PATH]; /* Flawfinder: ignore */ + char mAuthority[LL_MAX_PATH]; /* Flawfinder: ignore */ + char mPath[LL_MAX_PATH]; /* Flawfinder: ignore */ + char mFilename[LL_MAX_PATH]; /* Flawfinder: ignore */ + char mExtension[LL_MAX_PATH]; /* Flawfinder: ignore */ + char mTag[LL_MAX_PATH]; /* Flawfinder: ignore */ - static char sReturnString[LL_MAX_PATH]; /* Flawfinder: ignore */ + static char sReturnString[LL_MAX_PATH]; /* Flawfinder: ignore */ }; #endif // LL_LLURL_H |