ObjFW  Check-in [98caf8e26c]

Overview
Comment:Fix compiling as ObjC++
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 98caf8e26c1488a8aa019370defa3dbbe5364d6f3f85d61d9031a3a82339d778
User & Date: js on 2018-01-21 16:03:50
Other Links: manifest | tags
Context
2018-01-21
19:01
Update buildsys check-in: 5a98cf8a50 user: js tags: trunk
16:03
Fix compiling as ObjC++ check-in: 98caf8e26c user: js tags: trunk
15:14
Add test for -[OFValue isEqual:] check-in: 7edbe989ad user: js tags: trunk
Changes

Modified src/OFURLHandler.h from [d64beb198a] to [484eef6d84].

40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

/*!
 * @brief Registers the specified class as the handler for the specified scheme.
 *
 * If the same class is specified for two schemes, one instance of it is
 * created per scheme.
 *
 * @param class The class to register as the handler for the specified scheme
 * @param scheme The scheme for which to register the handler
 * @return Whether the class was successfully registered. If a handler for the
 *	   same scheme is already registered, registration fails.
 */
+ (bool)registerClass: (Class)class
	    forScheme: (OFString *)scheme;

/*!
 * @brief Returns the handler for the specified URL.
 *
 * @return The handler for the specified URL.
 */







|




|







40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

/*!
 * @brief Registers the specified class as the handler for the specified scheme.
 *
 * If the same class is specified for two schemes, one instance of it is
 * created per scheme.
 *
 * @param class_ The class to register as the handler for the specified scheme
 * @param scheme The scheme for which to register the handler
 * @return Whether the class was successfully registered. If a handler for the
 *	   same scheme is already registered, registration fails.
 */
+ (bool)registerClass: (Class)class_
	    forScheme: (OFString *)scheme;

/*!
 * @brief Returns the handler for the specified URL.
 *
 * @return The handler for the specified URL.
 */