Make link_name(), link_local_name, and get_link_index_from_name non pure virtual...
[synfig.git] / synfig-core / src / synfig / targetparam.h
1 /* === S Y N F I G ========================================================= */
2 /*!     \file synfig/targetparam.h
3 **      \brief Class for extra parameters of the target modules
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2010 Diego Barrios Romero
9 **
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.
14 **
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.
19 **      \endlegal
20 */
21 /* ========================================================================= */
22
23 /* === S T A R T =========================================================== */
24
25 #ifndef __SYNFIG_TARGETPARAM_H
26 #define __SYNFIG_TARGETPARAM_H
27
28 #include <string>
29
30 /* === C L A S S E S & S T R U C T S ======================================= */
31
32 namespace synfig {
33
34 struct TargetParam
35 {
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.
40          */
41         TargetParam (): video_codec("none"), bitrate(-1) { }
42
43         TargetParam (const std::string& Video_codec, int Bitrate):
44                 video_codec(Video_codec), bitrate(Bitrate)
45         { }
46
47         std::string video_codec;
48         int bitrate;
49 };
50
51 }; // END of namespace synfig
52
53 /* === E N D =============================================================== */
54
55 #endif
56