diff --git a/src/frameworks/CoreServices/include/LaunchServices/LSSharedFile.h b/src/frameworks/CoreServices/include/LaunchServices/LSSharedFile.h new file mode 100644 index 000000000..d8ad39cb9 --- /dev/null +++ b/src/frameworks/CoreServices/include/LaunchServices/LSSharedFile.h @@ -0,0 +1,21 @@ +#ifndef LSSHAREDFILE_H +#define LSSHAREDFILE_H +#include + +extern const CFStringRef kLSSharedFileListFavoriteItems; +extern const CFStringRef kLSSharedFileListFavoriteVolumes; +extern const CFStringRef kLSSharedFileListGlobalLoginItems; +// extern const LSSharedFileListRef kLSSharedFileListItemBeforeFirst; +extern const CFStringRef kLSSharedFileListItemHidden; +// extern const LSSharedFileListItemRef kLSSharedFileListItemLast; +extern const CFStringRef kLSSharedFileListLoginItemHidden; +extern const CFStringRef kLSSharedFileListRecentApplicationItems; +extern const CFStringRef kLSSharedFileListRecentDocumentItems; +extern const CFStringRef kLSSharedFileListRecentItemsMaxAmount; +extern const CFStringRef kLSSharedFileListRecentServerItems; +extern const CFStringRef kLSSharedFileListSessionLoginItems; +extern const CFStringRef kLSSharedFileListVolumesComputerVisible; +extern const CFStringRef kLSSharedFileListVolumesIDiskVisible; +extern const CFStringRef kLSSharedFileListVolumesNetworkVisible; + +#endif diff --git a/src/frameworks/CoreServices/include/LaunchServices/LaunchServices.h b/src/frameworks/CoreServices/include/LaunchServices/LaunchServices.h index a233f7309..74bf9f998 100644 --- a/src/frameworks/CoreServices/include/LaunchServices/LaunchServices.h +++ b/src/frameworks/CoreServices/include/LaunchServices/LaunchServices.h @@ -3,6 +3,7 @@ #include #include +#include #include #include diff --git a/src/frameworks/CoreServices/src/LaunchServices/constants.c b/src/frameworks/CoreServices/src/LaunchServices/constants.c index 20913b7a2..b69984905 100644 --- a/src/frameworks/CoreServices/src/LaunchServices/constants.c +++ b/src/frameworks/CoreServices/src/LaunchServices/constants.c @@ -24,6 +24,22 @@ const CFStringRef _kLSExecutableFormatCFMKey = CFSTR("LSExecutableCFMFormat"); const CFStringRef _kLSASNKey = CFSTR("LSASN"); +const CFStringRef kLSSharedFileListFavoriteItems = CFSTR("com.apple.LSSharedFileList.FavoriteItems"); +const CFStringRef kLSSharedFileListFavoriteVolumes = CFSTR("com.apple.LSSharedFileList.FavoriteVolumes"); +const CFStringRef kLSSharedFileListGlobalLoginItems = CFSTR("com.apple.LSSharedFileList.GlobalLoginItems"); +// const LSSharedFileListRef kLSSharedFileListItemBeforeFirst; +const CFStringRef kLSSharedFileListItemHidden = CFSTR("com.apple.LSSharedFileList.ItemIsHidden"); +// const LSSharedFileListItemRef kLSSharedFileListItemLast; +const CFStringRef kLSSharedFileListLoginItemHidden = CFSTR("com.apple.loginitem.HideOnLaunch"); +const CFStringRef kLSSharedFileListRecentApplicationItems = CFSTR("com.apple.LSSharedFileList.RecentApplications"); +const CFStringRef kLSSharedFileListRecentDocumentItems = CFSTR("com.apple.LSSharedFileList.RecentDocuments"); +const CFStringRef kLSSharedFileListRecentItemsMaxAmount = CFSTR("com.apple.LSSharedFileList.MaxAmount"); +const CFStringRef kLSSharedFileListRecentServerItems = CFSTR("com.apple.LSSharedFileList.RecentServers"); +const CFStringRef kLSSharedFileListSessionLoginItems = CFSTR("com.apple.LSSharedFileList.SessionLoginItems"); +const CFStringRef kLSSharedFileListVolumesComputerVisible = CFSTR("com.apple.LSSharedFileList.FavoriteVolumes.ComputerIsVisible"); +const CFStringRef kLSSharedFileListVolumesIDiskVisible = CFSTR("com.apple.LSSharedFileList.FavoriteVolumes.iDiskIsVisible"); +const CFStringRef kLSSharedFileListVolumesNetworkVisible = CFSTR("com.apple.LSSharedFileList.FavoriteVolumes.NetworkIsVisible"); + const CFStringRef kUTExportedTypeDeclarationsKey = CFSTR("UTExportedTypeDeclarations"); const CFStringRef kUTImportedTypeDeclarationsKey = CFSTR("UTImportedTypeDeclarations"); const CFStringRef kUTTypeIdentifierKey = CFSTR("UTTypeIdentifier"); diff --git a/src/frameworks/CoreVideo/include/CoreVideo/CVPixelBuffer.h b/src/frameworks/CoreVideo/include/CoreVideo/CVPixelBuffer.h index 774365942..d1de0d2b8 100644 --- a/src/frameworks/CoreVideo/include/CoreVideo/CVPixelBuffer.h +++ b/src/frameworks/CoreVideo/include/CoreVideo/CVPixelBuffer.h @@ -70,6 +70,7 @@ enum kCVPixelFormatType_420YpCbCr8VideoRange_8A_TriPlanar = 'v0a8', }; +extern const CFStringRef kCVPixelBufferMetalCompatibilityKey; // TODO: This header file is incomplete #endif diff --git a/src/frameworks/CoreVideo/src/constants.c b/src/frameworks/CoreVideo/src/constants.c index e3b4354dd..71276a346 100644 --- a/src/frameworks/CoreVideo/src/constants.c +++ b/src/frameworks/CoreVideo/src/constants.c @@ -6,3 +6,4 @@ const CFStringRef kCVImageBufferChromaLocation_Left = CFSTR("Left"); const CFStringRef kCVPixelBufferIOSurfacePropertiesKey = CFSTR("IOSurfaceProperties"); const CFStringRef kCVPixelBufferOpenGLCompatibilityKey = CFSTR("OpenGLCompatibility"); const CFStringRef kCVPixelBufferPixelFormatTypeKey = CFSTR("PixelFormatType"); +const CFStringRef kCVPixelBufferMetalCompatibilityKey = CFSTR("MetalCompatibility");