import module org.openxtalk.library.macosnativeapptools
  use com.livecode.objc
  use com.livecode.foreign
  use com.livecode.engine
  use com.livecode.arithmetic
  use com.livecode.binary
  use com.livecode.list
  use com.livecode.logic
  use com.livecode.string
  use com.livecode.type
  use com.livecode.byte
  use com.livecode.char
  use com.livecode.math
  use com.livecode.array
  use com.livecode.system
  use com.livecode.bitwise
  foreign type CGSize
  foreign type NSRect
  foreign type CGImageRef
  foreign type CGPoint
  foreign type NSRange
  handler getIntegerFromFourCharCodeLittleEndian(in pStr as String) returns optional Uint32
  handler getIntegerFromFourCharCodeBigEndian(in pStr as String) returns optional Uint32
  handler getFourCharCodeFromUint32(in pNum as optional any) returns optional String
  handler getBitFeild(in pNum as optional any) returns optional String
  handler macOSVersion() returns String
  handler appleScriptObjTests(in pAppleScript as String) returns any
  handler GetrCurrentUserHome() returns any
  handler RevealFileInFinder(in pFilePath as String) returns Boolean
  handler GetHFSCreatorTypeCodesOfFile(in pAppleScript as String) returns any
  handler SetHFSCreatorCodeOfFile(in pPathToFile as String, in pFourCharOSType as String) returns any
  handler SetHFSTypeCodeOfFile(in pPathToFile as String, in pFourCharOSType as String) returns any
  handler SetDockTileBadge(in badgeText as String) returns nothing
  handler SetDockTileImage(in pImageScriptObj as optional String) returns nothing
  handler RequestUserAttention(in criticalRequest as Boolean) returns nothing
  handler DownloadFileFinished(in badgeText as String) returns nothing
  handler FullScreenAllowed(in windowID as Number, in isAllowed as Boolean) returns nothing
  handler IsFullScreenAllowed(in windowID as Number) returns Boolean
  handler ToggleFullScreen(in windowID as Number) returns nothing
  handler setWindowToDarkMode(in windowID as Number) returns nothing
  handler getNSWindowFrameRect(in pWindowID as Number) returns String
  handler setWindowToLightMode(in windowID as Number) returns nothing
  handler setAppToDarkMode() returns optional any
  handler setAppToLightMode() returns optional any
  handler PostUserNotification(in postTitle as String, in subTitle as optional String, in informativeText as optional String, in postIdentifier as optional String, in soundName as optional String) returns nothing
  handler MiniaturizeAll() returns nothing
  handler PerformMiniaturize(in windowID as Number) returns nothing
  handler Deminiaturize(in windowID as Number) returns nothing
  handler IsMiniaturized(in windowID as Number) returns Boolean
  handler AppHide() returns nothing
  handler UnifyTitleAndToolbar(in windowID as Number) returns nothing
  handler MergeWindowWithWindow(in pTargetWindowID as Number, in pMergeWindowID as Number) returns nothing
  handler MergeAllWindows(in windowID as Number) returns nothing
  handler AppUnhide() returns nothing
  handler GetFrontmostApplication(in pReturnType as optional String) returns any
  handler GetRunningApplications() returns String
end module
