Commit 2c9af700 authored by David Fuhrmann's avatar David Fuhrmann

macosx: Rename to VLCKeyboardBlacklightControl

parent aa373d36
......@@ -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@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1C88BA2519DC7B2200645190 /* yosemite-window-close-graphite@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 */,
......
......@@ -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 \
......
/*****************************************************************************
* 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>
@interface KeyboardBacklight : NSObject
@interface VLCKeyboardBacklightControl : NSObject
/*!
* Initialize an instance of KeyboardBacklight.
......
/*****************************************************************************
* 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 *)
};
@implementation KeyboardBacklight {
@implementation VLCKeyboardBacklightControl {
io_connect_t dataPort;
}
......
......@@ -25,7 +25,7 @@
#import <Cocoa/Cocoa.h>
#import <vlc_vout_window.h>
#import "KeyboardBacklight.h"
#import "VLCKeyboardBacklightControl.h"
@class VLCControlsBarCommon;
@class VLCVideoWindowCommon;
......
......@@ -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;
}
......
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