9b32a3139536d415f8738f2a821a748c7e631d4a
[synfig.git] / synfig-core / src / synfig / valuenode_greyed.h
1 /* === S Y N F I G ========================================================= */
2 /*!     \file valuenode_greyed.h
3 **      \brief Header file for implementation of the "Greyed" valuenode conversion.
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2008 Chris Moore
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_VALUENODE_GREYED_H
26 #define __SYNFIG_VALUENODE_GREYED_H
27
28 /* === H E A D E R S ======================================================= */
29
30 #include "valuenode_reference.h"
31
32 /* === M A C R O S ========================================================= */
33
34 /* === C L A S S E S & S T R U C T S ======================================= */
35
36 namespace synfig {
37
38 class ValueNode_Greyed : public ValueNode_Reference
39 {
40 public:
41         typedef etl::handle<ValueNode_Greyed> Handle;
42         ValueNode_Greyed(const ValueBase::Type &x);
43         ValueNode_Greyed(const ValueNode::Handle &x);
44
45         virtual String get_name()const;
46         virtual String get_local_name()const;
47
48 protected:
49         LinkableValueNode* create_new()const;
50
51 public:
52         static ValueNode_Greyed* create(const ValueBase &x);
53         virtual Vocab get_param_vocab()const;
54 }; // END of class ValueNode_Greyed
55
56 }; // END of namespace synfig
57
58 /* === E N D =============================================================== */
59
60 #endif