document-private.h revision 84f672b2dc238266057e2869395ede1f2fed862f
#ifndef SEEN_SP_DOCUMENT_PRIVATE_H
#define SEEN_SP_DOCUMENT_PRIVATE_H
/*
* Seldom needed document data
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 1999-2002 Lauris Kaplinski
* Copyright (C) 2001-2002 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <map>
#include <set>
#include <string>
#include <stddef.h>
#include "xml/event-fns.h"
#include "sp-defs.h"
#include "sp-root.h"
#include "document.h"
#include "composite-undo-stack-observer.h"
// XXX only for testing!
#include "console-output-undo-observer.h"
}
}
typedef struct _GHashTable GHashTable;
struct SPDocumentPrivate {
//GHashTable *iddef; /**< Dictionary of id -> SPObject mappings */
//GHashTable *reprdef; /**< Dictionary of Inkscape::XML::Node -> SPObject mappings */
unsigned long serial;
/** Dictionary of signals for id changes */
/* Resources */
bool sensitive; /* If we save actions to undo stack */
int history_size;
/* Undo listener */
// XXX only for testing!
bool seeking;
};
#endif // SEEN_SP_DOCUMENT_PRIVATE_H