[vlc-commits] macosx: Rename to VLCKeyboardBlacklightControl
David Fuhrmann
git at videolan.org
Fri Sep 2 00:03:48 CEST 2016
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Sep 1 17:12:34 2016 +0200| [2c9af700a1540701b60210ecb2bdc080cc429196] | committer: David Fuhrmann
macosx: Rename to VLCKeyboardBlacklightControl
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c9af700a1540701b60210ecb2bdc080cc429196
---
extras/package/macosx/vlc.xcodeproj/project.pbxproj | 12 ++++++++----
modules/gui/macosx/Makefile.am | 2 +-
.../{KeyboardBacklight.h => VLCKeyboardBacklightControl.h} | 4 ++--
.../{KeyboardBacklight.m => VLCKeyboardBacklightControl.m} | 6 +++---
modules/gui/macosx/VLCVoutWindowController.h | 2 +-
modules/gui/macosx/VLCVoutWindowController.m | 4 ++--
6 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/extras/package/macosx/vlc.xcodeproj/project.pbxproj b/extras/package/macosx/vlc.xcodeproj/project.pbxproj
index 22c1fc3..194b788 100644
--- a/extras/package/macosx/vlc.xcodeproj/project.pbxproj
+++ b/extras/package/macosx/vlc.xcodeproj/project.pbxproj
@@ -31,6 +31,8 @@
1C67C8A91D58EC1B0079E1C1 /* VLCPLItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DF812F21B5599E40052293C /* VLCPLItem.m */; };
1C67C8AA1D58EC1E0079E1C1 /* VLCPLModel.h in Sources */ = {isa = PBXBuildFile; fileRef = 7DF812F31B5599E40052293C /* VLCPLModel.h */; };
1C67C8AB1D58EC290079E1C1 /* VLCPLModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DF812F41B5599E40052293C /* VLCPLModel.m */; };
+ 1C7CB9181D787C4A00388902 /* VLCKeyboardBacklightControl.h in Sources */ = {isa = PBXBuildFile; fileRef = 7DF812EF1B555C8E0052293C /* VLCKeyboardBacklightControl.h */; };
+ 1C7CB9191D787C4A00388902 /* VLCKeyboardBacklightControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DF812F01B555C8E0052293C /* VLCKeyboardBacklightControl.m */; };
1C88BA5419DC7B2200645190 /* yosemite-window-close-graphite.png in Resources */ = {isa = PBXBuildFile; fileRef = 1C88BA2419DC7B2200645190 /* yosemite-window-close-graphite.png */; };
1C88BA5519DC7B2200645190 /* yosemite-window-close-graphite at 2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1C88BA2519DC7B2200645190 /* yosemite-window-close-graphite at 2x.png */; };
1C88BA5619DC7B2200645190 /* yosemite-window-close-on-graphite.png in Resources */ = {isa = PBXBuildFile; fileRef = 1C88BA2619DC7B2200645190 /* yosemite-window-close-on-graphite.png */; };
@@ -1326,8 +1328,8 @@
7DF0435F1972E26A0022B534 /* VLCAddonListItem.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = VLCAddonListItem.m; path = ../../../modules/gui/macosx/VLCAddonListItem.m; sourceTree = SOURCE_ROOT; };
7DF812ED1B555A340052293C /* VLCInputManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = VLCInputManager.h; path = ../../../modules/gui/macosx/VLCInputManager.h; sourceTree = "<group>"; };
7DF812EE1B555A340052293C /* VLCInputManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = VLCInputManager.m; path = ../../../modules/gui/macosx/VLCInputManager.m; sourceTree = "<group>"; };
- 7DF812EF1B555C8E0052293C /* KeyboardBacklight.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = KeyboardBacklight.h; path = ../../../modules/gui/macosx/KeyboardBacklight.h; sourceTree = "<group>"; };
- 7DF812F01B555C8E0052293C /* KeyboardBacklight.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = KeyboardBacklight.m; path = ../../../modules/gui/macosx/KeyboardBacklight.m; sourceTree = "<group>"; };
+ 7DF812EF1B555C8E0052293C /* VLCKeyboardBacklightControl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = VLCKeyboardBacklightControl.h; path = ../../../modules/gui/macosx/VLCKeyboardBacklightControl.h; sourceTree = "<group>"; };
+ 7DF812F01B555C8E0052293C /* VLCKeyboardBacklightControl.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = VLCKeyboardBacklightControl.m; path = ../../../modules/gui/macosx/VLCKeyboardBacklightControl.m; sourceTree = "<group>"; };
7DF812F11B5599E40052293C /* VLCPLItem.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = VLCPLItem.h; path = ../../../modules/gui/macosx/VLCPLItem.h; sourceTree = "<group>"; };
7DF812F21B5599E40052293C /* VLCPLItem.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = VLCPLItem.m; path = ../../../modules/gui/macosx/VLCPLItem.m; sourceTree = "<group>"; };
7DF812F31B5599E40052293C /* VLCPLModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = VLCPLModel.h; path = ../../../modules/gui/macosx/VLCPLModel.h; sourceTree = "<group>"; };
@@ -1917,8 +1919,8 @@
8ED6C27D03E2EB1C0059A3A7 /* VLCMain.m */,
7D5678EB1D5BA1DC002698F3 /* VLCApplication.h */,
7D5678EC1D5BA1DC002698F3 /* VLCApplication.m */,
- 7DF812EF1B555C8E0052293C /* KeyboardBacklight.h */,
- 7DF812F01B555C8E0052293C /* KeyboardBacklight.m */,
+ 7DF812EF1B555C8E0052293C /* VLCKeyboardBacklightControl.h */,
+ 7DF812F01B555C8E0052293C /* VLCKeyboardBacklightControl.m */,
8ED6C27E03E2EB1C0059A3A7 /* macosx.m */,
CC448A5A13B61D49009F72E0 /* VLCMainMenu.h */,
CC448A5B13B61D49009F72E0 /* VLCMainMenu.m */,
@@ -3966,6 +3968,8 @@
1CCB5F541A62A724004C3E90 /* VLCAddonListItem.m in Sources */,
1CCB5F551A62A724004C3E90 /* VLCAddonsWindowController.h in Sources */,
1CCB5F561A62A724004C3E90 /* VLCAddonsWindowController.m in Sources */,
+ 1C7CB9181D787C4A00388902 /* VLCKeyboardBacklightControl.h in Sources */,
+ 1C7CB9191D787C4A00388902 /* VLCKeyboardBacklightControl.m in Sources */,
1CCB5F571A62A724004C3E90 /* applescript.h in Sources */,
1CCB5F581A62A724004C3E90 /* applescript.m in Sources */,
1CCB5F591A62A724004C3E90 /* VLCAudioEffectsWindowController.h in Sources */,
diff --git a/modules/gui/macosx/Makefile.am b/modules/gui/macosx/Makefile.am
index d40fa9c..29bced3 100644
--- a/modules/gui/macosx/Makefile.am
+++ b/modules/gui/macosx/Makefile.am
@@ -40,7 +40,7 @@ libmacosx_plugin_la_SOURCES = \
VLCMain.h VLCMain.m \
VLCApplication.h VLCApplication.m \
iTunes.h \
- KeyboardBacklight.h KeyboardBacklight.m \
+ VLCKeyboardBacklightControl.h VLCKeyboardBacklightControl.m \
macosx.m \
VLCMainMenu.h VLCMainMenu.m \
MainWindowTitle.h MainWindowTitle.m \
diff --git a/modules/gui/macosx/KeyboardBacklight.h b/modules/gui/macosx/VLCKeyboardBacklightControl.h
similarity index 93%
rename from modules/gui/macosx/KeyboardBacklight.h
rename to modules/gui/macosx/VLCKeyboardBacklightControl.h
index 9727d67..ecbb308 100644
--- a/modules/gui/macosx/KeyboardBacklight.h
+++ b/modules/gui/macosx/VLCKeyboardBacklightControl.h
@@ -1,5 +1,5 @@
/*****************************************************************************
- * KeyboardBacklight.h: MacBook keyboard backlight control for VLC
+ * VLCKeyboardBlacklightControl.h: MacBook keyboard backlight control for VLC
*****************************************************************************
* Copyright (C) 2015 VLC authors and VideoLAN
*
@@ -23,7 +23,7 @@
#import <Foundation/Foundation.h>
- at interface KeyboardBacklight : NSObject
+ at interface VLCKeyboardBacklightControl : NSObject
/*!
* Initialize an instance of KeyboardBacklight.
diff --git a/modules/gui/macosx/KeyboardBacklight.m b/modules/gui/macosx/VLCKeyboardBacklightControl.m
similarity index 96%
rename from modules/gui/macosx/KeyboardBacklight.m
rename to modules/gui/macosx/VLCKeyboardBacklightControl.m
index fc201be..55cf2b0 100644
--- a/modules/gui/macosx/KeyboardBacklight.m
+++ b/modules/gui/macosx/VLCKeyboardBacklightControl.m
@@ -1,5 +1,5 @@
/*****************************************************************************
- * KeyboardBacklight.m: MacBook keyboard backlight control for VLC
+ * VLCKeyboardBlacklightControl.m: MacBook keyboard backlight control for VLC
*****************************************************************************
* Copyright (C) 2015 VLC authors and VideoLAN
*
@@ -21,7 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#import "KeyboardBacklight.h"
+#import "VLCKeyboardBacklightControl.h"
#import <IOKit/IOKitLib.h>
enum {
@@ -31,7 +31,7 @@ enum {
kSetLEDFadeID = 3 // setLEDFade(int, int, int, int *)
};
- at implementation KeyboardBacklight {
+ at implementation VLCKeyboardBacklightControl {
io_connect_t dataPort;
}
diff --git a/modules/gui/macosx/VLCVoutWindowController.h b/modules/gui/macosx/VLCVoutWindowController.h
index 183dda3..d7b7f9a 100644
--- a/modules/gui/macosx/VLCVoutWindowController.h
+++ b/modules/gui/macosx/VLCVoutWindowController.h
@@ -25,7 +25,7 @@
#import <Cocoa/Cocoa.h>
#import <vlc_vout_window.h>
-#import "KeyboardBacklight.h"
+#import "VLCKeyboardBacklightControl.h"
@class VLCControlsBarCommon;
@class VLCVideoWindowCommon;
diff --git a/modules/gui/macosx/VLCVoutWindowController.m b/modules/gui/macosx/VLCVoutWindowController.m
index a960ccf..8d7138d 100644
--- a/modules/gui/macosx/VLCVoutWindowController.m
+++ b/modules/gui/macosx/VLCVoutWindowController.m
@@ -197,7 +197,7 @@ void WindowClose(vout_window_t *p_wnd)
@interface VLCVoutWindowController ()
{
NSMutableDictionary *o_vout_dict;
- KeyboardBacklight *o_keyboard_backlight;
+ VLCKeyboardBacklightControl *o_keyboard_backlight;
NSPoint top_left_point;
@@ -217,7 +217,7 @@ void WindowClose(vout_window_t *p_wnd)
if (self) {
atomic_store(&b_intf_starting, true);
o_vout_dict = [[NSMutableDictionary alloc] init];
- o_keyboard_backlight = [[KeyboardBacklight alloc] init];
+ o_keyboard_backlight = [[VLCKeyboardBacklightControl alloc] init];
i_currentWindowLevel = NSNormalWindowLevel;
_currentStatusWindowLevel = NSFloatingWindowLevel;
}
More information about the vlc-commits
mailing list