moved feature list into class, fixed some memleaks
[swftools.git] / lib / pdf / GFXOutputDev.h
index 89c6185..51e6312 100644 (file)
@@ -38,6 +38,12 @@ typedef struct _parameter
     struct _parameter*next;
 } parameter_t;
 
     struct _parameter*next;
 } parameter_t;
 
+typedef struct _feature
+{
+    char*string;
+    struct _feature*next;
+} feature_t;
+
 void addGlobalFont(const char*filename);
 void addGlobalLanguageDir(const char*dir);
 void addGlobalFontDir(const char*dirname);
 void addGlobalFont(const char*filename);
 void addGlobalLanguageDir(const char*dir);
 void addGlobalFontDir(const char*dirname);
@@ -216,6 +222,8 @@ public:
   void warnfeature(const char*feature,char fully);
   void infofeature(const char*feature);
 
   void warnfeature(const char*feature,char fully);
   void infofeature(const char*feature);
 
+  feature_t*featurewarnings;
+
   char outer_clip_box; //whether the page clip box is still on
 
   gfxfontlist_t*gfxfontlist;
   char outer_clip_box; //whether the page clip box is still on
 
   gfxfontlist_t*gfxfontlist;