- /// The list of all conversion processs
- typedef boost::shared_ptr<ConvProcess> ConvProcessPtr;
- ///
- std::list<ConvProcessPtr> all_processes_;
-};
-
-
-/// Each ConvProcess represents a single conversion process.
-struct ConvProcess : public boost::signals::trackable
-{
- ///
- typedef GConverter::SignalTypePtr SignalTypePtr;
-
- /** Each ConvProcess represents a single conversion process.
- * It is passed :
- * 1. The name of the script_file, which it deletes once the
- * conversion is comlpeted;
- * 2. The script command itself, which it passes on to the forked
- * call process;
- * 3. The name of the output file, which it returns to the calling
- * process on successfull completion, by emitting
- * 4. The signal on_finish.
+ /** If the conversion is succesful, this returns the name of the
+ * resulting file.
+ * If conversion fails or has not been completed, however, it
+ * returns an empty string.