2016-06-05 20:11:57 +02:00
|
|
|
#ifndef EDITOR_BITMASK_IMPORT_PLUGIN_H
|
|
|
|
#define EDITOR_BITMASK_IMPORT_PLUGIN_H
|
|
|
|
|
2017-03-18 23:45:45 +01:00
|
|
|
#include "editor/editor_import_export.h"
|
2016-06-05 20:11:57 +02:00
|
|
|
#include "scene/resources/font.h"
|
|
|
|
|
|
|
|
class EditorNode;
|
|
|
|
class EditorBitMaskImportDialog;
|
|
|
|
|
|
|
|
class EditorBitMaskImportPlugin : public EditorImportPlugin {
|
|
|
|
|
|
|
|
OBJ_TYPE(EditorBitMaskImportPlugin, EditorImportPlugin);
|
|
|
|
|
|
|
|
EditorBitMaskImportDialog *dialog;
|
|
|
|
|
2017-03-19 00:36:26 +01:00
|
|
|
public:
|
2016-06-05 20:11:57 +02:00
|
|
|
static EditorBitMaskImportPlugin *singleton;
|
|
|
|
|
|
|
|
virtual String get_name() const;
|
|
|
|
virtual String get_visible_name() const;
|
2017-03-19 00:36:26 +01:00
|
|
|
virtual void import_dialog(const String &p_from = "");
|
|
|
|
virtual Error import(const String &p_path, const Ref<ResourceImportMetadata> &p_from);
|
|
|
|
void import_from_drop(const Vector<String> &p_drop, const String &p_dest_path);
|
|
|
|
virtual void reimport_multiple_files(const Vector<String> &p_list);
|
2016-06-05 20:11:57 +02:00
|
|
|
virtual bool can_reimport_multiple_files() const;
|
|
|
|
|
2017-03-19 00:36:26 +01:00
|
|
|
EditorBitMaskImportPlugin(EditorNode *p_editor);
|
2016-06-05 20:11:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class EditorBitMaskExportPlugin : public EditorExportPlugin {
|
|
|
|
|
|
|
|
OBJ_TYPE(EditorBitMaskExportPlugin, EditorExportPlugin);
|
|
|
|
|
|
|
|
public:
|
|
|
|
EditorBitMaskExportPlugin();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // EDITOR_SAMPLE_IMPORT_PLUGIN_H
|