/*
* Code for handling extensions (i.e., scripts)
*
* Authors:
* Bryce Harrington <bryce@osdl.org>
* Ted Gould <ted@gould.cx>
*
* Copyright (C) 2002-2005 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "implementation.h"
#include <glibmm/fileutils.h>
} // namespace XML
/**
* Utility class used for loading and launching script extensions
*/
Script(void);
ImplementationDocumentCache * newDocCache(Inkscape::Extension::Extension * ext, Inkscape::UI::View::View * view);
virtual void effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *doc, ImplementationDocumentCache * docCache);
virtual bool cancelProcessing (void);
bool _canceled;
/**
* The command that has been derived from
* the configuration file with appropriate directories
*/
/**
* This is the extension that will be used
* as the helper to read in or write out the
* data
*/
void checkStderr (Glib::ustring const& filename, Gtk::MessageType type, Glib::ustring const& message);
bool _dead;
virtual ~file_listener () {
_conn.disconnect();
};
};
void pump_events(void);
/** \brief A definition of an interpreter, which can be specified
in the INX file, but we need to know what to call */
struct interpreter_t {
};
}; // class Script
} // namespace Implementation
} // namespace Extension
} // namespace Inkscape
#endif // INKSCAPE_EXTENSION_IMPEMENTATION_SCRIPT_H_SEEN
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :