Skip to content

Commit 4821ecf

Browse files
committed
Adding code and xcode project folder.
1 parent 4e8c1ba commit 4821ecf

File tree

7 files changed

+627
-0
lines changed

7 files changed

+627
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@
3030

3131
# Debug files
3232
*.dSYM/
33+
34+
# tmp files
35+
tmp/
36+
build/
+197
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
8DD76F770486A8DE00D96B5E /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 08FB7796FE84155DC02AAC07 /* main.c */; settings = {ATTRIBUTES = (); }; };
11+
972B33F317395C9E0070AB70 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 972B33F217395C9E0070AB70 /* Carbon.framework */; };
12+
972B33F517395CA50070AB70 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 972B33F417395CA50070AB70 /* CoreFoundation.framework */; };
13+
972B33F717395CAB0070AB70 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 972B33F617395CAB0070AB70 /* IOKit.framework */; };
14+
/* End PBXBuildFile section */
15+
16+
/* Begin PBXCopyFilesBuildPhase section */
17+
8DD76F7B0486A8DE00D96B5E /* CopyFiles */ = {
18+
isa = PBXCopyFilesBuildPhase;
19+
buildActionMask = 8;
20+
dstPath = /usr/share/man/man1/;
21+
dstSubfolderSpec = 0;
22+
files = (
23+
);
24+
runOnlyForDeploymentPostprocessing = 1;
25+
};
26+
/* End PBXCopyFilesBuildPhase section */
27+
28+
/* Begin PBXFileReference section */
29+
08FB7796FE84155DC02AAC07 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
30+
8DD76F7E0486A8DE00D96B5E /* led-backlight-osx */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "led-backlight-osx"; sourceTree = BUILT_PRODUCTS_DIR; };
31+
972B33F217395C9E0070AB70 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
32+
972B33F417395CA50070AB70 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
33+
972B33F617395CAB0070AB70 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = "<absolute>"; };
34+
/* End PBXFileReference section */
35+
36+
/* Begin PBXFrameworksBuildPhase section */
37+
8DD76F780486A8DE00D96B5E /* Frameworks */ = {
38+
isa = PBXFrameworksBuildPhase;
39+
buildActionMask = 2147483647;
40+
files = (
41+
972B33F717395CAB0070AB70 /* IOKit.framework in Frameworks */,
42+
972B33F517395CA50070AB70 /* CoreFoundation.framework in Frameworks */,
43+
972B33F317395C9E0070AB70 /* Carbon.framework in Frameworks */,
44+
);
45+
runOnlyForDeploymentPostprocessing = 0;
46+
};
47+
/* End PBXFrameworksBuildPhase section */
48+
49+
/* Begin PBXGroup section */
50+
08FB7794FE84155DC02AAC07 /* led-backlight-osx */ = {
51+
isa = PBXGroup;
52+
children = (
53+
08FB7795FE84155DC02AAC07 /* Source */,
54+
08FB779DFE84155DC02AAC07 /* External Frameworks and Libraries */,
55+
19C28FBDFE9D53C911CA2CBB /* Products */,
56+
);
57+
name = "led-backlight-osx";
58+
sourceTree = "<group>";
59+
};
60+
08FB7795FE84155DC02AAC07 /* Source */ = {
61+
isa = PBXGroup;
62+
children = (
63+
08FB7796FE84155DC02AAC07 /* main.c */,
64+
);
65+
name = Source;
66+
sourceTree = "<group>";
67+
};
68+
08FB779DFE84155DC02AAC07 /* External Frameworks and Libraries */ = {
69+
isa = PBXGroup;
70+
children = (
71+
972B33F617395CAB0070AB70 /* IOKit.framework */,
72+
972B33F417395CA50070AB70 /* CoreFoundation.framework */,
73+
972B33F217395C9E0070AB70 /* Carbon.framework */,
74+
);
75+
name = "External Frameworks and Libraries";
76+
sourceTree = "<group>";
77+
};
78+
19C28FBDFE9D53C911CA2CBB /* Products */ = {
79+
isa = PBXGroup;
80+
children = (
81+
8DD76F7E0486A8DE00D96B5E /* led-backlight-osx */,
82+
);
83+
name = Products;
84+
sourceTree = "<group>";
85+
};
86+
/* End PBXGroup section */
87+
88+
/* Begin PBXNativeTarget section */
89+
8DD76F740486A8DE00D96B5E /* led-backlight-osx */ = {
90+
isa = PBXNativeTarget;
91+
buildConfigurationList = 1DEB924708733DCA0010E9CD /* Build configuration list for PBXNativeTarget "led-backlight-osx" */;
92+
buildPhases = (
93+
8DD76F760486A8DE00D96B5E /* Sources */,
94+
8DD76F780486A8DE00D96B5E /* Frameworks */,
95+
8DD76F7B0486A8DE00D96B5E /* CopyFiles */,
96+
);
97+
buildRules = (
98+
);
99+
dependencies = (
100+
);
101+
name = "led-backlight-osx";
102+
productInstallPath = "$(HOME)/bin";
103+
productName = "led-backlight-osx";
104+
productReference = 8DD76F7E0486A8DE00D96B5E /* led-backlight-osx */;
105+
productType = "com.apple.product-type.tool";
106+
};
107+
/* End PBXNativeTarget section */
108+
109+
/* Begin PBXProject section */
110+
08FB7793FE84155DC02AAC07 /* Project object */ = {
111+
isa = PBXProject;
112+
attributes = {
113+
LastUpgradeCheck = 0460;
114+
};
115+
buildConfigurationList = 1DEB924B08733DCA0010E9CD /* Build configuration list for PBXProject "led-backlight-osx" */;
116+
compatibilityVersion = "Xcode 3.2";
117+
developmentRegion = English;
118+
hasScannedForEncodings = 1;
119+
knownRegions = (
120+
en,
121+
);
122+
mainGroup = 08FB7794FE84155DC02AAC07 /* led-backlight-osx */;
123+
projectDirPath = "";
124+
projectRoot = "";
125+
targets = (
126+
8DD76F740486A8DE00D96B5E /* led-backlight-osx */,
127+
);
128+
};
129+
/* End PBXProject section */
130+
131+
/* Begin PBXSourcesBuildPhase section */
132+
8DD76F760486A8DE00D96B5E /* Sources */ = {
133+
isa = PBXSourcesBuildPhase;
134+
buildActionMask = 2147483647;
135+
files = (
136+
8DD76F770486A8DE00D96B5E /* main.c in Sources */,
137+
);
138+
runOnlyForDeploymentPostprocessing = 0;
139+
};
140+
/* End PBXSourcesBuildPhase section */
141+
142+
/* Begin XCBuildConfiguration section */
143+
1DEB924808733DCA0010E9CD /* Debug */ = {
144+
isa = XCBuildConfiguration;
145+
buildSettings = {
146+
DSTROOT = "$(PROJECT_DIR)";
147+
INSTALL_PATH = /;
148+
PRODUCT_NAME = "led-backlight-osx";
149+
};
150+
name = Debug;
151+
};
152+
1DEB924908733DCA0010E9CD /* Release */ = {
153+
isa = XCBuildConfiguration;
154+
buildSettings = {
155+
DSTROOT = "$(PROJECT_DIR)";
156+
INSTALL_PATH = /;
157+
PRODUCT_NAME = "led-backlight-osx";
158+
};
159+
name = Release;
160+
};
161+
1DEB924C08733DCA0010E9CD /* Debug */ = {
162+
isa = XCBuildConfiguration;
163+
buildSettings = {
164+
};
165+
name = Debug;
166+
};
167+
1DEB924D08733DCA0010E9CD /* Release */ = {
168+
isa = XCBuildConfiguration;
169+
buildSettings = {
170+
};
171+
name = Release;
172+
};
173+
/* End XCBuildConfiguration section */
174+
175+
/* Begin XCConfigurationList section */
176+
1DEB924708733DCA0010E9CD /* Build configuration list for PBXNativeTarget "led-backlight-osx" */ = {
177+
isa = XCConfigurationList;
178+
buildConfigurations = (
179+
1DEB924808733DCA0010E9CD /* Debug */,
180+
1DEB924908733DCA0010E9CD /* Release */,
181+
);
182+
defaultConfigurationIsVisible = 0;
183+
defaultConfigurationName = Release;
184+
};
185+
1DEB924B08733DCA0010E9CD /* Build configuration list for PBXProject "led-backlight-osx" */ = {
186+
isa = XCConfigurationList;
187+
buildConfigurations = (
188+
1DEB924C08733DCA0010E9CD /* Debug */,
189+
1DEB924D08733DCA0010E9CD /* Release */,
190+
);
191+
defaultConfigurationIsVisible = 0;
192+
defaultConfigurationName = Release;
193+
};
194+
/* End XCConfigurationList section */
195+
};
196+
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
197+
}

