1 /* === S Y N F I G ========================================================= */
2 /*! \file synfig/targetparam.h
3 ** \brief Class for extra parameters of the target modules
8 ** Copyright (c) 2010 Diego Barrios Romero
10 ** This package is free software; you can redistribute it and/or
11 ** modify it under the terms of the GNU General Public License as
12 ** published by the Free Software Foundation; either version 2 of
13 ** the License, or (at your option) any later version.
15 ** This package is distributed in the hope that it will be useful,
16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ** General Public License for more details.
21 /* ========================================================================= */
23 /* === S T A R T =========================================================== */
25 #ifndef __SYNFIG_TARGETPARAM_H
26 #define __SYNFIG_TARGETPARAM_H
30 /* === C L A S S E S & S T R U C T S ======================================= */
36 //! Default constructor
37 /*! Not valid default values, if they are not modified before
38 * passing them to the target module, it would override them with
39 * its own valid default settings.
41 TargetParam (): video_codec("none"), bitrate(-1) { }
43 TargetParam (const std::string& Video_codec, int Bitrate):
44 video_codec(Video_codec), bitrate(Bitrate)
47 std::string video_codec;
51 }; // END of namespace synfig
53 /* === E N D =============================================================== */