⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nsiuri.h

📁 linux下的一款播放器
💻 H
📖 第 1 页 / 共 2 页
字号:
  NS_IMETHOD GetPassword(nsACString & aPassword); \  NS_IMETHOD SetPassword(const nsACString & aPassword); \  NS_IMETHOD GetHostPort(nsACString & aHostPort); \  NS_IMETHOD SetHostPort(const nsACString & aHostPort); \  NS_IMETHOD GetHost(nsACString & aHost); \  NS_IMETHOD SetHost(const nsACString & aHost); \  NS_IMETHOD GetPort(PRInt32 *aPort); \  NS_IMETHOD SetPort(PRInt32 aPort); \  NS_IMETHOD GetPath(nsACString & aPath); \  NS_IMETHOD SetPath(const nsACString & aPath); \  NS_IMETHOD Equals(nsIURI *other, PRBool *_retval); \  NS_IMETHOD SchemeIs(const char *scheme, PRBool *_retval); \  NS_IMETHOD Clone(nsIURI **_retval); \  NS_IMETHOD Resolve(const nsACString & relativePath, nsACString & _retval); \  NS_IMETHOD GetAsciiSpec(nsACString & aAsciiSpec); \  NS_IMETHOD GetAsciiHost(nsACString & aAsciiHost); \  NS_IMETHOD GetOriginCharset(nsACString & aOriginCharset); /* Use this macro to declare functions that forward the behavior of this interface to another object. */#define NS_FORWARD_NSIURI(_to) \  NS_IMETHOD GetSpec(nsACString & aSpec) { return _to GetSpec(aSpec); } \  NS_IMETHOD SetSpec(const nsACString & aSpec) { return _to SetSpec(aSpec); } \  NS_IMETHOD GetPrePath(nsACString & aPrePath) { return _to GetPrePath(aPrePath); } \  NS_IMETHOD GetScheme(nsACString & aScheme) { return _to GetScheme(aScheme); } \  NS_IMETHOD SetScheme(const nsACString & aScheme) { return _to SetScheme(aScheme); } \  NS_IMETHOD GetUserPass(nsACString & aUserPass) { return _to GetUserPass(aUserPass); } \  NS_IMETHOD SetUserPass(const nsACString & aUserPass) { return _to SetUserPass(aUserPass); } \  NS_IMETHOD GetUsername(nsACString & aUsername) { return _to GetUsername(aUsername); } \  NS_IMETHOD SetUsername(const nsACString & aUsername) { return _to SetUsername(aUsername); } \  NS_IMETHOD GetPassword(nsACString & aPassword) { return _to GetPassword(aPassword); } \  NS_IMETHOD SetPassword(const nsACString & aPassword) { return _to SetPassword(aPassword); } \  NS_IMETHOD GetHostPort(nsACString & aHostPort) { return _to GetHostPort(aHostPort); } \  NS_IMETHOD SetHostPort(const nsACString & aHostPort) { return _to SetHostPort(aHostPort); } \  NS_IMETHOD GetHost(nsACString & aHost) { return _to GetHost(aHost); } \  NS_IMETHOD SetHost(const nsACString & aHost) { return _to SetHost(aHost); } \  NS_IMETHOD GetPort(PRInt32 *aPort) { return _to GetPort(aPort); } \  NS_IMETHOD SetPort(PRInt32 aPort) { return _to SetPort(aPort); } \  NS_IMETHOD GetPath(nsACString & aPath) { return _to GetPath(aPath); } \  NS_IMETHOD SetPath(const nsACString & aPath) { return _to SetPath(aPath); } \  NS_IMETHOD Equals(nsIURI *other, PRBool *_retval) { return _to Equals(other, _retval); } \  NS_IMETHOD SchemeIs(const char *scheme, PRBool *_retval) { return _to SchemeIs(scheme, _retval); } \  NS_IMETHOD Clone(nsIURI **_retval) { return _to Clone(_retval); } \  NS_IMETHOD Resolve(const nsACString & relativePath, nsACString & _retval) { return _to Resolve(relativePath, _retval); } \  NS_IMETHOD GetAsciiSpec(nsACString & aAsciiSpec) { return _to GetAsciiSpec(aAsciiSpec); } \  NS_IMETHOD GetAsciiHost(nsACString & aAsciiHost) { return _to GetAsciiHost(aAsciiHost); } \  NS_IMETHOD GetOriginCharset(nsACString & aOriginCharset) { return _to GetOriginCharset(aOriginCharset); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */#define NS_FORWARD_SAFE_NSIURI(_to) \  NS_IMETHOD GetSpec(nsACString & aSpec) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpec(aSpec); } \  NS_IMETHOD SetSpec(const nsACString & aSpec) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSpec(aSpec); } \  NS_IMETHOD GetPrePath(nsACString & aPrePath) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrePath(aPrePath); } \  NS_IMETHOD GetScheme(nsACString & aScheme) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScheme(aScheme); } \  NS_IMETHOD SetScheme(const nsACString & aScheme) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScheme(aScheme); } \  NS_IMETHOD GetUserPass(nsACString & aUserPass) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserPass(aUserPass); } \  NS_IMETHOD SetUserPass(const nsACString & aUserPass) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUserPass(aUserPass); } \  NS_IMETHOD GetUsername(nsACString & aUsername) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsername(aUsername); } \  NS_IMETHOD SetUsername(const nsACString & aUsername) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUsername(aUsername); } \  NS_IMETHOD GetPassword(nsACString & aPassword) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPassword(aPassword); } \  NS_IMETHOD SetPassword(const nsACString & aPassword) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPassword(aPassword); } \  NS_IMETHOD GetHostPort(nsACString & aHostPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHostPort(aHostPort); } \  NS_IMETHOD SetHostPort(const nsACString & aHostPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHostPort(aHostPort); } \  NS_IMETHOD GetHost(nsACString & aHost) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHost(aHost); } \  NS_IMETHOD SetHost(const nsACString & aHost) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHost(aHost); } \  NS_IMETHOD GetPort(PRInt32 *aPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPort(aPort); } \  NS_IMETHOD SetPort(PRInt32 aPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPort(aPort); } \  NS_IMETHOD GetPath(nsACString & aPath) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPath(aPath); } \  NS_IMETHOD SetPath(const nsACString & aPath) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPath(aPath); } \  NS_IMETHOD Equals(nsIURI *other, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Equals(other, _retval); } \  NS_IMETHOD SchemeIs(const char *scheme, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->SchemeIs(scheme, _retval); } \  NS_IMETHOD Clone(nsIURI **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \  NS_IMETHOD Resolve(const nsACString & relativePath, nsACString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Resolve(relativePath, _retval); } \  NS_IMETHOD GetAsciiSpec(nsACString & aAsciiSpec) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAsciiSpec(aAsciiSpec); } \  NS_IMETHOD GetAsciiHost(nsACString & aAsciiHost) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAsciiHost(aAsciiHost); } \  NS_IMETHOD GetOriginCharset(nsACString & aOriginCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginCharset(aOriginCharset); } #if 0/* Use the code below as a template for the implementation class for this interface. *//* Header file */class nsURI : public nsIURI{public:  NS_DECL_ISUPPORTS  NS_DECL_NSIURI  nsURI();  virtual ~nsURI();  /* additional members */};/* Implementation file */NS_IMPL_ISUPPORTS1(nsURI, nsIURI)nsURI::nsURI(){  /* member initializers and constructor code */}nsURI::~nsURI(){  /* destructor code */}/* attribute AUTF8String spec; */NS_IMETHODIMP nsURI::GetSpec(nsACString & aSpec){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetSpec(const nsACString & aSpec){    return NS_ERROR_NOT_IMPLEMENTED;}/* readonly attribute AUTF8String prePath; */NS_IMETHODIMP nsURI::GetPrePath(nsACString & aPrePath){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute ACString scheme; */NS_IMETHODIMP nsURI::GetScheme(nsACString & aScheme){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetScheme(const nsACString & aScheme){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute AUTF8String userPass; */NS_IMETHODIMP nsURI::GetUserPass(nsACString & aUserPass){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetUserPass(const nsACString & aUserPass){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute AUTF8String username; */NS_IMETHODIMP nsURI::GetUsername(nsACString & aUsername){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetUsername(const nsACString & aUsername){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute AUTF8String password; */NS_IMETHODIMP nsURI::GetPassword(nsACString & aPassword){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetPassword(const nsACString & aPassword){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute AUTF8String hostPort; */NS_IMETHODIMP nsURI::GetHostPort(nsACString & aHostPort){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetHostPort(const nsACString & aHostPort){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute AUTF8String host; */NS_IMETHODIMP nsURI::GetHost(nsACString & aHost){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetHost(const nsACString & aHost){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute long port; */NS_IMETHODIMP nsURI::GetPort(PRInt32 *aPort){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetPort(PRInt32 aPort){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute AUTF8String path; */NS_IMETHODIMP nsURI::GetPath(nsACString & aPath){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsURI::SetPath(const nsACString & aPath){    return NS_ERROR_NOT_IMPLEMENTED;}/* boolean equals (in nsIURI other); */NS_IMETHODIMP nsURI::Equals(nsIURI *other, PRBool *_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* boolean schemeIs (in string scheme); */NS_IMETHODIMP nsURI::SchemeIs(const char *scheme, PRBool *_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* nsIURI clone (); */NS_IMETHODIMP nsURI::Clone(nsIURI **_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* AUTF8String resolve (in AUTF8String relativePath); */NS_IMETHODIMP nsURI::Resolve(const nsACString & relativePath, nsACString & _retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* readonly attribute ACString asciiSpec; */NS_IMETHODIMP nsURI::GetAsciiSpec(nsACString & aAsciiSpec){    return NS_ERROR_NOT_IMPLEMENTED;}/* readonly attribute ACString asciiHost; */NS_IMETHODIMP nsURI::GetAsciiHost(nsACString & aAsciiHost){    return NS_ERROR_NOT_IMPLEMENTED;}/* readonly attribute ACString originCharset; */NS_IMETHODIMP nsURI::GetOriginCharset(nsACString & aOriginCharset){    return NS_ERROR_NOT_IMPLEMENTED;}/* End of implementation class template. */#endif#endif /* __gen_nsIURI_h__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -