Main Page | Directories | File List | File Members

hildon-home-window.h

00001 /* -*- mode:C; c-file-style:"gnu"; -*- */
00002 /*
00003  * This file is part of maemo-af-desktop
00004  *
00005  * Copyright (C) 2006 Nokia Corporation.
00006  *
00007  * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com>
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public License
00011  * version 2.1 as published by the Free Software Foundation.
00012  *
00013  * This library is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00021  * 02110-1301 USA
00022  *
00023  */
00024 
00025 #ifndef __HILDON_HOME_WINDOW_H__
00026 #define __HILDON_HOME_WINDOW_H__
00027 
00028 #include <gtk/gtkwindow.h>
00029 #include <libosso.h>
00030 
00031 G_BEGIN_DECLS
00032 
00033 #define HILDON_TYPE_HOME_WINDOW         (hildon_home_window_get_type ())
00034 #define HILDON_HOME_WINDOW(obj)         (G_TYPE_CHECK_INSTANCE_CAST ((obj), HILDON_TYPE_HOME_WINDOW, HildonHomeWindow))
00035 #define HILDON_IS_HOME_WINDOW(obj)      (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HILDON_TYPE_HOME_WINDOW))
00036 #define HILDON_HOME_WINDOW_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), HILDON_TYPE_HOME_WINDOW, HildonHomeWindowClass))
00037 #define HILDON_IS_HOME_WINDOW_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_HOME_WINDOW))
00038 #define HILDON_HOME_WINDOW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), HILDON_TYPE_HOME_WINDOW, HildonHomeWindowClass))
00039 
00040 typedef struct _HildonHomeWindow        HildonHomeWindow;
00041 typedef struct _HildonHomeWindowPrivate     HildonHomeWindowPrivate;
00042 typedef struct _HildonHomeWindowClass       HildonHomeWindowClass;
00043 
00044 struct _HildonHomeWindow
00045 {
00046   GtkWindow parent_instance;
00047 
00048   HildonHomeWindowPrivate *priv;
00049 };
00050 
00051 struct _HildonHomeWindowClass
00052 {
00053   GtkWindowClass parent_class;
00054 
00055   void    (* background)    (HildonHomeWindow *window, gboolean is_background);
00056   void    (* lowmem)        (HildonHomeWindow *window, gboolean is_lowmem);
00057   void    (* system_inactivity)
00058                             (HildonHomeWindow *window, gboolean is_inactive);
00059 };
00060 
00061 GType hildon_home_window_get_type                  (void) G_GNUC_CONST;
00062 
00063 GtkWidget *hildon_home_window_new                  (osso_context_t   *osso_context);
00064 
00065 void       hildon_home_window_set_osso_context     (HildonHomeWindow *window,
00066                             osso_context_t   *osso_context);
00067 
00068 GtkWidget *hildon_home_window_get_titlebar         (HildonHomeWindow *window);
00069 GtkWidget *hildon_home_window_get_main_area        (HildonHomeWindow *window);
00070 
00071 void       hildon_home_window_show_information_note(HildonHomeWindow *window,
00072                                                     const gchar *text);
00073 
00074 void       hildon_home_window_applets_init         (HildonHomeWindow *window);
00075 
00076 void       hildon_home_window_set_desktop_dimmed   (HildonHomeWindow *window,
00077                                                     gboolean dimmed);
00078 
00079 G_END_DECLS
00080 
00081 #endif /* __HILDON_HOME_WINDOW_H__ */

Generated on Thu Dec 21 11:26:51 2006 for maemo-af-desktop-documentation by  doxygen 1.4.2