openshot-audio  0.1.6
juce_NativeMessageBox.h
Go to the documentation of this file.
1 /*
2  ==============================================================================
3 
4  This file is part of the JUCE library.
5  Copyright (c) 2015 - ROLI Ltd.
6 
7  Permission is granted to use this software under the terms of either:
8  a) the GPL v2 (or any later version)
9  b) the Affero GPL v3
10 
11  Details of these licenses can be found at: www.gnu.org/licenses
12 
13  JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
14  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
15  A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16 
17  ------------------------------------------------------------------------------
18 
19  To release a closed-source product which uses JUCE, commercial licenses are
20  available: visit www.juce.com for more information.
21 
22  ==============================================================================
23 */
24 
25 #ifndef JUCE_NATIVEMESSAGEBOX_H_INCLUDED
26 #define JUCE_NATIVEMESSAGEBOX_H_INCLUDED
27 
28 //==============================================================================
33 {
34 public:
47  #if JUCE_MODAL_LOOPS_PERMITTED
48  static void JUCE_CALLTYPE showMessageBox (AlertWindow::AlertIconType iconType,
49  const String& title,
50  const String& message,
51  Component* associatedComponent = nullptr);
52  #endif
53 
72  const String& title,
73  const String& message,
74  Component* associatedComponent = nullptr,
75  ModalComponentManager::Callback* callback = nullptr);
76 
106  const String& title,
107  const String& message,
109  Component* associatedComponent = nullptr,
110  ModalComponentManager::Callback* callback = nullptr);
111  #else
112  Component* associatedComponent,
114  #endif
115 
149  const String& title,
150  const String& message,
152  Component* associatedComponent = nullptr,
153  ModalComponentManager::Callback* callback = nullptr);
154  #else
155  Component* associatedComponent,
157  #endif
158 
159 private:
162 };
163 
164 #endif // JUCE_NATIVEMESSAGEBOX_H_INCLUDED
#define JUCE_MODAL_LOOPS_PERMITTED
Definition: juce_PlatformDefs.h:329
Definition: juce_NativeMessageBox.h:32
#define JUCE_CALLTYPE
Definition: juce_PlatformDefs.h:50
Definition: juce_ModalComponentManager.h:53
AlertIconType
Definition: juce_AlertWindow.h:48
Definition: juce_String.h:43
static void JUCE_CALLTYPE showMessageBoxAsync(AlertWindow::AlertIconType iconType, const String &title, const String &message, Component *associatedComponent=nullptr, ModalComponentManager::Callback *callback=nullptr)
Definition: juce_linux_Windowing.cpp:4176
Definition: juce_Component.h:33
#define JUCE_DELETED_FUNCTION
Definition: juce_CompilerSupport.h:133
#define JUCE_DECLARE_NON_COPYABLE(className)
Definition: juce_PlatformDefs.h:191
static bool JUCE_CALLTYPE showOkCancelBox(AlertWindow::AlertIconType iconType, const String &title, const String &message, Component *associatedComponent, ModalComponentManager::Callback *callback)
Definition: juce_linux_Windowing.cpp:4184
static int JUCE_CALLTYPE showYesNoCancelBox(AlertWindow::AlertIconType iconType, const String &title, const String &message, Component *associatedComponent, ModalComponentManager::Callback *callback)
Definition: juce_linux_Windowing.cpp:4193