~akirad/cinecutie/trunk

« back to all changes in this revision

Viewing changes to TODO.dir/diffpatch/4/auto.h.patch

  • Committer: Paolo Rampino
  • Date: 2010-03-08 16:31:37 UTC
  • Revision ID: git-v1:9ad8e050eef4a4777c099f39dc4ef1553387dfeb
Added TODO.dir to help develop added credits

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- cinecutie/auto.h    2008-07-21 21:14:01.000000000 +0200
 
2
+++ /home/user/cinecutie/cinecutie/auto.h       2010-02-19 22:19:11.858573208 +0100
 
3
@@ -45,10 +45,10 @@
 
4
        virtual Auto& operator=(Auto &that);
 
5
        virtual int operator==(Auto &that);
 
6
        virtual void copy_from(Auto *that);
 
7
-       virtual void copy(int64_t start, 
 
8
-               int64_t end, 
 
9
-               FileXML *file, 
 
10
-               int default_only);
 
11
+       /* for interpolation creation */
 
12
+       /* if not possible, copy from a1 and return 0*/         
 
13
+       virtual int interpolate_from(Auto *a1, Auto *a2, int64_t position); 
 
14
+       virtual void copy(int64_t start, int64_t end, FileXML *file, int default_only);
 
15
 
 
16
        virtual void load(FileXML *file);
 
17
 
 
18
@@ -66,13 +66,6 @@
 
19
 // Units native to the track
 
20
        int is_default;
 
21
        int64_t position;
 
22
-// Calculation to use for floats
 
23
-       int mode;
 
24
-       enum
 
25
-       {
 
26
-               BEZIER,
 
27
-               LINEAR
 
28
-       }; 
 
29
 
 
30
 private:
 
31
        virtual int value_to_str(char *string, float value) {};