ObjFW  Diff

Differences From Artifact [d127c108c6]:

To Artifact [f9012f2216]:


27
28
29
30
31
32
33


34
35
36

37
38
39
40
41


42
43
44

45
46
47
48
49
50

51
52
53
54
55
56
57
58
59
60

61
62
63
64
65
66
67
68
69


70
71
72
73
74


75
76
77
78
27
28
29
30
31
32
33
34
35
36
37

38
39
40
41
42
43
44
45
46
47

48
49
50
51
52
53

54
55
56
57
58
59
60
61
62
63

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86







+
+


-
+





+
+


-
+





-
+









-
+









+
+





+
+





#ifdef OF_HAVE_PROPERTIES
@property (readonly, copy, nonatomic, getter=namespace) OFString *ns;
@property (readonly, copy, nonatomic) OFString *prefix;
#endif

/**
 * \brief Creates a new, autoreleased unbound namespace exception.
 *
 * \param class_ The class of the object which caused the exception
 * \param ns The namespace which is unbound
 * \return A new unbound namespace exception
 * \return A new, autoreleased unbound namespace exception
 */
+ (instancetype)exceptionWithClass: (Class)class_
			 namespace: (OFString*)ns;

/**
 * \brief Creates a new, autoreleased unbound namespace exception.
 *
 * \param class_ The class of the object which caused the exception
 * \param prefix The prefix which is unbound
 * \return A new unbound namespace exception
 * \return A new, autoreleased unbound namespace exception
 */
+ (instancetype)exceptionWithClass: (Class)class_
			    prefix: (OFString*)prefix;

/**
 * Initializes an already allocated unbound namespace exception
 * \brief Initializes an already allocated unbound namespace exception.
 *
 * \param class_ The class of the object which caused the exception
 * \param ns The namespace which is unbound
 * \return An initialized unbound namespace exception
 */
- initWithClass: (Class)class_
      namespace: (OFString*)ns;

/**
 * Initializes an already allocated unbound namespace exception
 * \brief Initializes an already allocated unbound namespace exception.
 *
 * \param class_ The class of the object which caused the exception
 * \param prefix The prefix which is unbound
 * \return An initialized unbound namespace exception
 */
- initWithClass: (Class)class_
	 prefix: (OFString*)prefix;

/**
 * \brief Returns the unbound namespace.
 *
 * \return The unbound namespace
 */
- (OFString*)namespace;

/**
 * \brief Returns the unbound prefix.
 *
 * \return The unbound prefix
 */
- (OFString*)prefix;
@end