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

« back to all changes in this revision

Viewing changes to xfce4-session/xfsm-splash-screen.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: xfsm-splash-screen.h 4612 2004-07-13 22:37:05Z 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 __XFSM_SPLASH_SCREEN_H__
 
23
#define __XFSM_SPLASH_SCREEN_H__
 
24
 
 
25
#include <gtk/gtk.h>
 
26
 
 
27
#include <libxfce4util/libxfce4util.h>
 
28
 
 
29
 
 
30
G_BEGIN_DECLS;
 
31
 
 
32
typedef struct _XfsmSplashScreen XfsmSplashScreen;
 
33
 
 
34
XfsmSplashScreen *xfsm_splash_screen_new    (GdkDisplay       *display,
 
35
                                             const gchar      *engine);
 
36
 
 
37
void              xfsm_splash_screen_start  (XfsmSplashScreen *splash,
 
38
                                             const gchar      *name,
 
39
                                             GdkPixbuf        *preview,
 
40
                                             unsigned          steps);
 
41
 
 
42
void              xfsm_splash_screen_next   (XfsmSplashScreen *splash,
 
43
                                             const gchar      *text);
 
44
 
 
45
int               xfsm_splash_screen_run    (XfsmSplashScreen *splash,
 
46
                                             GtkWidget        *dialog);
 
47
 
 
48
int               xfsm_splash_screen_choose (XfsmSplashScreen *splash,
 
49
                                             GList            *sessions,
 
50
                                             const gchar      *default_session,
 
51
                                             gchar           **name_return);
 
52
 
 
53
void              xfsm_splash_screen_free (XfsmSplashScreen *splash);
 
54
 
 
55
G_END_DECLS;
 
56
 
 
57
 
 
58
#endif /* !__XFSM_SPLASH_SCREEN_H__ */