mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Add .x as XDR/RPCGEN (#3472)
* Add .x as XDR/RPCGEN XDR/RPC language as documented in RFC5531, RFC4506. Samples are from glibc and RFCs. * Add Logos samples https://github.com/JonasGessner/NoCarrier/blob/master/NoCarrier.x - MITcf31f4e466/llvm-gcc-R3/gcc/testsuite/objc/execute/string1.x- GPL2f6415578fa/perapp-plugin/Tweak.x- GPL3d1b3e83888/NCHax.x- Apache * Add disambiguate heuristics for .x * Add RPC to vendor/README.md
This commit is contained in:
committed by
Colin Seymour
parent
8da6ddf9d9
commit
60f748d47b
42
samples/Logos/NoCarrier.x
Normal file
42
samples/Logos/NoCarrier.x
Normal file
@@ -0,0 +1,42 @@
|
||||
//
|
||||
// NoCarrier.x
|
||||
// NoCarrier
|
||||
//
|
||||
// Created by Jonas Gessner on 27.01.2014.
|
||||
// Copyright (c) 2014 Jonas Gessner. All rights reserved.
|
||||
//
|
||||
|
||||
#import <CoreGraphics/CoreGraphics.h>
|
||||
|
||||
#include <substrate.h>
|
||||
|
||||
%group main
|
||||
|
||||
%hook UIStatusBarServiceItemView
|
||||
|
||||
- (id)_serviceContentsImage {
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (CGFloat)extraLeftPadding {
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
- (CGFloat)extraRightPadding {
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
- (CGFloat)standardPadding {
|
||||
return 2.0f;
|
||||
}
|
||||
|
||||
%end
|
||||
|
||||
%end
|
||||
|
||||
|
||||
%ctor {
|
||||
@autoreleasepool {
|
||||
%init(main);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user