Browse Source

macosx: Add VLCLibraryItemPresentingCapable

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
pull/177/head
Claudio Cambra 2 years ago
committed by Steve Lhomme
parent
commit
659c46e29b
  1. 2
      extras/package/macosx/VLC.xcodeproj/project.pbxproj
  2. 1
      modules/gui/macosx/Makefile.am
  3. 35
      modules/gui/macosx/library/VLCLibraryItemPresentingCapable.h

2
extras/package/macosx/VLC.xcodeproj/project.pbxproj

@ -331,6 +331,7 @@
532CBCFD2C8E025F00899413 /* VLCLibraryDataSource.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VLCLibraryDataSource.h; sourceTree = "<group>"; };
533B5D2A29CF94C6003DE887 /* VLCBookmarksTableViewDataSource.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VLCBookmarksTableViewDataSource.h; sourceTree = "<group>"; };
533B5D2B29CF94C6003DE887 /* VLCBookmarksTableViewDataSource.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCBookmarksTableViewDataSource.m; sourceTree = "<group>"; };
533D20432D549D2400AB146F /* VLCLibraryItemPresentingCapable.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VLCLibraryItemPresentingCapable.h; sourceTree = "<group>"; };
5341F1472C96E544003BDF0A /* VLCLibraryWindowChaptersView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = VLCLibraryWindowChaptersView.xib; sourceTree = "<group>"; };
5341F1482C9757EF003BDF0A /* VLCLibraryWindowChaptersSidebarViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VLCLibraryWindowChaptersSidebarViewController.h; sourceTree = "<group>"; };
5341F1492C9757EF003BDF0A /* VLCLibraryWindowChaptersSidebarViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCLibraryWindowChaptersSidebarViewController.m; sourceTree = "<group>"; };
@ -1384,6 +1385,7 @@
7DFBDCAA2269E77F00B700A5 /* VLCLibraryModel.m */,
53D8ED982B583AAF00142EAD /* VLCLibraryModelChangeDelegate.h */,
53D8ED992B583AAF00142EAD /* VLCLibraryModelChangeDelegate.m */,
533D20432D549D2400AB146F /* VLCLibraryItemPresentingCapable.h */,
530771F22AEBB80C00656D3D /* VLCLibraryRepresentedItem.h */,
530771F32AEBBD5B00656D3D /* VLCLibraryRepresentedItem.m */,
531343E82A8E8965007AEDFA /* VLCLibrarySegment.h */,

1
modules/gui/macosx/Makefile.am

@ -135,6 +135,7 @@ libmacosx_plugin_la_SOURCES = \
gui/macosx/library/VLCLibraryImageCache.m \
gui/macosx/library/VLCLibraryItemInternalMediaItemsDataSource.h \
gui/macosx/library/VLCLibraryItemInternalMediaItemsDataSource.m \
gui/macosx/library/VLCLibraryItemPresentingCapable.h \
gui/macosx/library/VLCLibraryMasterDetailViewTableViewDataSource.h \
gui/macosx/library/VLCLibraryMasterDetailViewTableViewDelegate.h \
gui/macosx/library/VLCLibraryMasterDetailViewTableViewDelegate.m \

35
modules/gui/macosx/library/VLCLibraryItemPresentingCapable.h

@ -0,0 +1,35 @@
/*****************************************************************************
* VLCLibraryItemPresentingCapable.h: MacOS X interface module
*****************************************************************************
* Copyright (C) 2025 VLC authors and VideoLAN
*
* Authors: Claudio Cambra <developer@claudiocambra.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol VLCMediaLibraryItemProtocol;
@protocol VLCLibraryItemPresentingCapable
- (void)presentLibraryItem:(id<VLCMediaLibraryItemProtocol>)libraryItem;
@end
NS_ASSUME_NONNULL_END
Loading…
Cancel
Save