diff libmenu/menu.h @ 25417:b0cd876a0c32

Remove dependency on m_struct.h when include libmenu/menu.h.
author ulion
date Tue, 18 Dec 2007 04:07:48 +0000
parents 96d0992c7920
children 59aba7a96701
line wrap: on
line diff
--- a/libmenu/menu.h	Tue Dec 18 03:33:36 2007 +0000
+++ b/libmenu/menu.h	Tue Dec 18 04:07:48 2007 +0000
@@ -4,13 +4,15 @@
 
 typedef struct menu_def_st menu_def_t;
 
+struct m_struct_st;
+
 struct  menu_s {
   struct MPContext *ctx;
   void (*draw)(menu_t* menu,mp_image_t* mpi);
   void (*read_cmd)(menu_t* menu,int cmd);
   void (*read_key)(menu_t* menu,int cmd);
   void (*close)(menu_t* menu);
-  m_struct_t* priv_st;
+  struct m_struct_st* priv_st;
   struct menu_priv_s* priv;
   int show; // Draw it ?
   int cl; // Close request (user sent a close cmd or