X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fmwindow.h;h=97581ca8b6a5a03e741684fc1345823a5bfa4827;hb=c0b71a7151437c681fe832d1e446924a49ab29aa;hp=73c5b1bc580ce3deb968f9f680134271da9d50fe;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/mwindow.h b/cinelerra-5.0/cinelerra/mwindow.h index 73c5b1bc..97581ca8 100644 --- a/cinelerra-5.0/cinelerra/mwindow.h +++ b/cinelerra-5.0/cinelerra/mwindow.h @@ -31,6 +31,7 @@ #include "awindow.inc" #include "batchrender.inc" #include "bcwindowbase.inc" +#include "bdcreate.inc" #include "brender.inc" #include "cache.inc" #include "channel.inc" @@ -40,9 +41,9 @@ #include "bchash.inc" #include "devicedvbinput.inc" #include "devicempeginput.inc" +#include "dvdcreate.inc" #include "edit.inc" #include "edl.inc" -#include "fileserver.inc" #include "filesystem.inc" #include "filexml.inc" #include "framecache.inc" @@ -65,6 +66,7 @@ #include "playback3d.inc" #include "playbackengine.inc" #include "plugin.inc" +#include "pluginfclient.inc" #include "pluginserver.inc" #include "pluginset.inc" #include "preferences.inc" @@ -88,6 +90,7 @@ #include "transportque.inc" #include "videowindow.inc" #include "vwindow.inc" +#include "wwindow.inc" #include "wavecache.inc" // All entry points for commands except for window locking should be here. @@ -410,6 +413,7 @@ public: void paste_audio_transition(); void paste_video_transition(); void shuffle_edits(); + void reverse_edits(); void align_edits(); void set_edit_length(double length); // Set length of single transition @@ -422,7 +426,10 @@ public: // Asset removal from caches void reset_caches(); void remove_asset_from_caches(Asset *asset); - void remove_assets_from_project(int push_undo = 0); + void remove_assets_from_project(int push_undo /* = 0 */, + int redraw /* 1 */, + ArrayList *drag_assets /* mwindow->session->drag_assets */, + ArrayList *drag_clips /* mwindow->session->drag_clips */); void remove_assets_from_disk(); void resize_track(Track *track, int w, int h); @@ -468,8 +475,6 @@ public: static void trap_hook(FILE *fp, void *vp); void reset_android_remote(); - - // Send new EDL to caches void age_caches(); @@ -516,26 +521,25 @@ public: ChannelDB *channeldb_buz; ChannelDB *channeldb_v4l2jpeg; - static FileServer *file_server; - // ====================================== plugins ============================== // Contains file descriptors for all the dlopens static ArrayList *plugindb; // Currently visible plugins + int64_t plugin_visibility; ArrayList *plugin_guis; // GUI Plugins to delete ArrayList *dead_plugins; // Keyframe editors ArrayList *keyframe_threads; - // Adjust sample position to line up with frames. int fix_timing(int64_t &samples_out, int64_t &frames_out, int64_t samples_in); + CreateBD_Thread *create_bd; CreateDVD_Thread *create_dvd; BatchRenderThread *batch_render; Render *render; @@ -554,6 +558,9 @@ public: GWindow *gwindow; // Tip of the day TipWindow *twindow; +// Warning window + WWindow *wwindow; + void show_warning(int *do_warning, const char *text); // Levels LevelWindow *lwindow; // Lock during creation and destruction of GUI @@ -565,7 +572,6 @@ public: // Initialize shared memory void init_shm(); - static void init_fileserver(Preferences *preferences); // Initialize channel DB's for playback void init_channeldb(); @@ -599,7 +605,10 @@ public: static int init_plugins(MWindow *mwindow, Preferences *preferences); static void init_plugin_index(MWindow *mwindow, Preferences *preferences, FILE *fp, const char *plug_dir, const char *plug_path, int &dir_id); + static void init_ffmpeg(); + static void init_ffmpeg_index(MWindow *mwindow, Preferences *preferences, FILE *fp); static int load_plugin_index(MWindow *mwindow, char *path); + static PluginServer* new_ffmpeg_server(MWindow *mwindow, const char *name); void init_preferences(); void init_signals(); void init_theme();