~ubuntu-branches/ubuntu/karmic/xfce4-session/karmic

« back to all changes in this revision

Viewing changes to settings/splash/module.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2005-11-06 22:01:12 UTC
  • mto: (4.1.1 lenny) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051106220112-5rusox237ymjghsp
Tags: upstream-4.2.3
ImportĀ upstreamĀ versionĀ 4.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: module.h 4618 2004-07-14 20:17:58Z benny $ */
 
2
/*-
 
3
 * Copyright (c) 2003-2004 Benedikt Meurer <benny@xfce.org>
 
4
 * All rights reserved.
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; either version 2, or (at your option)
 
9
 * any later version.
 
10
 *                                                                              
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *                                                                              
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
19
 * 02111-1307, USA.
 
20
 */
 
21
 
 
22
#ifndef __MODULE_H__
 
23
#define __MODULE_H__
 
24
 
 
25
#include <gtk/gtk.h>
 
26
 
 
27
#include <libxfce4util/libxfce4util.h>
 
28
 
 
29
 
 
30
G_BEGIN_DECLS;
 
31
 
 
32
#define MODULE(obj) ((Module *)(obj))
 
33
 
 
34
typedef struct _Module Module;
 
35
 
 
36
 
 
37
Module      *module_load          (const gchar  *path,
 
38
                                   XfceRc       *rc);
 
39
 
 
40
const gchar *module_engine        (const Module *module);
 
41
 
 
42
const gchar *module_name          (const Module *module);
 
43
 
 
44
const gchar *module_descr         (const Module *module);
 
45
 
 
46
const gchar *module_version       (const Module *module);
 
47
 
 
48
const gchar *module_author        (const Module *module);
 
49
 
 
50
const gchar *module_homepage      (const Module *module);
 
51
 
 
52
GdkPixbuf   *module_preview       (Module       *module);
 
53
 
 
54
gboolean     module_can_configure (const Module *module);
 
55
 
 
56
void         module_configure     (Module       *module,
 
57
                                   GtkWidget    *parent);
 
58
 
 
59
void         module_test          (Module       *module,
 
60
                                   GdkDisplay   *display);
 
61
 
 
62
void         module_free          (Module       *module);
 
63
 
 
64
G_END_DECLS;
 
65
 
 
66
 
 
67
#endif /* !__XFSM_SPLASH_MODULE_H__ */