Tidying.
[synfig.git] / synfig-core / trunk / src / synfig / target.h
index 6eb6a4e..2af7319 100644 (file)
@@ -27,6 +27,7 @@
 
 /* === H E A D E R S ======================================================= */
 
+#include <sigc++/signal.h>
 #include "string_decl.h"
 #include <utility>
 //#include <list>
@@ -79,6 +80,27 @@ public:
        typedef etl::loose_handle<Target> LooseHandle;
        typedef etl::handle<const Target> ConstHandle;
 
+       /*
+ -- ** -- S I G N A L S -------------------------------------------------------
+       */
+
+private:
+
+       sigc::signal<void> signal_progress_;
+
+       /*
+ -- ** -- S I G N A L   I N T E R F A C E -------------------------------------
+       */
+
+public:
+
+       sigc::signal<void>& 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
@@ -146,7 +168,7 @@ public:
        //! Sets the RendDesc for the Target to \a desc.
        /*!     If there are any parts of \a desc that the render target
        **      is not capable of doing, the render target will adjust
-       **      \a desc to fit it's needs.
+       **      \a desc to fit its needs.
        */
        virtual bool set_rend_desc(RendDesc *d) { desc=*d; return true; }