diff --git a/basis/cocoa/callbacks/authors.txt b/basis/cocoa/callbacks/authors.txt deleted file mode 100644 index 30212305ba..0000000000 --- a/basis/cocoa/callbacks/authors.txt +++ /dev/null @@ -1 +0,0 @@ -Kevin P. Reid diff --git a/basis/cocoa/callbacks/callbacks.factor b/basis/cocoa/callbacks/callbacks.factor deleted file mode 100644 index 87b5f628a9..0000000000 --- a/basis/cocoa/callbacks/callbacks.factor +++ /dev/null @@ -1,33 +0,0 @@ -! Copyright (C) 2005, 2006 Kevin Reid. -! See http://factorcode.org/license.txt for BSD license. -USING: alien.c-types assocs kernel namespaces cocoa -cocoa.classes cocoa.runtime cocoa.subclassing debugger ; -IN: cocoa.callbacks - -SYMBOL: callbacks - -: reset-callbacks ( -- ) - H{ } clone callbacks set-global ; - -reset-callbacks - -CLASS: { - { +name+ "FactorCallback" } - { +superclass+ "NSObject" } -} - -{ "perform:" void { id SEL id } - [ 2drop callbacks get at try ] -} - -{ "dealloc" void { id SEL } - [ - drop - dup callbacks get delete-at - SUPER-> dealloc - ] -} ; - -: ( quot -- id ) - FactorCallback -> alloc -> init - [ callbacks get set-at ] keep ; diff --git a/basis/cocoa/callbacks/platforms.txt b/basis/cocoa/callbacks/platforms.txt deleted file mode 100644 index 6e806f449e..0000000000 --- a/basis/cocoa/callbacks/platforms.txt +++ /dev/null @@ -1 +0,0 @@ -macosx diff --git a/basis/cocoa/callbacks/summary.txt b/basis/cocoa/callbacks/summary.txt deleted file mode 100644 index 0e0fad55b2..0000000000 --- a/basis/cocoa/callbacks/summary.txt +++ /dev/null @@ -1 +0,0 @@ -Allows you to use Factor quotations as Cocoa actions