-extern CGError CGSSetWindowProperty(const CGSConnectionID cid,
- CGSWindowID wid, const CGSValueObj key, const CGSValueObj value);
+extern CGError CGSSetWindowProperty(const CGSConnectionID cid, CGSWindowID wid, const CGSValueObj key, const CGSValueObj value);
+
+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
+
+