Skip to content

Commit

Permalink
Merge pull request #1828 from quicksilver/t/minor-things
Browse files Browse the repository at this point in the history
A few inspired things
  • Loading branch information
skurfer committed Apr 20, 2014
2 parents 7be56f6 + a977379 commit 04d2add
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Quicksilver/Code-QuickStepCore/QSGlobalSelectionProvider.h
Expand Up @@ -14,12 +14,12 @@

@interface QSGlobalSelectionProvider : NSObject <QSProxyObjectProvider>

@property NSTimeInterval failDate;
@property NSDictionary *currentAppSelectionProxyInfo;
@property id currentAppSelectionProxyProvider;
@property (readonly,assign) NSTimeInterval failDate;
@property (readonly,retain) NSDictionary *currentAppSelectionProxyInfo;
@property (readonly,retain) id currentAppSelectionProxyProvider;

+ (instancetype)sharedInstance;
- (id)currentSelection;
+(id)currentSelection;
+ (id)currentSelection;

@end
8 changes: 8 additions & 0 deletions Quicksilver/Code-QuickStepCore/QSGlobalSelectionProvider.m
Expand Up @@ -97,6 +97,14 @@ - (void)invokeService {

@end

@interface QSGlobalSelectionProvider ()

@property (assign) NSTimeInterval failDate;
@property (retain) NSDictionary *currentAppSelectionProxyInfo;
@property (retain) id currentAppSelectionProxyProvider;

@end

@implementation QSGlobalSelectionProvider

- (id)init
Expand Down
4 changes: 3 additions & 1 deletion Quicksilver/PlugIns-Main/QSCorePlugIn/Code/QSTextSource.m
Expand Up @@ -54,7 +54,9 @@ - (QSObject *)speakText:(QSObject *)dObject {
- (QSObject *)typeObject:(QSObject *)dObject {
// NSLog( AsciiToKeyCode(&ttable, "m") {
// short AsciiToKeyCode(Ascii2KeyCodeTable *ttable, short asciiCode) {
[self typeString:[dObject stringValue]];
for (QSObject *obj in dObject.splitObjects) {
[self typeString:[obj stringValue]];
}
return nil;
}

Expand Down

0 comments on commit 04d2add

Please sign in to comment.