/*
* This file is part of hildon-libs
*
- * Copyright (C) 2005 Nokia Corporation.
+ * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
*
- * Contact: Luc Pionchon <luc.pionchon@nokia.com>
+ * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
+ * as published by the Free Software Foundation; version 2.1 of
+ * the License or any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
GtkWindowClass parent_class;
void (*topmost_status_acquire) (HildonApp *self);
void (*topmost_status_lose) (HildonApp *self);
- void (*switch_to) (HildonApp *self);
+ void (*switch_to) (HildonApp *self); /* FIXME: Possible browser hack?? */
void (*im_close) (HildonApp *self);
void (*clipboard_copy) (HildonApp *self, GtkWidget *widget);
void (*clipboard_cut) (HildonApp *self, GtkWidget *widget);
* This enum is deprecated and should not be used. It's just
* lecagy stuff from ancient specs.
*/
-typedef enum {
+typedef enum /*< skip >*/
+{
HILDON_ZOOM_SMALL = 1,
HILDON_ZOOM_MEDIUM = 2,
HILDON_ZOOM_LARGE = 3
#define HILDON_TYPE_ZOOM_LEVEL (hildon_zoom_level_get_type ())
-G_CONST_RETURN GType hildon_zoom_level_get_type (void);
+GType hildon_zoom_level_get_type (void);
#endif /* deprecated */
-/* You should use the correct ones from hildon-defines.h */
+
+/* You should use the correct ones from hildon-defines.h
+ *
+ * FIXME: These should be removed when API changes are allowed,
+ * they are not used in hildon code anymore (but might be in external).
+ */
#define HILDON_MENU_KEY GDK_F4
#define HILDON_HOME_KEY GDK_F5
#define HILDON_TOOLBAR_KEY GDK_T
#define TRANSIENCY_MAXITER 50
-GType hildon_app_get_type(void);
+GType hildon_app_get_type(void) G_GNUC_CONST;
GtkWidget *hildon_app_new(void);
GtkWidget *hildon_app_new_with_appview(HildonAppView * appview);
void hildon_app_set_appview(HildonApp * self, HildonAppView * appview);
GtkUIManager *hildon_app_get_ui_manager(HildonApp *self);
G_END_DECLS
-#endif /* HILDON_APP_H */
+#endif /* __HILDON_APP_H__ */