comparison src/util.h @ 12483:54448bd2ccc7

[gaim-migrate @ 14795] Allow the file transfer window open button to work in environments other than win32 and GNOME. In KDE, we do The Right Thing. Otherwise, we fall back the browser. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 14 Dec 2005 19:06:27 +0000
parents 36a0c8719af3
children 547c199072c8
comparison
equal deleted inserted replaced
12482:bd5b3f82dd8e 12483:54448bd2ccc7
473 /** 473 /**
474 * Checks if the given program name is valid and executable. 474 * Checks if the given program name is valid and executable.
475 * 475 *
476 * @param program The file name of the application. 476 * @param program The file name of the application.
477 * 477 *
478 * @return True if the program is runable. 478 * @return TRUE if the program is runable.
479 */ 479 */
480 gboolean gaim_program_is_valid(const char *program); 480 gboolean gaim_program_is_valid(const char *program);
481 481
482 /** 482 /**
483 * Check if running Gnome. 483 * Check if running GNOME.
484 * 484 *
485 * @return TRUE if running Gnome, FALSE otherwise. 485 * @return TRUE if running GNOME, FALSE otherwise.
486 */ 486 */
487 gboolean gaim_running_gnome(void); 487 gboolean gaim_running_gnome(void);
488
489 /**
490 * Check if running KDE.
491 *
492 * @return TRUE if running KDE, FALSE otherwise.
493 */
494 gboolean gaim_running_kde(void);
488 495
489 /** 496 /**
490 * Returns the IP address from a socket file descriptor. 497 * Returns the IP address from a socket file descriptor.
491 * 498 *
492 * @param fd The socket file descriptor. 499 * @param fd The socket file descriptor.