1 #import <ObjFW/OFObject.h>
6 extern int _OFObject_JubGlibThread_reference;
12 * @brief A category that provides methods for running selectors
15 @interface OFObject (JubGLibThread)
17 * @brief Performs the specified selector on the GLib thread.
19 * @param selector The selector to perform
21 - (void)performSelectorOnGLibThread: (SEL)selector;
24 * @brief Performs the specified selector on the GLib thread with the specified
27 * @param selector The selector to perform
28 * @param object The object that is passed to the method specified by the
31 - (void)performSelectorOnGLibThread: (SEL)selector
32 withObject: (id)object;
35 * @brief Performs the specified selector on the GLib thread with the specified
38 * @param selector The selector to perform
39 * @param object1 The first object that is passed to the method specified by the
41 * @param object2 The second object that is passed to the method specified by
44 - (void)performSelectorOnGLibThread: (SEL)selector
45 withObject: (id)object1
46 withObject: (id)object2;