changeset 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 a79a22add62a
children 0cc73d213160
files libmenu/menu.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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