2
* @file geis_dbus_region.h
3
* @brief Interface for the GEIS DBus region transport.
7
* Copyright 2011 Canonical Ltd.
9
* This library is free software; you can redistribute it and/or modify it under
10
* the terms of the GNU Lesser General Public License as published by the Free
11
* Software Foundation; either version 3 of the License, or (at your option) any
14
* This library is distributed in the hope that it will be useful, but WITHOUT
15
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
19
* You should have received a copy of the GNU General Public License
20
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
#ifndef GEIS_DBUS_REGION_H_
23
#define GEIS_DBUS_REGION_H_
25
#include <dbus/dbus.h>
26
#include "geis/geis.h"
27
#include "geis_filterable.h"
31
* Creates a Dbus "region available" message from a GEIS region.
33
* @param[in] fa A GEIS region filterable attribute.
36
geis_dbus_region_available_message_from_region(GeisFilterableAttribute fa);
39
* Creates GEIS region filterable attribute from a DBus "region available"
42
* @param[in] message A DBus message.
44
GeisFilterableAttribute
45
geis_dbus_region_from_region_available_message(DBusMessage *message);
47
#endif /* GEIS_DBUS_REGION_H_ */