X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdictionary.h;h=4887a3102a368e3ff53125584f6051a48d3404be;hb=f514231dd2fc0c2adc1ebab5c46a4b55d2bd9c2b;hp=570ee4620b8f2920048cd24279caccfcd36dbd83;hpb=8021cf8974a46fe82af7b8952e448c0ea6858a48;p=pspp-builds.git diff --git a/src/data/dictionary.h b/src/data/dictionary.h index 570ee462..4887a310 100644 --- a/src/data/dictionary.h +++ b/src/data/dictionary.h @@ -1,20 +1,18 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 2004, 2007 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #ifndef DICTIONARY_H #define DICTIONARY_H @@ -31,8 +29,9 @@ struct string; struct dict_callbacks { void (*var_added) (struct dictionary *, int, void *); - void (*var_deleted) (struct dictionary *, int, void *); + void (*var_deleted) (struct dictionary *, int, int, int, void *); void (*var_changed) (struct dictionary *, int, void *); + void (*var_resized) (struct dictionary *, int, int, void *); void (*weight_changed) (struct dictionary *, int, void *); void (*filter_changed) (struct dictionary *, int, void *); void (*split_changed) (struct dictionary *, void *); @@ -90,7 +89,7 @@ bool dict_rename_vars (struct dictionary *, struct ccase; struct variable *dict_get_weight (const struct dictionary *); -double dict_get_case_weight (const struct dictionary *, +double dict_get_case_weight (const struct dictionary *, const struct ccase *, bool *); void dict_set_weight (struct dictionary *, struct variable *); @@ -125,7 +124,7 @@ const char *dict_get_label (const struct dictionary *); void dict_set_label (struct dictionary *, const char *); /* Fixed length of lines in dictionary documents. */ -#define DOC_LINE_LENGTH 80 +#define DOC_LINE_LENGTH 80 const char *dict_get_documents (const struct dictionary *); void dict_set_documents (struct dictionary *, const char *); @@ -150,7 +149,4 @@ void dict_clear_vectors (struct dictionary *); void dict_assign_short_names (struct dictionary *); -/* Called only from variable.c */ -void dict_var_changed (const struct variable *v); - #endif /* dictionary.h */