led-backlight-osx.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
6+
<false/>
7+
<key>IDESourceControlProjectIdentifier</key>
8+
<string>4D460B8F-B71A-499C-9A96-0FBC68234274</string>
9+
<key>IDESourceControlProjectName</key>
10+
<string>led-backlight-osx</string>
11+
<key>IDESourceControlProjectOriginsDictionary</key>
12+
<dict>
13+
<key>781C6084A126C1691192401EECF43B642369D4CB</key>
14+
<string>github.com:pykler/led-backlight-osx.git</string>
15+
</dict>
16+
<key>IDESourceControlProjectPath</key>
17+
<string>led-backlight-osx.xcodeproj</string>
18+
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
19+
<dict>
20+
<key>781C6084A126C1691192401EECF43B642369D4CB</key>
21+
<string>../..</string>
22+
</dict>
23+
<key>IDESourceControlProjectURL</key>
24+
<string>github.com:pykler/led-backlight-osx.git</string>
25+
<key>IDESourceControlProjectVersion</key>
26+
<integer>111</integer>
27+
<key>IDESourceControlProjectWCCIdentifier</key>
28+
<string>781C6084A126C1691192401EECF43B642369D4CB</string>
29+
<key>IDESourceControlProjectWCConfigurations</key>
30+
<array>
31+
<dict>
32+
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
33+
<string>public.vcs.git</string>
34+
<key>IDESourceControlWCCIdentifierKey</key>
35+
<string>781C6084A126C1691192401EECF43B642369D4CB</string>
36+
<key>IDESourceControlWCCName</key>
37+
<string>led-backlight-osx</string>
38+
</dict>
39+
</array>
40+
</dict>
41+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0630"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "8DD76F740486A8DE00D96B5E"
18+
BuildableName = "led-backlight-osx"
19+
BlueprintName = "led-backlight-osx"
20+
ReferencedContainer = "container:led-backlight-osx.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28+
shouldUseLaunchSchemeArgsEnv = "YES"
29+
buildConfiguration = "Debug">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "8DD76F740486A8DE00D96B5E"
36+
BuildableName = "led-backlight-osx"
37+
BlueprintName = "led-backlight-osx"
38+
ReferencedContainer = "container:led-backlight-osx.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
</TestAction>
42+
<LaunchAction
43+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
44+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
45+
launchStyle = "0"
46+
useCustomWorkingDirectory = "NO"
47+
buildConfiguration = "Debug"
48+
ignoresPersistentStateOnLaunch = "NO"
49+
debugDocumentVersioning = "YES"
50+
allowLocationSimulation = "YES">
51+
<BuildableProductRunnable
52+
runnableDebuggingMode = "0">
53+
<BuildableReference
54+
BuildableIdentifier = "primary"
55+
BlueprintIdentifier = "8DD76F740486A8DE00D96B5E"
56+
BuildableName = "led-backlight-osx"
57+
BlueprintName = "led-backlight-osx"
58+
ReferencedContainer = "container:led-backlight-osx.xcodeproj">
59+
</BuildableReference>
60+
</BuildableProductRunnable>
61+
<AdditionalOptions>
62+
</AdditionalOptions>
63+
</LaunchAction>
64+
<ProfileAction
65+
shouldUseLaunchSchemeArgsEnv = "YES"
66+
savedToolIdentifier = ""
67+
useCustomWorkingDirectory = "NO"
68+
buildConfiguration = "Release"
69+
debugDocumentVersioning = "YES">
70+
<BuildableProductRunnable
71+
runnableDebuggingMode = "0">
72+
<BuildableReference
73+
BuildableIdentifier = "primary"
74+
BlueprintIdentifier = "8DD76F740486A8DE00D96B5E"
75+
BuildableName = "led-backlight-osx"
76+
BlueprintName = "led-backlight-osx"
77+
ReferencedContainer = "container:led-backlight-osx.xcodeproj">
78+
</BuildableReference>
79+
</BuildableProductRunnable>
80+
</ProfileAction>
81+
<AnalyzeAction
82+
buildConfiguration = "Debug">
83+
</AnalyzeAction>
84+
<ArchiveAction
85+
buildConfiguration = "Release"
86+
revealArchiveInOrganizer = "YES">
87+
</ArchiveAction>
88+
</Scheme>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>led-backlight-osx.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>8DD76F740486A8DE00D96B5E</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
</dict>
21+
</dict>
22+
</plist>

0 commit comments

Comments
 (0)