PageRenderTime 32ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llwindow/llwindowmacosx-objc.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 37 lines | 5 code | 4 blank | 28 comment | 0 complexity | 128abb1bbb2ef2b28266d2ffc0005b62 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llwindowmacosx-objc.h
  3. * @brief Prototypes for functions shared between llwindowmacosx.cpp
  4. * and llwindowmacosx-objc.mm.
  5. *
  6. * $LicenseInfo:firstyear=2006&license=viewerlgpl$
  7. * Second Life Viewer Source Code
  8. * Copyright (C) 2010, Linden Research, Inc.
  9. *
  10. * This library is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU Lesser General Public
  12. * License as published by the Free Software Foundation;
  13. * version 2.1 of the License only.
  14. *
  15. * This library is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. * Lesser General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU Lesser General Public
  21. * License along with this library; if not, write to the Free Software
  22. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. *
  24. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  25. * $/LicenseInfo$
  26. */
  27. // This will actually hold an NSCursor*, but that type is only available in objective C.
  28. typedef void *CursorRef;
  29. /* Defined in llwindowmacosx-objc.mm: */
  30. void setupCocoa();
  31. CursorRef createImageCursor(const char *fullpath, int hotspotX, int hotspotY);
  32. OSErr releaseImageCursor(CursorRef ref);
  33. OSErr setImageCursor(CursorRef ref);