diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-04-23 09:36:42 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-04-23 09:36:42 +0000 |
commit | 53625e2a9ca3c64ec08daf1d7233551c166fdbdf (patch) | |
tree | f82e186852d635a5e90356c547484c31707aebdb /libsylph/utils.h | |
parent | 51b29ad3772d54b8f1e841c0c84df703eed21c21 (diff) |
win32: added an option to play sound when new messages arrive.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3053 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r-- | libsylph/utils.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h index 14b289be..a67a807a 100644 --- a/libsylph/utils.h +++ b/libsylph/utils.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2010 Hiroyuki Yamamoto + * Copyright (C) 1999-2012 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -502,7 +502,12 @@ gint execute_print_file (const gchar *file); gchar *get_command_output (const gchar *cmdline); /* open URI with external browser */ -gint open_uri(const gchar *uri, const gchar *cmdline); +gint open_uri (const gchar *uri, + const gchar *cmdline); + +/* play sound */ +gint play_sound (const gchar *file, + gboolean async); /* time functions */ time_t remote_tzoffset_sec (const gchar *zone); |