| 1 |
/** |
| 2 |
* This file is a part of the Cairo-Dock project |
| 3 |
* |
| 4 |
* Copyright : (C) see the 'copyright' file. |
| 5 |
* E-mail : see the 'copyright' file. |
| 6 |
* |
| 7 |
* This program is free software; you can redistribute it and/or |
| 8 |
* modify it under the terms of the GNU General Public License |
| 9 |
* as published by the Free Software Foundation; either version 3 |
| 10 |
* of the License, or (at your option) any later version. |
| 11 |
* |
| 12 |
* This program 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 |
| 15 |
* GNU General Public License for more details. |
| 16 |
* You should have received a copy of the GNU General Public License |
| 17 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 |
*/ |
| 19 |
|
| 20 |
|
| 21 |
#ifndef __APPLET_LISTING__ |
| 22 |
#define __APPLET_LISTING__ |
| 23 |
|
| 24 |
|
| 25 |
#include <cairo-dock.h> |
| 26 |
#include "applet-struct.h" |
| 27 |
|
| 28 |
|
| 29 |
void cd_do_free_entry (CDEntry *pEntry); |
| 30 |
void cd_do_free_listing_backup (CDListingBackup *pBackup); |
| 31 |
|
| 32 |
CDListing *cd_do_create_listing (void); |
| 33 |
void cd_do_destroy_listing (CDListing *pListing); |
| 34 |
|
| 35 |
|
| 36 |
gboolean cd_do_update_listing_notification (gpointer pUserData, CDListing *pListing, gboolean *bContinueAnimation); |
| 37 |
gboolean cd_do_render_listing_notification (gpointer pUserData, CDListing *pListing, cairo_t *pCairoContext); |
| 38 |
|
| 39 |
void cd_do_show_listing (void); |
| 40 |
|
| 41 |
void cd_do_hide_listing (void); |
| 42 |
|
| 43 |
void cd_do_load_entries_into_listing (GList *pEntries, int iNbEntries); |
| 44 |
|
| 45 |
void cd_do_fill_listing_entries (CDListing *pListing); |
| 46 |
|
| 47 |
|
| 48 |
void cd_do_select_prev_next_entry_in_listing (gboolean bNext); |
| 49 |
void cd_do_select_prev_next_page_in_listing (gboolean bNext); |
| 50 |
void cd_do_select_last_first_entry_in_listing (gboolean bLast); |
| 51 |
void cd_do_select_nth_entry_in_listing (int iNumEntry); |
| 52 |
|
| 53 |
void cd_do_rewind_current_entry (void); |
| 54 |
|
| 55 |
|
| 56 |
void cd_do_set_status (const gchar *cStatus); |
| 57 |
void cd_do_set_status_printf (const gchar *cStatusFormat, ...); |
| 58 |
|
| 59 |
|
| 60 |
#endif |