Checking in new window effect frame, so I can begin moving the guts into it. Also...
[ITKit.git] / ITWindowEffect.h
diff --git a/ITWindowEffect.h b/ITWindowEffect.h
new file mode 100755 (executable)
index 0000000..bb1c3b8
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ *     ITKit
+ *  ITWindowEffect
+ *    Protocal and abstract superclass for performing effects on windows.
+ *
+ *  Original Author : Matt Judy <mjudy@ithinksw.com>
+ *   Responsibility : Matt Judy <mjudy@ithinksw.com>
+ *
+ *  Copyright (c) 2002 - 2003 iThink Software.
+ *  All Rights Reserved
+ *
+ */
+
+
+#import <Cocoa/Cocoa.h>
+
+
+@protocol ITWindowEffect
+
+- (void)performAppear;
+- (void)performVanish;
+
+@end
+
+
+@interface ITWindowEffect : NSObject <ITWindowEffect>
+{
+    NSWindow *_window;
+}
+
+// Designated initializer
+- (id)initWithWindow:(NSWindow *)window;
+
+- (NSWindow *)window;
+
+// setWindow: does not retain or release its window.  It simply references it.
+- (void)setWindow:(NSWindow *)newWindow;
+
+@end