root/trunk/libtinymail-gnome-desktop/tny-gnome-device-priv.h
| Revision 3156 (checked in by pvanhoof, 1 year ago) |
|---|
| Line | |
|---|---|
| 1 | #ifndef TNY_GNOME_DEVICE_PRIV_H |
| 2 | #define TNY_GNOME_DEVICE_PRIV_H |
| 3 | |
| 4 | /* libtinymail-camel - The Tiny Mail base library for Camel |
| 5 | * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> |
| 6 | * |
| 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2 of the License, or (at your option) any later version. |
| 11 | * |
| 12 | * This library 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 GNU |
| 15 | * Lesser General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with self library; if not, write to the |
| 19 | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 20 | * Boston, MA 02110-1301, USA. |
| 21 | */ |
| 22 | |
| 23 | typedef struct _TnyGnomeDevicePriv TnyGnomeDevicePriv; |
| 24 | |
| 25 | struct _TnyGnomeDevicePriv |
| 26 | { |
| 27 | gboolean forced, fset, current_state; |
| 28 | |
| 29 | #ifdef GNOME |
| 30 | gboolean invnm; |
| 31 | guint callback_id; |
| 32 | libnm_glib_ctx *nm_ctx; |
| 33 | #endif |
| 34 | |
| 35 | }; |
| 36 | |
| 37 | |
| 38 | #define TNY_GNOME_DEVICE_GET_PRIVATE(o) \ |
| 39 | (G_TYPE_INSTANCE_GET_PRIVATE ((o), TNY_TYPE_GNOME_DEVICE, TnyGnomeDevicePriv)) |
| 40 | |
| 41 | #endif |
Note: See TracBrowser for help on using the browser.
