diff options
Diffstat (limited to 'indra/llwindow/llwindowmacosx-objc.h')
-rw-r--r-- | indra/llwindow/llwindowmacosx-objc.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.h b/indra/llwindow/llwindowmacosx-objc.h new file mode 100644 index 0000000000..86ac74ff1f --- /dev/null +++ b/indra/llwindow/llwindowmacosx-objc.h @@ -0,0 +1,19 @@ +/** + * @file llwindowmacosx-objc.h + * @brief Prototypes for functions shared between llwindowmacosx.cpp + * and llwindowmacosx-objc.mm. + * + * Copyright (c) 2006-$CurrentYear$, Linden Research, Inc. + * $License$ + */ + + +// This will actually hold an NSCursor*, but that type is only available in objective C. +typedef void *CursorRef; + +/* Defined in llwindowmacosx-objc.mm: */ +void setupCocoa(); +CursorRef createImageCursor(const char *fullpath, int hotspotX, int hotspotY); +OSErr releaseImageCursor(CursorRef ref); +OSErr setImageCursor(CursorRef ref); + |