Exposing folder types to the API
This commit is contained in:
parent
8483524543
commit
ce29c5f2bc
|
@ -1,5 +1,5 @@
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
|
/* Copyright (c) 2011-2012 Pierre Pronchery <khorben@defora.org> */
|
||||||
/* This file is part of DeforaOS Desktop Mailer */
|
/* This file is part of DeforaOS Desktop Mailer */
|
||||||
/* This program is free software: you can redistribute it and/or modify
|
/* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -41,5 +41,7 @@ typedef enum _FolderType
|
||||||
/* functions */
|
/* functions */
|
||||||
/* accessors */
|
/* accessors */
|
||||||
char const * folder_get_name(Folder * folder);
|
char const * folder_get_name(Folder * folder);
|
||||||
|
FolderType folder_get_type(Folder * folder);
|
||||||
|
void folder_set_type(Folder * folder, FolderType type);
|
||||||
|
|
||||||
#endif /* !DESKTOP_MAILER_FOLDER_H */
|
#endif /* !DESKTOP_MAILER_FOLDER_H */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
|
/* Copyright (c) 2011-2012 Pierre Pronchery <khorben@defora.org> */
|
||||||
/* This file is part of DeforaOS Desktop Mailer */
|
/* This file is part of DeforaOS Desktop Mailer */
|
||||||
/* This program is free software: you can redistribute it and/or modify
|
/* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -35,8 +35,5 @@ void folder_delete(Folder * folder);
|
||||||
/* accessors */
|
/* accessors */
|
||||||
AccountFolder * folder_get_data(Folder * folder);
|
AccountFolder * folder_get_data(Folder * folder);
|
||||||
gboolean folder_get_iter(Folder * folder, GtkTreeIter * iter);
|
gboolean folder_get_iter(Folder * folder, GtkTreeIter * iter);
|
||||||
FolderType folder_get_type(Folder * folder);
|
|
||||||
|
|
||||||
void folder_set_type(Folder * folder, FolderType type);
|
|
||||||
|
|
||||||
#endif /* !MAILER_SRC_MAILER_H */
|
#endif /* !MAILER_SRC_MAILER_H */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user