Changed the "tagrelease" and "tagstable" make targets to use subversion. Also increme...
[synfig.git] / synfig-studio / tags / stable / src / sinfgapp / actions / timepointsmove.h
1 /* === S I N F G =========================================================== */
2 /*!     \file timepointsmove.h
3 **      \brief Move the Time Points Header
4 **
5 **      $Id: timepointsmove.h,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $
6 **
7 **      \legal
8 **      Copyright (c) 2004 Adrian Bentley
9 **
10 **      This software and associated documentation
11 **      are CONFIDENTIAL and PROPRIETARY property of
12 **      the above-mentioned copyright holder.
13 **
14 **      You may not copy, print, publish, or in any
15 **      other way distribute this software without
16 **      a prior written agreement with
17 **      the copyright holder.
18 **      \endlegal
19 */
20 /* ========================================================================= */
21
22 /* === S T A R T =========================================================== */
23
24 #ifndef __SINFG_APP_ACTION_TIMEPOINTSMOVE_H
25 #define __SINFG_APP_ACTION_TIMEPOINTSMOVE_H
26
27 /* === H E A D E R S ======================================================= */
28
29 #include <sinfgapp/action.h>
30 #include <sinfg/time.h>
31 #include <sinfg/layer.h>
32 #include <sinfg/canvas.h>
33 #include <sinfgapp/value_desc.h>
34
35 #include <vector>
36 #include <set>
37
38 /* === M A C R O S ========================================================= */
39
40 /* === T Y P E D E F S ===================================================== */
41
42 /* === C L A S S E S & S T R U C T S ======================================= */
43
44 namespace sinfgapp {
45
46 class Instance;
47
48 namespace Action {
49
50 class TimepointsMove :
51         public Super
52 {
53 private:
54         
55         //process all the value descriptions that are selected (or are in subselections)
56         std::vector<sinfg::Layer::Handle>       sel_layers;
57         std::vector<sinfg::Canvas::Handle>      sel_canvases;
58         std::vector<sinfgapp::ValueDesc>        sel_values;
59         std::set<sinfg::Time>                           sel_times;
60         
61         sinfg::Time                                                     timemove;
62
63 public:
64
65         TimepointsMove();
66
67         static ParamVocab get_param_vocab();
68         static bool is_canidate(const ParamList &x);
69
70         virtual bool set_param(const sinfg::String& name, const Param &);
71         virtual bool is_ready()const;
72
73         virtual void prepare();
74         virtual void perform();
75
76         ACTION_MODULE_EXT
77 };
78
79 }; // END of namespace action
80 }; // END of namespace studio
81
82 /* === E N D =============================================================== */
83
84 #endif