/**
* This file is a part of the Cairo-Dock project
*
* Copyright : (C) see the 'copyright' file.
* E-mail : see the 'copyright' file.
*
* 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 3
* 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, see .
*/
#ifndef __CD_DUSTBIN_STRUCT__
#define __CD_DUSTBIN_STRUCT__
#include
typedef enum {
CD_DUSTBIN_INFO_NONE,
CD_DUSTBIN_INFO_NB_TRASHES,
CD_DUSTBIN_INFO_NB_FILES,
CD_DUSTBIN_INFO_WEIGHT
} CdDustbinInfotype;
struct _AppletConfig {
gchar *cThemePath;
gchar *cEmptyUserImage;
gchar *cFullUserImage;
CdDustbinInfotype iQuickInfoType;
gboolean bAskBeforeDelete;
} ;
typedef struct _CDSharedMemory {
gchar *cDustbinPath;
CdDustbinInfotype iQuickInfoType;
gboolean *bDiscard;
gsize iMeasure;
} CDSharedMemory;
struct _AppletData {
GldiTask *pTask; // tache de la mesure.
// shared memory
gsize _iMeasure;
// end of shared memory
gsize iMeasure;
gchar *cDustbinPath; // donnee constante.
gboolean bMonitoringOK;
gboolean bDisplayFullIcon;
GldiTask *pInfoTask; // tache de la mesure de l'info.
// shared memory
gsize _iInfoMeasure;
// end of shared memory
CairoDialog *pInfoDialog;
} ;
#define CD_DUSTBIN_DIALOG_DURATION 4000
#endif