Jamba C++ API 8.0.0
Loading...
Searching...
No Matches
IDialogHandler.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 pongasoft
3 *
4 * Licensed under the Apache License, Version 2.0 or the MIT license,
5 * at your option. You may not use this file except in compliance with
6 * one of these licenses. You may obtain copies of the licenses at:
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 * https://opensource.org/licenses/MIT
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 *
17 * @author Yan Pujante
18 */
19
20#ifndef JAMBA_IDIALOGHANDLER_H
21#define JAMBA_IDIALOGHANDLER_H
22
23#include <string>
24
25namespace pongasoft::VST::GUI {
26
46{
47public:
49 virtual ~IDialogHandler() = default;
50
61 virtual bool showDialog(std::string iTemplateName) = 0;
62
68 virtual bool dismissDialog() = 0;
69};
70
71}
72
73#endif //JAMBA_IDIALOGHANDLER_H
Defines the interface to show or dismiss a modal/dialog window which is a window that captures all ev...
Definition IDialogHandler.h:46
virtual bool showDialog(std::string iTemplateName)=0
This method is called with the name of the template to use for the dialog.
virtual bool dismissDialog()=0
Dismisses the currently shown dialog.
virtual ~IDialogHandler()=default
Destructor.
Definition DrawContext.cpp:25