Skip to content

Commit

Permalink
add PreLoginAgents
Browse files Browse the repository at this point in the history
  • Loading branch information
Darcy Liu committed Feb 26, 2013
1 parent 5ebc521 commit bfd5ecb
Show file tree
Hide file tree
Showing 28 changed files with 1,565 additions and 0 deletions.
Binary file added PreLoginAgents.zip
Binary file not shown.
26 changes: 26 additions & 0 deletions PreLoginAgents/PreLoginAgentCarbon/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.apple.dts.PreLoginAgentCarbon</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSUIElement</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>10.5</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {

/* Begin PBXBuildFile section */
8D0C4E900486CD37000505A6 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 20286C2BFDCF999611CA2CEA /* main.c */; settings = {ATTRIBUTES = (); }; };
8D0C4E920486CD37000505A6 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 20286C33FDCF999611CA2CEA /* Carbon.framework */; };
E40DFD6B0C46592A006C7E4C /* main.nib in Resources */ = {isa = PBXBuildFile; fileRef = 1870340FFE93FCAF11CA0CD7 /* main.nib */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
1870340FFE93FCAF11CA0CD7 /* main.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = main.nib; sourceTree = "<group>"; };
20286C2BFDCF999611CA2CEA /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
20286C33FDCF999611CA2CEA /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
8D0C4E960486CD37000505A6 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
8D0C4E970486CD37000505A6 /* PreLoginAgentCarbon.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PreLoginAgentCarbon.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
8D0C4E910486CD37000505A6 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8D0C4E920486CD37000505A6 /* Carbon.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
195DF8CFFE9D517E11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
8D0C4E970486CD37000505A6 /* PreLoginAgentCarbon.app */,
);
name = Products;
sourceTree = "<group>";
};
20286C29FDCF999611CA2CEA /* CarbonSLI */ = {
isa = PBXGroup;
children = (
20286C2BFDCF999611CA2CEA /* main.c */,
8D0C4E960486CD37000505A6 /* Info.plist */,
1870340FFE93FCAF11CA0CD7 /* main.nib */,
20286C32FDCF999611CA2CEA /* External Frameworks and Libraries */,
195DF8CFFE9D517E11CA2CBB /* Products */,
);
name = CarbonSLI;
sourceTree = "<group>";
};
20286C32FDCF999611CA2CEA /* External Frameworks and Libraries */ = {
isa = PBXGroup;
children = (
20286C33FDCF999611CA2CEA /* Carbon.framework */,
);
name = "External Frameworks and Libraries";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
8D0C4E890486CD37000505A6 /* PreLoginAgentCarbon */ = {
isa = PBXNativeTarget;
buildConfigurationList = C0E91AC508A95435008D54AB /* Build configuration list for PBXNativeTarget "PreLoginAgentCarbon" */;
buildPhases = (
8D0C4E8C0486CD37000505A6 /* Resources */,
8D0C4E8F0486CD37000505A6 /* Sources */,
8D0C4E910486CD37000505A6 /* Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = PreLoginAgentCarbon;
productInstallPath = "$(HOME)/Applications";
productName = CarbonSLI;
productReference = 8D0C4E970486CD37000505A6 /* PreLoginAgentCarbon.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
20286C28FDCF999611CA2CEA /* Project object */ = {
isa = PBXProject;
buildConfigurationList = C0E91AC908A95435008D54AB /* Build configuration list for PBXProject "PreLoginAgentCarbon" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 20286C29FDCF999611CA2CEA /* CarbonSLI */;
projectDirPath = "";
projectRoot = "";
targets = (
8D0C4E890486CD37000505A6 /* PreLoginAgentCarbon */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
8D0C4E8C0486CD37000505A6 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E40DFD6B0C46592A006C7E4C /* main.nib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
8D0C4E8F0486CD37000505A6 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8D0C4E900486CD37000505A6 /* main.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
C0E91AC608A95435008D54AB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = Info.plist;
PRODUCT_NAME = PreLoginAgentCarbon;
WRAPPER_EXTENSION = app;
};
name = Debug;
};
C0E91AC708A95435008D54AB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = Info.plist;
PRODUCT_NAME = PreLoginAgentCarbon;
WRAPPER_EXTENSION = app;
};
name = Release;
};
C0E91ACA08A95435008D54AB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
DEPLOYMENT_POSTPROCESSING = NO;
GCC_DYNAMIC_NO_PIC = YES;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = "";
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_LABEL = YES;
GCC_WARN_UNUSED_PARAMETER = YES;
GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.4;
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
WARNING_CFLAGS = (
"-Wall",
"-Wextra",
);
};
name = Debug;
};
C0E91ACB08A95435008D54AB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
DEPLOYMENT_POSTPROCESSING = YES;
GCC_DYNAMIC_NO_PIC = YES;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = s;
GCC_PREPROCESSOR_DEFINITIONS = NDEBUG;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_LABEL = YES;
GCC_WARN_UNUSED_PARAMETER = YES;
GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.4;
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
WARNING_CFLAGS = "-Wall";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
C0E91AC508A95435008D54AB /* Build configuration list for PBXNativeTarget "PreLoginAgentCarbon" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C0E91AC608A95435008D54AB /* Debug */,
C0E91AC708A95435008D54AB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
C0E91AC908A95435008D54AB /* Build configuration list for PBXProject "PreLoginAgentCarbon" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C0E91ACA08A95435008D54AB /* Debug */,
C0E91ACB08A95435008D54AB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
/* End XCConfigurationList section */
};
rootObject = 20286C28FDCF999611CA2CEA /* Project object */;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>PreLoginAgentCarbon</string>
<key>CFBundleIdentifier</key>
<string>com.apple.dts.PreLoginAgentCarbon</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>PreLoginAgentCarbon</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSMinimumSystemVersion</key>
<string>10.5</string>
<key>LSUIElement</key>
<string>1</string>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
APPL????

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" standalone="yes"?>
<object class="NSIBObjectData">
<object name="rootObject" class="NSCustomObject" id="1">
</object>
<array count="3" name="allObjects">
<object class="IBCarbonWindow" id="166">
<boolean name="receiveUpdates">FALSE</boolean>
<boolean name="hasCloseBox">FALSE</boolean>
<boolean name="hasCollapseBox">FALSE</boolean>
<boolean name="hasHorizontalZoom">FALSE</boolean>
<boolean name="isResizable">FALSE</boolean>
<boolean name="hasVerticalZoom">FALSE</boolean>
<boolean name="liveResize">TRUE</boolean>
<boolean name="compositing">TRUE</boolean>
<boolean name="asyncDrag">TRUE</boolean>
<boolean name="isConstrained">FALSE</boolean>
<boolean name="hideOnFullScreen">TRUE</boolean>
<boolean name="hideOnSuspend">TRUE</boolean>
<boolean name="doesNotCycle">TRUE</boolean>
<int name="carbonWindowClass">8</int>
<string name="title">PreLoginAgentCarbon</string>
<object name="rootControl" class="IBCarbonRootControl" id="167">
<string name="viewFrame">0 0 250 200 </string>
<array count="1" name="subviews">
<object class="IBCarbonButton" id="200">
<ostype name="command">quit</ostype>
<string name="title">Quit</string>
<string name="viewFrame">90 90 70 20 </string>
<string name="bounds">90 90 110 160 </string>
</object>
</array>
<string name="bounds">0 0 200 250 </string>
</object>
<unsigned_int name="WindowRods">5</unsigned_int>
<string name="windowRect">400 100 600 350 </string>
<string name="ScreenRectAtEncodeTime">22 0 1200 1920 </string>
</object>
<reference idRef="167"/>
<reference idRef="200"/>
</array>
<array count="3" name="allParents">
<reference idRef="1"/>
<reference idRef="166"/>
<reference idRef="167"/>
</array>
<dictionary count="2" name="nameTable">
<string>File&apos;s Owner</string>
<reference idRef="1"/>
<string>MainWindow</string>
<reference idRef="166"/>
</dictionary>
<string name="targetFramework">IBCarbonFramework</string>
<unsigned_int name="nextObjectID">201</unsigned_int>
</object>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.dts.PreLoginAgentCarbon</string>
<key>LimitLoadToSessionType</key>
<string>LoginWindow</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Library/PrivilegedHelperTools/PreLoginAgentCarbon.app/Contents/MacOS/PreLoginAgentCarbon</string>
</array>
</dict>
</plist>
Loading

0 comments on commit bfd5ecb

Please sign in to comment.