Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamping PDK to better match Android architecture
- Loading branch information
1 parent
3fb161d
commit 301b82f
Showing
21 changed files
with
686 additions
and
523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// PDKBaseGenerator.h | ||
// PassiveDataKit | ||
// | ||
// Created by Chris Karr on 6/18/17. | ||
// Copyright © 2017 Audacious Software. All rights reserved. | ||
// | ||
|
||
@import Foundation; | ||
|
||
#import "PassiveDataKit.h" | ||
|
||
@interface PDKBaseGenerator : NSObject<PDKGenerator> | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// | ||
// PDKBaseGenerator.m | ||
// PassiveDataKit | ||
// | ||
// Created by Chris Karr on 6/18/17. | ||
// Copyright © 2017 Audacious Software. All rights reserved. | ||
// | ||
|
||
#import "PDKBaseGenerator.h" | ||
|
||
#define GENERATOR_ID @"pdk-base-generator" | ||
|
||
@implementation PDKBaseGenerator | ||
|
||
- (NSString *) fullGeneratorName { | ||
return [NSString stringWithFormat:@"%@: %@", [self generatorId], [[PassiveDataKit sharedInstance] userAgent]]; | ||
} | ||
|
||
- (NSString *) generatorId { | ||
return GENERATOR_ID; | ||
} | ||
|
||
- (void) updateOptions:(NSDictionary *) options { | ||
|
||
} | ||
|
||
- (UIView *) visualizationForSize:(CGSize) size { | ||
return nil; | ||
} | ||
|
||
|
||
@end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.