Reverted to unsigned applications.

Added public certificate for signed Sparkle updates
Removed non-working AutoType code fragments for now
This commit is contained in:
michael starke
2014-02-07 19:08:56 +01:00
parent d6dcb96ba5
commit 2df1a1f36a
9 changed files with 157 additions and 104 deletions

31
MacPass/MPKeyMapper.h Normal file
View File

@@ -0,0 +1,31 @@
//
// MPKeyMapper.h
// MacPass
//
// Created by Michael Starke on 07.02.14.
// Copyright (c) 2014 HicknHack Software GmbH. All rights reserved.
//
#import <Foundation/Foundation.h>
extern uint16_t const kMPUnknownKeyCode;
@interface MPKeyMapper : NSObject
/**
* Retrieves the string representation with the current keyboard mapping for the keycode
*
* @param keyCode The virutal keycode to be pressed
* @return NSString containing the current mapping for the keyCode
*/
+ (NSString *)stringForKey:(CGKeyCode)keyCode;
/**
* Determines the keyCode (if possible) for the charater
*
* @param character NSString with a single character to be transformed
* @return virtual Keycode for the supplied string. If none is found, kMPUnkonwKeyCode is returned
*/
+ (CGKeyCode)keyCodeForCharacter:(NSString *)character;
@end