1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2008-2021 Jonathan Schleifer <js@nil.im>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE.QPL included in
* the packaging of this file.
*
|
|
|
1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2008-2022 Jonathan Schleifer <js@nil.im>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE.QPL included in
* the packaging of this file.
*
|
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
|
#endif
/*!
* @brief Returns the next list item of the list item.
*
* @param listItem The list item for which the next list item should be returned
* @return The next list item of the list item
*/
OFListItem OFListItemNext(OFListItem _Nonnull listItem);
/*!
* @brief Returns the previous list item of the list item.
*
* @param listItem The list item for which the previous list item should be
* returned
* @return The previous list item of the list item
*/
OFListItem OFListItemPrevious(OFListItem _Nonnull listItem);
/*!
* @brief Returns the object of the list item.
*
* @warning The returned object is not retained and autoreleased - this is the
* caller's responsibility!
*
* @param listItem The list item for which the object should be returned
* @return The object of the list item
*/
id OFListItemObject(OFListItem _Nonnull listItem);
#ifdef __cplusplus
}
#endif
/**
* @class OFList OFList.h ObjFW/OFList.h
*
|
|
|
|
|
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
|
#endif
/*!
* @brief Returns the next list item of the list item.
*
* @param listItem The list item for which the next list item should be returned
* @return The next list item of the list item
*/
extern OFListItem _Nullable OFListItemNext(OFListItem _Nonnull listItem);
/*!
* @brief Returns the previous list item of the list item.
*
* @param listItem The list item for which the previous list item should be
* returned
* @return The previous list item of the list item
*/
extern OFListItem _Nullable OFListItemPrevious(OFListItem _Nonnull listItem);
/*!
* @brief Returns the object of the list item.
*
* @warning The returned object is not retained and autoreleased - this is the
* caller's responsibility!
*
* @param listItem The list item for which the object should be returned
* @return The object of the list item
*/
extern id _Nonnull OFListItemObject(OFListItem _Nonnull listItem);
#ifdef __cplusplus
}
#endif
/**
* @class OFList OFList.h ObjFW/OFList.h
*
|