2
* This file is a part of the Cairo-Dock project
4
* Copyright : (C) see the 'copyright' file.
5
* E-mail : see the 'copyright' file.
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.
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/>.
20
/******************************************************************************
22
This file is a part of the cairo-dock program,
23
released under the terms of the GNU General Public License.
25
Written by Fabrice Rey (for any bug report, please mail me to fabounet@users.berlios.de)
27
******************************************************************************/
30
#include "rendering-config.h"
31
#include "rendering-desklet-tree.h"
32
#include "rendering-desklet-caroussel.h"
33
#include "rendering-desklet-simple.h"
34
#include "rendering-desklet-controler.h"
35
#include "rendering-desklet-mediaplayer.h"
36
#include "rendering-desklet-decorations.h"
37
#include "rendering-init.h"
40
CD_APPLET_PRE_INIT_BEGIN (N_("desklet rendering"),
42
CAIRO_DOCK_CATEGORY_THEME,
43
N_("This module provides different views for your desklets."),
44
"Fabounet (Fabrice Rey)")
45
//\_______________ On definit notre interface.
46
pInterface->read_conf_file = read_conf_file;
47
pInterface->reset_config = reset_config;
48
pInterface->reset_data = reset_data;
50
//\_______________ On enregistre les vues.
51
rendering_register_tree_desklet_renderer ();
52
rendering_register_caroussel_desklet_renderer ();
53
rendering_register_simple_desklet_renderer ();
54
rendering_register_controler_desklet_renderer ();
55
rendering_register_mediaplayer_desklet_renderer (); // By ChAnGFu
57
//\_______________ On enregistre les decorations.
58
cd_rendering_register_desklet_decorations ();
60
CD_APPLET_ATTACH_TO_INTERNAL_MODULE ("Desklets");
61
CD_APPLET_PRE_INIT_END
64
/*CD_APPLET_RELOAD_BEGIN
65
if (CD_APPLET_MY_CONFIG_CHANGED)
68
///cairo_dock_set_all_views_to_default ();
70
CD_APPLET_RELOAD_END*/