Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changes

  • Loading branch information...
commit eb2512fa87f8317e5e74a946f78ee3fbbfeca5ee 1 parent 33ef681
@tomcool420 authored
View
45 SMFramework.xcodeproj/tomcool.mode1v3
@@ -278,13 +278,13 @@
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>42</integer>
+ <integer>33</integer>
<integer>5</integer>
<integer>0</integer>
</array>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key>
- <string>{{0, 0}, {254, 768}}</string>
+ <string>{{0, 153}, {254, 768}}</string>
</dict>
<key>PBXTopSmartGroupGIDs</key>
<array/>
@@ -321,7 +321,7 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>Tweak.xm</string>
+ <string>SMFScreenCapture.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
@@ -329,11 +329,11 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>Tweak.xm</string>
+ <string>SMFScreenCapture.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>DDCB556E128DA02A0045529A</string>
+ <string>DDD6224D128ED9AA00FC2CE5</string>
<key>history</key>
<array>
<string>DDDC81E11273C03700192ADD</string>
@@ -365,7 +365,6 @@
<string>DDAE5D7E128341E20038574E</string>
<string>DDAE5D80128341E20038574E</string>
<string>DDAE5DE112837BD90038574E</string>
- <string>DDAE5DE412837BD90038574E</string>
<string>DDAE5EEF1284E6A70038574E</string>
<string>DDAE5F4C1284F0B90038574E</string>
<string>DDAE5F4D1284F0B90038574E</string>
@@ -385,19 +384,14 @@
<string>DDCB53C51287B5E20045529A</string>
<string>DDCB53D31288449D0045529A</string>
<string>DDCB53D61288449D0045529A</string>
- <string>DDCB540F1288BF360045529A</string>
<string>DDCB54131288C06B0045529A</string>
<string>DDCB54161288C0D40045529A</string>
- <string>DDCB542E1288D5530045529A</string>
- <string>DDCB543A1288E0310045529A</string>
- <string>DDCB545D1289E2AF0045529A</string>
<string>DDCB545E1289E2AF0045529A</string>
<string>DDCB5487128C76490045529A</string>
<string>DDCB5489128C76490045529A</string>
<string>DDCB548B128C76490045529A</string>
<string>DDCB54AD128C86EE0045529A</string>
<string>DDCB54C4128C97870045529A</string>
- <string>DDCB54CF128CA2290045529A</string>
<string>DDCB54D7128CA3AF0045529A</string>
<string>DDCB54D8128CA3AF0045529A</string>
<string>DDCB54DC128CA4600045529A</string>
@@ -407,7 +401,6 @@
<string>DDCB5501128CF2CC0045529A</string>
<string>DDCB5502128CF2CC0045529A</string>
<string>DDCB5505128CF2CC0045529A</string>
- <string>DDCB5508128CF31E0045529A</string>
<string>DDCB5509128CF31E0045529A</string>
<string>DDCB550E128CF4140045529A</string>
<string>DDCB550F128CF4140045529A</string>
@@ -419,7 +412,6 @@
<string>DDCB5537128D75910045529A</string>
<string>DDCB5538128D75910045529A</string>
<string>DDCB5539128D75910045529A</string>
- <string>DDCB553A128D75910045529A</string>
<string>DDCB553B128D75910045529A</string>
<string>DDCB553C128D75910045529A</string>
<string>DDCB553D128D75910045529A</string>
@@ -427,10 +419,13 @@
<string>DDCB5547128D7A7D0045529A</string>
<string>DDCB5561128D99770045529A</string>
<string>DDCB5562128D99770045529A</string>
- <string>DDCB5563128D99770045529A</string>
- <string>DDCB5568128D9D750045529A</string>
- <string>DDCB5569128D9D750045529A</string>
- <string>DDCB5564128D99770045529A</string>
+ <string>DDCB556F128DB8D30045529A</string>
+ <string>DDCB5572128DB8D30045529A</string>
+ <string>DDCB5576128DB9B00045529A</string>
+ <string>DDCB5577128DB9B00045529A</string>
+ <string>DDCB5578128DB9B00045529A</string>
+ <string>DDD621E3128E3A0D00FC2CE5</string>
+ <string>DDD621E4128E3A0D00FC2CE5</string>
</array>
</dict>
<key>SplitCount</key>
@@ -442,14 +437,14 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {1164, 639}}</string>
+ <string>{{0, 0}, {1164, 631}}</string>
<key>RubberWindowFrame</key>
<string>0 51 1440 827 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
- <string>639pt</string>
+ <string>631pt</string>
</dict>
<dict>
<key>ContentConfiguration</key>
@@ -462,14 +457,14 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 644}, {1164, 142}}</string>
+ <string>{{0, 636}, {1164, 150}}</string>
<key>RubberWindowFrame</key>
<string>0 51 1440 827 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
<key>Proportion</key>
- <string>142pt</string>
+ <string>150pt</string>
</dict>
</array>
<key>Proportion</key>
@@ -488,9 +483,9 @@
</array>
<key>TableOfContents</key>
<array>
- <string>DDCB538E12879DCF0045529A</string>
+ <string>DDD6224E128ED9AA00FC2CE5</string>
<string>1CE0B1FE06471DED0097A5F4</string>
- <string>DDCB538F12879DCF0045529A</string>
+ <string>DDD6224F128ED9AA00FC2CE5</string>
<string>1CE0B20306471E060097A5F4</string>
<string>1CE0B20506471E060097A5F4</string>
</array>
@@ -628,8 +623,6 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>1C530D57069F1CE1000CFCEE</string>
- <string>1CD10A99069EF8BA00B06720</string>
<string>DDE49962127145AF00BAC606</string>
<string>/Users/tomcool/DVLP/ATV2/SMFramework/SMFramework.xcodeproj</string>
</array>
@@ -711,7 +704,7 @@
<key>TableOfContents</key>
<array>
<string>DDE49962127145AF00BAC606</string>
- <string>DDCB539012879DCF0045529A</string>
+ <string>DDD62250128ED9AA00FC2CE5</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
View
3,631 SMFramework.xcodeproj/tomcool.pbxuser
213 additions, 3,418 deletions not shown
View
57 eventcatcher/Tweak.xm
@@ -40,7 +40,6 @@ the generation of a class list and an automatic constructor.
#import "../SMFramework.h"
%hook BRWindow
+ (BOOL)dispatchEvent:(id)event {
-NSLog(@"event: %@",event);
if([[SMFEventManager sharedManager]actionDefinedForAction:[event remoteAction]])
{
return [[SMFEventManager sharedManager]callEventForRemoteAction:[event remoteAction]];
@@ -49,35 +48,33 @@ NSLog(@"event: %@",event);
return %orig;
}
%end
-%hook BRMainMenuController
--(void)_loadAppliances
-{
-%orig;
- %log;
- NSArray *info = MSHookIvar<NSArray *>(self, "_applianceInfos");
- NSMutableArray *c = [[NSMutableArray alloc]init];
- for(BRApplianceInfo *i in info)
- {
- NSLog(@"%@ %@ %@ %lf %d",i.name, i.key, i.principalClassName,i.preferredOrder,i.primaryAppliance);
- if([i.key isEqualToString:@"com.apple.frontrow.appliance.settings"])
- {
- NSLog(@"changing settings");
-
- i.preferredOrder=1.000000;
- i.primaryAppliance=NO;
- }
- else
- {
- [c addObject:i];
- }
- }
- //[info release];
-// info=[c retain];
-// [self reloadMainMenu];
- NSLog(@"Appliance Info: %@ %@",info,c);
-
-}
-%end
+//%hook BRMainMenuController
+//-(void)_loadAppliances
+//{
+//%orig;
+// %log;
+// NSArray *info = MSHookIvar<NSArray *>(self, "_applianceInfos");
+// NSMutableArray *c = [[NSMutableArray alloc]init];
+// for(BRApplianceInfo *i in info)
+// {
+// if([i.key isEqualToString:@"com.apple.frontrow.appliance.settings"])
+// {
+// NSLog(@"changing settings");
+//
+// i.preferredOrder=1.000000;
+// i.primaryAppliance=NO;
+// }
+// else
+// {
+// [c addObject:i];
+// }
+// }
+// //[info release];
+//// info=[c retain];
+//// [self reloadMainMenu];
+//
+//}
+//%end
%hook BRMainMenuControl
%end
View
BIN  eventcatcher/obj/EventCatcher.dylib
Binary file not shown
View
BIN  eventcatcher/obj/Tweak.xm.o
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.