X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Foutput-item-provider.h;h=aa2584bef4006d0221535ffbbd6d1f837eba5c04;hb=22203a0e0daa6b6ab247b572b191d25bb48f61a3;hp=a810f97c7d2627ae60bc49631b4554c68e408ebe;hpb=f550aee00a62fe1d8baf62d83cd7efef6cc2ee92;p=pspp diff --git a/src/output/output-item-provider.h b/src/output/output-item-provider.h index a810f97c7d..aa2584bef4 100644 --- a/src/output/output-item-provider.h +++ b/src/output/output-item-provider.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2011 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 @@ -17,7 +17,7 @@ #ifndef OUTPUT_ITEM_PROVIDER_H #define OUTPUT_ITEM_PROVIDER_H 1 -#include +#include "output/output-item.h" /* Class structure for an output item. @@ -25,6 +25,8 @@ instance of output_item. */ struct output_item_class { + const char *name; + /* Destroys and frees ITEM. Called when output_item_unref() drops ITEM's reference count to 0. */ void (*destroy) (struct output_item *item);