Added ITSplashScreen stuff. Added ITSplashScreen.h to ITKit header.
[ITKit.git] / ITSplashScreen.h
diff --git a/ITSplashScreen.h b/ITSplashScreen.h
new file mode 100644 (file)
index 0000000..40ac83c
--- /dev/null
@@ -0,0 +1,25 @@
+/* ITSplashScreen */
+
+#import <Cocoa/Cocoa.h>
+
+@class ITSplashWindow, ITSplashView;
+
+@interface ITSplashScreen : NSObject
+{
+       NSTimer *_fadeTimer;
+       ITSplashWindow *_window;
+       ITSplashView *_view;
+}
++ (ITSplashScreen *)sharedController;
+
+- (double)progressValue;
+- (void)setProgressValue:(double)progress;
+- (NSImage *)image;
+- (void)setImage:(NSImage *)image;
+- (NSString *)string;
+- (void)setString:(NSString *)string;
+- (void)setSettingsPath:(NSString *)path;
+
+- (void)showSplashWindow;
+- (void)closeSplashWindow;
+@end