27 #ifndef __SBURIPROPERTYINFO_H__
28 #define __SBURIPROPERTYINFO_H__
30 #include <sbIPropertyManager.h>
34 #include <nsStringGlue.h>
36 #include <nsIIOService.h>
44 NS_DECL_SBIURIPROPERTYINFO
52 NS_IMETHOD
Sanitize(
const nsAString &
aValue, nsAString & _retval);
53 NS_IMETHOD
Format(
const nsAString &
aValue, nsAString & _retval);
62 nsresult InitializeOperators();
64 PRLock* mURISchemeConstraintLock;
65 nsString mURISchemeConstraint;
67 PRLock* mIOServiceLock;
68 nsCOMPtr<nsIIOService> mIOService;
NS_IMETHOD Validate(const nsAString &aValue, PRBool *_retval)
The property information specific to URL/URI fields.
virtual ~sbURIPropertyInfo()
#define NS_FORWARD_SBIPROPERTYINFO_NOSPECIFICS(_to)
PRBool IsInvalidEmpty(const nsAString &aValue)
NS_IMETHOD Sanitize(const nsAString &aValue, nsAString &_retval)
NS_IMETHOD Format(const nsAString &aValue, nsAString &_retval)
NS_IMETHOD EnsureIOService()
NS_IMETHOD MakeSortable(const nsAString &aValue, nsAString &_retval)
NS_DECL_SBIURIPROPERTYINFO sbURIPropertyInfo()
NS_IMETHOD MakeSearchable(const nsAString &aValue, nsAString &_retval)