Browse Source

packethanlerinterface-proxy: packet handler exported over DBus

bboozzoo/wip
Maciek Borzecki 8 years ago
parent
commit
8dfcf6c189
2 changed files with 28 additions and 0 deletions
  1. +1
    -0
      Makefile.am
  2. +27
    -0
      src/mconnect/packethandlerinterface-proxy.vala

+ 1
- 0
Makefile.am View File

@ -64,6 +64,7 @@ mconnect_SOURCES = \
src/mconnect/devicechannel.vala \
src/mconnect/core.vala \
src/mconnect/packethandlerinterface.vala \
src/mconnect/packethandlerinterface-proxy.vala \
src/mconnect/packethandlers.vala \
src/mconnect/notification.vala \
src/mconnect/battery.vala \


+ 27
- 0
src/mconnect/packethandlerinterface-proxy.vala View File

@ -0,0 +1,27 @@
/* ex:ts=4:sw=4:sts=4:et */
/* -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/**
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* AUTHORS
* Maciek Borzecki <maciek.borzecki (at] gmail.com>
*/
/**
* PacketHandlerInterfaceProxy: interface of DBus exported packet handler
*/
interface PacketHandlerInterfaceProxy : Object {
public abstract void bus_register(DBusConnection conn, string path) throws IOError;
public abstract void bus_unregister(DBusConnection conn) throws IOError;
}

Loading…
Cancel
Save