root / libsylph / virtual.h @ 2045
History | View | Annotate | Download (1.1 kB)
| 1 | 831 | hiro | /*
|
|---|---|---|---|
| 2 | 831 | hiro | * LibSylph -- E-Mail client library |
| 3 | 1492 | hiro | * Copyright (C) 1999-2007 Hiroyuki Yamamoto |
| 4 | 831 | hiro | * |
| 5 | 831 | hiro | * This library is free software; you can redistribute it and/or |
| 6 | 831 | hiro | * modify it under the terms of the GNU Lesser General Public |
| 7 | 831 | hiro | * License as published by the Free Software Foundation; either |
| 8 | 831 | hiro | * version 2.1 of the License, or (at your option) any later version. |
| 9 | 831 | hiro | * |
| 10 | 831 | hiro | * This library is distributed in the hope that it will be useful, |
| 11 | 831 | hiro | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | 831 | hiro | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | 831 | hiro | * Lesser General Public License for more details. |
| 14 | 831 | hiro | * |
| 15 | 831 | hiro | * You should have received a copy of the GNU Lesser General Public |
| 16 | 831 | hiro | * License along with this library; if not, write to the Free Software |
| 17 | 831 | hiro | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 831 | hiro | */ |
| 19 | 831 | hiro | |
| 20 | 831 | hiro | #ifndef __VIRTUAL_H__
|
| 21 | 831 | hiro | #define __VIRTUAL_H__
|
| 22 | 831 | hiro | |
| 23 | 831 | hiro | #include <glib.h> |
| 24 | 831 | hiro | |
| 25 | 831 | hiro | #include "folder.h" |
| 26 | 831 | hiro | |
| 27 | 831 | hiro | typedef struct _VirtualFolder VirtualFolder; |
| 28 | 831 | hiro | |
| 29 | 831 | hiro | #define VIRTUAL_FOLDER(obj) ((VirtualFolder *)obj)
|
| 30 | 831 | hiro | |
| 31 | 831 | hiro | struct _VirtualFolder
|
| 32 | 831 | hiro | {
|
| 33 | 831 | hiro | LocalFolder lfolder; |
| 34 | 831 | hiro | }; |
| 35 | 831 | hiro | |
| 36 | 831 | hiro | FolderClass *virtual_get_class (void);
|
| 37 | 831 | hiro | |
| 38 | 831 | hiro | #endif /* __VIRTUAL_H__ */ |