Audacity 3.2.0
CloudExporterPlugin.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 CloudExporterPlugin.h
7
8 Dmitry Vedenko
9
10**********************************************************************/
11#pragma once
12
13#include <wx/string.h>
14
15#include "Identifier.h"
16
17namespace cloud
18{
20
28class CLOUD_UPLOAD_API CloudExporterPlugin /* not final */
29{
30public:
31 virtual ~CloudExporterPlugin() noexcept;
32
34 virtual wxString GetExporterID() const = 0;
36 virtual FileExtension GetFileExtension() const = 0;
38 virtual void OnBeforeExport() = 0;
40 virtual void OnAfterExport();
41
42}; // class CloudExporterPlugin
43} // namespace cloud
wxString FileExtension
File extension, not including any leading dot.
Definition: Identifier.h:224
Helper interface, that allows to setup the desired export format on the ExportPlugin.
virtual wxString GetExporterID() const =0
Identifier of the ExportPlugin to be used.
virtual FileExtension GetFileExtension() const =0
File extension that is expected with this plugin.
virtual void OnBeforeExport()=0
Setup the preferred format for the export.