Revision: mange@freemail.hu--2005/emacs-jabber--cvs-head--0--patch-583
[emacs-jabber.git] / jabber-osd.el
blobce0b0e23ff52332a88cde0a9d2ea5ad354927e4b
1 ;;; jabber-osd.el --- OSD support for jabber.el
3 ;; Copyright (C) 2008 - Terechkov Evgenii - evg@altlinux.org
5 ;; This file is a part of jabber.el.
7 ;; This program is free software; you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by
9 ;; the Free Software Foundation; either version 2, or (at your option)
10 ;; any later version.
12 ;; This program is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;; GNU General Public License for more details.
17 ;; You should have received a copy of the GNU General Public License
18 ;; along with GNU Emacs; see the file COPYING. If not, write to
19 ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 ;; Boston, MA 02111-1307, USA.
22 (eval-when-compile (require 'jabber-alert))
24 (condition-case e
25 (progn
26 ;; Most people don't have osd.el, so this will often fail
27 (require 'osd)
28 (define-jabber-alert osd "Display a message in osd" 'osd-show-string)
29 (define-personal-jabber-alert jabber-muc-osd)
31 (error nil))
33 (provide 'jabber-osd)
35 ;; arch-tag: 3eb8d55a-dd86-11dc-b2c6-000a95c2fcd0