00001 /****************************************************************************** 00002 * Copyright (c) 1999-2008 ACCESS CO., LTD. All rights reserved. 00003 * Copyright (c) 2006 PalmSource, Inc (an ACCESS company). All rights reserved. 00004 *****************************************************************************/ 00005 00012 #ifndef __ALP_PREFPANEL_H__ 00013 #define __ALP_PREFPANEL_H__ 00014 00015 #include <glib.h> 00016 #include <gdk/gdk.h> 00017 #include <gtk/gtk.h> 00018 00019 #include <alp/sysclass.h> 00020 #include <alp/types.h> 00021 00022 G_BEGIN_DECLS 00023 00031 /***************************************************************************** 00032 * Errors 00033 *****************************************************************************/ 00034 00041 #define ALP_STATUS_PREFPANEL_UNINITIALIZED ((alp_status_t)ALP_CLASS_PREF_PANEL | 0x00010000) 00042 00043 #define ALP_STATUS_PREFPANEL_INVALID_PANEL ((alp_status_t)ALP_CLASS_PREF_PANEL | 0x00020000) 00044 00045 /* @} */ 00046 00047 00048 /***************************************************************************** 00049 * Launch parameters 00050 *****************************************************************************/ 00051 00057 #define ALP_PREFPNL_NO_COMBO_BOX "--alp-no-combo-box" // Title bar, no combo-box 00058 #define ALP_PREFPNL_NO_TITLE_BAR "--alp-no-title-bar" // Neither title bar nor combo-box 00059 00060 00061 /***************************************************************************** 00062 * Function Prototypes 00063 *****************************************************************************/ 00064 00065 00066 00088 alp_status_t alp_prefpnl_init(void); 00089 00090 00091 00102 alp_status_t alp_prefpnl_fini(void); 00103 00104 /* @} */ 00105 00106 00107 00108 00121 GtkWidget* alp_prefpnl_combobox(void); 00122 00123 /* @} */ 00124 00125 00126 00142 alp_status_t alp_prefpnl_launch(char *bndlName, int argc, char **argv); 00143 00144 /* @} */ 00145 00146 00147 00148 /* @} */ 00149 G_END_DECLS 00150 00151 #endif /* __ALP_PREFPANEL_H__ */
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.