Source

pyobjc / pyobjc-framework-Cocoa / Modules / _AppKit_protocols.m

Full commit
/* 
 * This file is generated by objective.metadata
 *
 * Last update: Wed Jan 16 13:13:20 2013
 */

static void __attribute__((__used__)) use_protocols(void)
{
    PyObject* p;
#if PyObjC_BUILD_RELEASE >= 1006
    p = PyObjC_IdToPython(@protocol(NSAlertDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSAnimatablePropertyContainer)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSAnimationDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSApplicationDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSBrowserDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSChangeSpelling)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSCollectionViewDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSColorPickingCustom)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSColorPickingDefault)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSComboBoxCellDataSource)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSComboBoxDataSource)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSComboBoxDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSControlTextEditingDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSDatePickerCellDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSDockTilePlugIn)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSDraggingInfo)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSDrawerDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSGlyphStorage)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSIgnoreMisspelledWords)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSImageDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSInputServerMouseTracker)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSInputServiceProvider)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSLayoutManagerDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSMatrixDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSMenuDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSOpenSavePanelDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSOutlineViewDataSource)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSOutlineViewDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSPasteboardItemDataProvider)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSPasteboardReading)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSPasteboardWriting)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSPathCellDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSPathControlDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSPrintPanelAccessorizing)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSRuleEditorDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSSoundDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSSpeechRecognizerDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSSpeechSynthesizerDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSSplitViewDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTabViewDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTableViewDataSource)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTableViewDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextAttachmentCell)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextFieldDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextInput)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextInputClient)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextStorageDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextViewDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTokenFieldCellDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTokenFieldDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSToolbarDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSUserInterfaceItemSearching)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSUserInterfaceValidations)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSValidatedUserInterfaceItem)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSWindowDelegate)); Py_XDECREF(p);
#endif /* PyObjC_BUILD_RELEASE >= 1006 */
#if PyObjC_BUILD_RELEASE >= 1007
    p = PyObjC_IdToPython(@protocol(NSDraggingDestination)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSDraggingSource)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSPopoverDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextFinderBarContainer)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextFinderClient)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSTextLayoutOrientationProvider)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSUserInterfaceItemIdentification)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSWindowRestoration)); Py_XDECREF(p);
#endif /* PyObjC_BUILD_RELEASE >= 1007 */
#if PyObjC_BUILD_RELEASE >= 1008
    p = PyObjC_IdToPython(@protocol(NSPageControllerDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSSharingServiceDelegate)); Py_XDECREF(p);
    p = PyObjC_IdToPython(@protocol(NSSharingServicePickerDelegate)); Py_XDECREF(p);
#endif /* PyObjC_BUILD_RELEASE >= 1008 */
}