5 #include "autoconf.inc"
8 #include "floatautos.inc"
10 #include "maxchannels.h"
11 #include "panautos.inc"
17 class ATrack
: public Track
20 ATrack(EDL
*edl
, Tracks
*tracks
);
25 int load_defaults(BC_Hash
*defaults
);
26 void set_default_title();
27 PluginSet
* new_plugins();
28 int vertical_span(Theme
*theme
);
29 int save_header(FileXML
*file
);
30 int save_derived(FileXML
*file
);
31 int load_header(FileXML
*file
, uint32_t load_flags
);
32 int load_derived(FileXML
*file
, uint32_t load_flags
);
33 int copy_settings(Track
*track
);
34 int identical(int64_t sample1
, int64_t sample2
);
35 void synchronize_params(Track
*track
);
36 int64_t to_units(double position
, int round
);
37 double to_doubleunits(double position
);
38 double from_units(int64_t position
);
47 // ====================================== initialization
48 int create_derived_objs(int flash
);
53 // ===================================== editing
54 int paste_derived(int64_t start
, int64_t end
, int64_t total_length
, FileXML
*xml
, int ¤t_channel
);
57 int modify_handles(int64_t oldposition
, int64_t newposition
, int currentend
);
60 int get_dimensions(double &view_start
,