script.h revision fc619a4a231d691cde619438a5ad8c73126ba98e
/*
* 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 <gtkmm/messagedialog.h>
}
}
/**
* Utility class used for loading and launching script extensions
*/
/**
*
*/
Script(void);
/**
*
*/
/**
*
*/
/**
*
*/
/**
*
*/
ImplementationDocumentCache * newDocCache(Inkscape::Extension::Extension * ext, Inkscape::UI::View::View * view);
/**
*
*/
/**
*
*/
/**
*
*/
/**
*
*/
/**
*
*/
virtual bool cancelProcessing (void);
bool _canceled;
/**
* The command that has been dirived 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
*/
bool _dead;
file_listener () : _dead(false) { };
virtual ~file_listener () {
_conn.disconnect();
};
_channel->set_encoding();
_conn = Glib::signal_io().connect(sigc::mem_fun(*this, &file_listener::read), _channel, Glib::IO_IN | Glib::IO_HUP | Glib::IO_ERR);
_main_loop = main;
return;
};
_main_loop->quit();
return false;
}
_main_loop->quit();
_dead = true;
return false;
}
return true;
};
try {
return false;
}
return true;
};
};
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 {
};
static interpreter_t const interpreterTab[];
}; // 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 :