diff options
author | Damiano Galassi <[email protected]> | 2019-05-02 20:54:50 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-05-02 20:54:50 +0200 |
commit | 63f8bd872eda9457c0fe63af98cfd6ba334c6658 (patch) | |
tree | ebb5af31fe25bf4882a3f35c1ee379fe34cb5158 /macosx | |
parent | feb363eba5e4e914893c4b096402d7d7f9a4a747 (diff) |
MacGui: remove an unused class.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBFilters+UIAdditions.h | 4 | ||||
-rw-r--r-- | macosx/HBFilters+UIAdditions.m | 22 |
2 files changed, 0 insertions, 26 deletions
diff --git a/macosx/HBFilters+UIAdditions.h b/macosx/HBFilters+UIAdditions.h index 609252c96..1d3a48019 100644 --- a/macosx/HBFilters+UIAdditions.h +++ b/macosx/HBFilters+UIAdditions.h @@ -105,7 +105,3 @@ @interface HBDeblockTransformer : HBGenericDictionaryTransformer @end - -@interface HBCustomFilterTransformer : NSValueTransformer -@end - diff --git a/macosx/HBFilters+UIAdditions.m b/macosx/HBFilters+UIAdditions.m index 9afde7a85..42f249e43 100644 --- a/macosx/HBFilters+UIAdditions.m +++ b/macosx/HBFilters+UIAdditions.m @@ -231,28 +231,6 @@ static NSDictionary * filterParamsToNamesDict(hb_filter_param_t * (f)(int), int @end -@implementation HBCustomFilterTransformer - -+ (Class)transformedValueClass -{ - return [NSNumber class]; -} - -- (id)transformedValue:(id)value -{ - if ([value intValue] == 1) - return @NO; - else - return @YES; -} - -+ (BOOL)allowsReverseTransformation -{ - return NO; -} - -@end - static NSDictionary *detelecinePresetsDict = nil; static NSDictionary *combDetectionPresetsDict = nil; |