Audacity  3.0.3
FFmpeg.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3 Audacity: A Digital Audio Editor
4 
5 FFmpeg.h
6 
7 Audacity(R) is copyright (c) 1999-2009 Audacity Team.
8 License: GPL v2. See License.txt.
9 
10 ******************************************************************//*******************************************************************/
15 
16 #if !defined(__AUDACITY_FFMPEG__)
17 #define __AUDACITY_FFMPEG__
18 
19 
20 
21 #include "audacity/Types.h"
22 #include "widgets/wxPanelWrapper.h" // to inherit
23 
24 class wxCheckBox;
25 
26 /* rather earlier than normal, but pulls in config*.h and other program stuff
27  * we need for the next bit */
28 #include "ShuttleGui.h"
29 #include "Prefs.h"
30 
31 #include "Identifier.h"
32 #include "SampleFormat.h"
33 
34 #if defined(USE_FFMPEG)
35 # include "FFmpegFunctions.h"
36 #endif
37 
39 
40 /* from here on in, this stuff only applies when ffmpeg is available */
41 #if defined(USE_FFMPEG)
42 
43 //----------------------------------------------------------------------------
44 // Attempt to load and enable/disable FFmpeg at startup
45 //----------------------------------------------------------------------------
46 void FFmpegStartup();
47 
48 bool LoadFFmpeg(bool showerror);
49 
50 bool FindFFmpegLibs(wxWindow* parent = nullptr);
51 
52 
57 {
58 public:
59 
60  FFmpegNotFoundDialog(wxWindow *parent);
61 
63 
64  void OnOk(wxCommandEvent & WXUNUSED(event));
65 
66 private:
67 
68  wxCheckBox *mDontShow;
69 
70  DECLARE_EVENT_TABLE()
71 };
72 
74 
75 #endif // USE_FFMPEG
76 #endif // __AUDACITY_FFMPEG__
77 
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition: TranslatableString.h:32
BoolSetting
This specialization of Setting for bool adds a Toggle method to negate the saved value.
Definition: Prefs.h:204
wxPanelWrapper.h
FindFFmpegLibs
bool FindFFmpegLibs(wxWindow *parent=nullptr)
Definition: FFmpeg.cpp:306
FFmpegStartup
void FFmpegStartup()
Definition: FFmpeg.cpp:65
FFmpegNotFoundDialog
Definition: FFmpeg.h:57
Identifier.h
ShuttleGui.h
Types.h
wxDialogWrapper
Definition: wxPanelWrapper.h:81
FFmpegNotFoundDialog::mDontShow
wxCheckBox * mDontShow
Definition: FFmpeg.h:68
FFmpegNotFoundDialog::PopulateOrExchange
void PopulateOrExchange(ShuttleGui &S)
Definition: FFmpeg.cpp:261
GetFFmpegVersion
TranslatableString GetFFmpegVersion()
Definition: FFmpeg.cpp:82
Prefs.h
FFmpegFunctions.h
LoadFFmpeg
bool LoadFFmpeg(bool showerror)
Definition: FFmpeg.cpp:46
SampleFormat.h
FFmpegNotFoundDialog::FFmpegNotFoundDialog
FFmpegNotFoundDialog(wxWindow *parent)
Definition: FFmpeg.cpp:253
FFmpegNotFoundDialog::OnOk
void OnOk(wxCommandEvent &WXUNUSED(event))
Definition: FFmpeg.cpp:291
ShuttleGui
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:631
FFmpegNotFoundDontShow
BoolSetting FFmpegNotFoundDontShow
Definition: FFmpeg.cpp:349