Commit 3dfc0ada authored by Vibhoothi's avatar Vibhoothi

libraryView: Make new Cocoa class for playQueue

Make new class with XIB file for having the playQueue and build them
parent 9a54ed54
......@@ -8,6 +8,7 @@
/* Begin PBXBuildFile section */
1106202421197CC6000039A8 /* VLCLibraryItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 1106202321197CC5000039A8 /* VLCLibraryItem.m */; };
111F330B214821D100A576E9 /* VLCPlayQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 111F3309214821D100A576E9 /* VLCPlayQueue.m */; };
11CE023120DBFE42008B0A7F /* VLCLibraryView.m in Sources */ = {isa = PBXBuildFile; fileRef = 11CE022F20DBFE41008B0A7F /* VLCLibraryView.m */; };
1C1C62011F8260A90052DD4F /* VLCWrappableTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 1C1C62001F8260A90052DD4F /* VLCWrappableTextField.m */; };
1C31138E1E508C6900D4DD76 /* VLCAboutWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1C67C8A71D58C0A40079E1C1 /* VLCAboutWindowController.m */; };
......@@ -141,6 +142,9 @@
1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
1106202221197CC5000039A8 /* VLCLibraryItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VLCLibraryItem.h; sourceTree = "<group>"; };
1106202321197CC5000039A8 /* VLCLibraryItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCLibraryItem.m; sourceTree = "<group>"; };
111F3308214821D100A576E9 /* VLCPlayQueue.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VLCPlayQueue.h; sourceTree = "<group>"; };
111F3309214821D100A576E9 /* VLCPlayQueue.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCPlayQueue.m; sourceTree = "<group>"; };
111F330A214821D100A576E9 /* VLCPlayQueue.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = VLCPlayQueue.xib; sourceTree = "<group>"; };
11CE022E20DBFE41008B0A7F /* VLCLibraryView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VLCLibraryView.h; sourceTree = "<group>"; };
11CE022F20DBFE41008B0A7F /* VLCLibraryView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCLibraryView.m; sourceTree = "<group>"; };
11CE023020DBFE42008B0A7F /* VLCLibraryView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = VLCLibraryView.xib; sourceTree = "<group>"; };
......@@ -638,6 +642,8 @@
11CC2FBA211068490091B834 /* LibraryView */ = {
isa = PBXGroup;
children = (
111F3308214821D100A576E9 /* VLCPlayQueue.h */,
111F3309214821D100A576E9 /* VLCPlayQueue.m */,
1106202221197CC5000039A8 /* VLCLibraryItem.h */,
1106202321197CC5000039A8 /* VLCLibraryItem.m */,
11CE022E20DBFE41008B0A7F /* VLCLibraryView.h */,
......@@ -1454,6 +1460,7 @@
6B8224131E4D2A9000833BE1 /* StreamOutput.xib */,
6B8224151E4D2A9000833BE1 /* TextfieldPanel.xib */,
6B8224161E4D2A9000833BE1 /* TimeSelectionPanel.xib */,
111F330A214821D100A576E9 /* VLCPlayQueue.xib */,
);
name = XIBs;
path = ../../../modules/gui/macosx/UI;
......@@ -1615,6 +1622,7 @@
6B4D50A71E7AB52C004479B5 /* NSScreen+VLCAdditions.m in Sources */,
1C3113DD1E508C6900D4DD76 /* VLCTrackSynchronizationWindowController.m in Sources */,
6B6FFF701EF9EC350001CEB1 /* CompatibilityFixes.m in Sources */,
111F330B214821D100A576E9 /* VLCPlayQueue.m in Sources */,
1C3113DF1E508C6900D4DD76 /* VLCVideoEffectsWindowController.m in Sources */,
1C3113E11E508C6900D4DD76 /* VLCVoutView.m in Sources */,
1C3113E31E508C6900D4DD76 /* VLCPlaylist.m in Sources */,
......
......@@ -96,7 +96,8 @@ libmacosx_plugin_la_SOURCES = \
gui/macosx/VLCVolumeSliderCell.h gui/macosx/VLCVolumeSliderCell.m \
gui/macosx/VLCWrappableTextField.h gui/macosx/VLCWrappableTextField.m \
gui/macosx/VLCLibraryView.h gui/macosx/VLCLibraryView.m \
gui/macosx/VLCLibraryItem.h gui/macosx/VLCLibraryItem.m
gui/macosx/VLCLibraryItem.h gui/macosx/VLCLibraryItem.m \
gui/macosx/VLCPlayQueue.h gui/macosx/VLCPlayQueue.m
# User interface compilation
......@@ -128,7 +129,8 @@ nodist_libmacosx_plugin_la_SOURCES = \
gui/macosx/UI/VideoEffects.nib \
gui/macosx/UI/VLCFullScreenPanel.nib \
gui/macosx/UI/VLCStatusBarIconMainMenu.nib \
gui/macosx/UI/VLCLibraryView.nib
gui/macosx/UI/VLCLibraryView.nib \
gui/macosx/UI/VLCPlayQueue.nib
EXTRA_DIST += \
gui/macosx/UI/About.xib \
......@@ -158,7 +160,8 @@ EXTRA_DIST += \
gui/macosx/UI/VideoEffects.xib \
gui/macosx/UI/VLCFullScreenPanel.xib \
gui/macosx/UI/VLCStatusBarIconMainMenu.xib \
gui/macosx/UI/VLCLibraryView.xib
gui/macosx/UI/VLCLibraryView.xib \
gui/macosx/UI/VLCPlayQueue.xib
xib_verbose = $(xib_verbose_$(V))
xib_verbose_ = $(xib_verbose__$(AM_DEFAULT_VERBOSITY))
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11134"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="VLCPlayQueue">
<connections>
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</customView>
</objects>
</document>
//
// VLCPlayQueue.h
// Pseudo-VLC
//
// Created by Vibhoothi on 11/09/18.
//
#import <Cocoa/Cocoa.h>
@interface VLCPlayQueue : NSCollectionViewItem
@end
//
// VLCPlayQueue.m
// Pseudo-VLC
//
// Created by Vibhoothi on 11/09/18.
//
#import "VLCPlayQueue.h"
@interface VLCPlayQueue ()
@end
@implementation VLCPlayQueue
- (void)viewDidLoad {
[super viewDidLoad];
// Do view setup here.
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment