/[pspp]/psppire/src/pspp-dict.h
ViewVC logotype

Diff of /psppire/src/pspp-dict.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by jmd, Thu Nov 3 05:42:48 2005 UTC revision 1.5 by jmd, Sat Nov 12 07:52:06 2005 UTC
# Line 23  Line 23 
23  #define __PSPP_DICT_H__  #define __PSPP_DICT_H__
24    
25    
26    #include <hacks.h>
27  #include <glib-object.h>  #include <glib-object.h>
28  #include <glib.h>  #include <glib.h>
29    
30  #include <dictionary.h>  #include <dictionary.h>
31  #include <var.h>  #include <var.h>
32    
33    
34  G_BEGIN_DECLS  G_BEGIN_DECLS
35    
36    
# Line 60  struct _PSPP_DictClass Line 62  struct _PSPP_DictClass
62    
63    
64  /* -- PSPP_Dict --- */  /* -- PSPP_Dict --- */
65  GType          pspp_dict_get_type(void);  GType          pspp_dict_get_type (void);
66  PSPP_Dict*     pspp_dict_new(void);  PSPP_Dict*     pspp_dict_new (void);
67  void           pspp_dict_set_name(PSPP_Dict* s, gint idx, const gchar *name);  PSPP_Dict*     pspp_dict_new_from_dict (struct dictionary *d);
68  void           pspp_dict_delete_var(PSPP_Dict *s, gint idx);  void           pspp_dict_set_name (PSPP_Dict* s, gint idx, const gchar *name);
69    void           pspp_dict_delete_var (PSPP_Dict *s, gint idx);
70    
71  /* Return the variable indexed by IDX.  /* Return the variable indexed by IDX.
72     returns NULL if IDX is not valid.     returns NULL if IDX is not valid.
# Line 82  struct variable * pspp_dict_lookup_var ( Line 85  struct variable * pspp_dict_lookup_var (
85  void pspp_dict_var_changed(PSPP_Dict *d, gint idx);  void pspp_dict_var_changed(PSPP_Dict *d, gint idx);
86    
87    
88    /* Clears the contents of D */
89    void pspp_dict_clear(PSPP_Dict *d);
90    
91  G_END_DECLS  G_END_DECLS
92    
93  #endif /* __PSPP_DICT_H__ */  #endif /* __PSPP_DICT_H__ */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26