Another cleanup that doesn't seem to actually help
[ITKit.git] / ITCoreGraphicsHacks.h
index 3f51306..a07942b 100755 (executable)
@@ -3,17 +3,18 @@
  *  ITCoreGraphicsHacks
  *    Header to import to work with private CoreGraphics API
  *
- *  Original Author : Matt Judy <mjudy@ithinksw.com>
- *   Responsibility : Matt Judy <mjudy@ithinksw.com>
+ *  Original Author : Matthew Judy <mjudy@ithinksw.com>
+ *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
  *
  *  Copyright (c) 2002 - 2003 iThink Software.
  *  All Rights Reserved
  *
  */
 
+
 /*************************************************************************/
 #pragma mark -
-#pragma mark CoreGraphics HACKS
+#pragma mark CoreGraphics HACK HACK HACK
 /*************************************************************************/
 
 typedef void * CGSGenericObj;
@@ -47,3 +48,15 @@ extern CGError     CGSSetWindowProperty(const CGSConnectionID cid, CGSWindowID w
                                         
 extern CGError CGSSetWindowWarp(const CGSConnectionID cid, CGSWindowID wid, int w,int h, float *mesh);
 extern CGError CGSSetWindowTransform(const CGSConnectionID cid, CGSWindowID wid, CGAffineTransform transform);
+
+
+/*************************************************************************/
+#pragma mark -
+#pragma mark NSApplication HACK HACK HACK
+/*************************************************************************/
+
+@interface NSApplication (HACKHACKHACKHACK)
+- (CGSConnectionID)contextID;
+@end
+
+