X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Ftarget.h;h=19dc29519959ec7411255aad400fecd12958d015;hb=c3e45b84cbe115d9a8d216f1ce99d06fdd49ccca;hp=8d58cf6b78f1e1fee78fd997f15188dda8fb8588;hpb=bbf05c1d5f53f61ec5b033c5c305a497d8389d46;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/target.h b/synfig-core/trunk/src/synfig/target.h index 8d58cf6..19dc295 100644 --- a/synfig-core/trunk/src/synfig/target.h +++ b/synfig-core/trunk/src/synfig/target.h @@ -27,6 +27,7 @@ /* === H E A D E R S ======================================================= */ +#include #include "string_decl.h" #include //#include @@ -79,6 +80,27 @@ public: typedef etl::loose_handle LooseHandle; typedef etl::handle ConstHandle; + /* + -- ** -- S I G N A L S ------------------------------------------------------- + */ + +private: + + sigc::signal signal_progress_; + + /* + -- ** -- S I G N A L I N T E R F A C E ------------------------------------- + */ + +public: + + sigc::signal& signal_progress() { return signal_progress_; } + + /* + -- ** -- C O N S T R U C T O R S --------------------------------------------- + */ + +public: typedef Target* (*Factory)(const char *filename); //! A type for a map of targets, indexed by the name of the Target @@ -152,7 +174,7 @@ public: virtual bool init() { return true; } - //! Creates a new Target described by \a type, outputing to a file described by \a filename. + //! Creates a new Target described by \a type, outputting to a file described by \a filename. static Handle create(const String &type, const String &filename); }; // END of class Target