ObjFW  Diff

Differences From Artifact [989d18b1da]:

To Artifact [cdcbb64a84]:


20
21
22
23
24
25
26
27
28


29
30
31
32


33
34

35
36
37
38
39


40
41

42
43
44
20
21
22
23
24
25
26


27
28
29
30


31
32
33

34
35
36
37


38
39
40

41
42
43
44







-
-
+
+


-
-
+
+

-
+



-
-
+
+

-
+



extern "C" {
#endif
extern int _OFString_URLEncoding_reference;
#ifdef __cplusplus
}
#endif

/**
 * \brief A category which provides URL encoding and decoding.
/*!
 * @brief A category which provides URL encoding and decoding.
 */
@interface OFString (URLEncoding)
/**
 * \brief Encodes a string for use in a URL.
/*!
 * @brief Encodes a string for use in a URL.
 *
 * \return A new autoreleased string
 * @return A new autoreleased string
 */
- (OFString*)stringByURLEncoding;

/**
 * \brief Decodes a string used in a URL.
/*!
 * @brief Decodes a string used in a URL.
 *
 * \return A new autoreleased string
 * @return A new autoreleased string
 */
- (OFString*)stringByURLDecoding;
@end