forked from blitz/cl-dbus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.lisp
More file actions
20 lines (17 loc) · 690 Bytes
/
test.lisp
File metadata and controls
20 lines (17 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;;; -*- Mode: Lisp -*-
;;; Copyright (c) 2008 Julian Stecklina
;;;
;;; This file is part of CL-DBUS. Look into LICENSE for license terms.
(in-package :blitz.desktop.dbus)
(defun try-to-send-hello ()
(let ((con (dbus-connect "unix:path=/tmp/dbus-test,guid=7ec02b0af9c2b6e23f10880449051a5a")))
(unwind-protect
(dbus-method-call con
:path "/org/freedesktop/DBus"
:destination "org.freedesktop.DBus"
:interface "org.freedesktop.DBus"
:member "Hello"
:signature ""
:arguments ())
(dbus-close con))))
;;; EOF