"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Plugins/MacOS/mac_utilities.mm" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

mac_utilities.mm  (TeXmacs-1.99.4-src):mac_utilities.mm  (TeXmacs-1.99.5-src)
skipping to change at line 213 skipping to change at line 213
from_nsstring (NSString *s) { from_nsstring (NSString *s) {
const char *cstr = [s cStringUsingEncoding:NSUTF8StringEncoding]; const char *cstr = [s cStringUsingEncoding:NSUTF8StringEncoding];
return utf8_to_cork(string((char*)cstr)); return utf8_to_cork(string((char*)cstr));
} }
- (void) hidRemote:(HIDRemote *)theHidRemote - (void) hidRemote:(HIDRemote *)theHidRemote
eventWithButton:(HIDRemoteButtonCode)buttonCode eventWithButton:(HIDRemoteButtonCode)buttonCode
isPressed:(BOOL)isPressed isPressed:(BOOL)isPressed
fromHardwareWithAttributes:(NSMutableDictionary *)attributes fromHardwareWithAttributes:(NSMutableDictionary *)attributes
{ {
(void) theHidRemote; (void) attributes;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
mac_remote_button (from_nsstring([self buttonNameForButtonCode:buttonCode]), i sPressed); mac_remote_button (from_nsstring([self buttonNameForButtonCode:buttonCode]), i sPressed);
[pool release]; [pool release];
} }
- (void) cleanupRemote - (void) cleanupRemote
{ {
if ([hidRemote isStarted]) if ([hidRemote isStarted])
{ {
[hidRemote stopRemoteControl]; [hidRemote stopRemoteControl];
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS