diff -r 000000000000 -r e4d67989cc36 ossrv_pub/dbus/inc/dbus-pending-call.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ossrv_pub/dbus/inc/dbus-pending-call.h Tue Feb 02 02:01:42 2010 +0200 @@ -0,0 +1,103 @@ +/* -*- mode: C; c-file-style: "gnu" -*- */ +/* dbus-pending-call.h Object representing a call in progress. + * + * Copyright (C) 2002, 2003 Red Hat Inc. + * Portion Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION) +#error "Only can be included directly, this file may disappear or change contents." +#endif + +#ifndef DBUS_PENDING_CALL_H +#define DBUS_PENDING_CALL_H + +#include +#include +#include + +DBUS_BEGIN_DECLS + +/** + * @addtogroup DBusPendingCall + * @{ + */ + +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +DBusPendingCall* dbus_pending_call_ref (DBusPendingCall *pending); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +void dbus_pending_call_unref (DBusPendingCall *pending); + +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +dbus_bool_t dbus_pending_call_set_notify (DBusPendingCall *pending, + DBusPendingCallNotifyFunction function, + void *user_data, + DBusFreeFunction free_user_data); + +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +void dbus_pending_call_cancel (DBusPendingCall *pending); + +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +dbus_bool_t dbus_pending_call_get_completed (DBusPendingCall *pending); + +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +DBusMessage* dbus_pending_call_steal_reply (DBusPendingCall *pending); + +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +void dbus_pending_call_block (DBusPendingCall *pending); + +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +dbus_bool_t dbus_pending_call_allocate_data_slot (dbus_int32_t *slot_p); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +void dbus_pending_call_free_data_slot (dbus_int32_t *slot_p); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +dbus_bool_t dbus_pending_call_set_data (DBusPendingCall *pending, + dbus_int32_t slot, + void *data, + DBusFreeFunction free_data_func); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif +void* dbus_pending_call_get_data (DBusPendingCall *pending, + dbus_int32_t slot); + +/** @} */ + +DBUS_END_DECLS + +#endif /* DBUS_PENDING_CALL_H */