#include "e_illume_private.h"
#include "e_mod_config.h"
+#include "e_mod_quickpanel.h"
/**
* @defgroup E_Illume_Main_Group Illume API Information
/* return a fallback */
return NULL;
}
+
+/**
+ * Show the Illume Quickpanel on a given zone.
+ *
+ * @param zone The zone on which to show the Quickpanel.
+ *
+ * @note If @p zone is NULL then this function will return.
+ *
+ * @ingroup E_Illume_Quickpanel_Group
+ */
+EAPI void
+e_illume_quickpanel_show(E_Zone *zone)
+{
+ E_Illume_Quickpanel *qp;
+
+ if (!zone) return;
+ if (!(qp = e_illume_quickpanel_by_zone_get(zone))) return;
+ e_mod_quickpanel_show(qp);
+}
+
+/**
+ * Hide the Illume Quickpanel on a given zone.
+ *
+ * @param zone The zone on which to hide the Quickpanel.
+ *
+ * @note If @p zone is NULL then this function will return.
+ *
+ * @ingroup E_Illume_Quickpanel_Group
+ */
+EAPI void
+e_illume_quickpanel_hide(E_Zone *zone)
+{
+ E_Illume_Quickpanel *qp;
+
+ if (!zone) return;
+ if (!(qp = e_illume_quickpanel_by_zone_get(zone))) return;
+ e_mod_quickpanel_hide(qp);
+}
/* quickpanel functions */
EAPI E_Illume_Quickpanel *e_illume_quickpanel_by_zone_get(E_Zone *zone);
+EAPI void e_illume_quickpanel_show(E_Zone *zone);
+EAPI void e_illume_quickpanel_hide(E_Zone *zone);
#endif