output-item: Add 'name' member to class structure.
[pspp] / src / output / output-item-provider.h
index a810f97c7d2627ae60bc49631b4554c68e408ebe..aa2584bef4006d0221535ffbbd6d1f837eba5c04 100644 (file)
@@ -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 <output/output-item.h>
+#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);