Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GeSHi has a deprecated constructor in /kunden/150918_42781/webseiten/wordpress/wp-content/plugins/wp-codebox/geshi/geshi.php on line 255

Warning: Cannot modify header information - headers already sent by (output started at /kunden/150918_42781/webseiten/wordpress/wp-content/plugins/wp-codebox/geshi/geshi.php:255) in /kunden/150918_42781/webseiten/wordpress/wp-content/plugins/wp-codebox/wp-codebox.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /kunden/150918_42781/webseiten/wordpress/wp-content/plugins/wp-codebox/geshi/geshi.php:255) in /kunden/150918_42781/webseiten/wordpress/wp-content/plugins/wp-codebox/wp-codebox.php on line 35
try { File globalPref = new File(System.getProperty("user.home") + "/Library/Preferences/.GlobalPreferences.plist"); NSDictionary dict = (NSDictionary)PropertyListParser.parse(globalPref); NSNumber pref = (NSNumber)dict.objectForKey("com.apple.swipescrolldirection"); if(pref.boolValue()) { //natural scrolling is enabled } } catch (Exception ex) { System.out.println("Faild to parse plist: " + ex.getMessage()); }