2022-07-15 14:55:18 +02:00
|
|
|
#ifndef LASTOPENEDFILES_H
|
|
|
|
#define LASTOPENEDFILES_H
|
|
|
|
|
2022-07-15 21:04:02 +02:00
|
|
|
#include "core/reference.h"
|
|
|
|
|
|
|
|
class ItemList;
|
2022-07-15 14:55:18 +02:00
|
|
|
|
|
|
|
class LastOpenedFiles : public Reference {
|
2022-07-15 17:09:10 +02:00
|
|
|
GDCLASS(LastOpenedFiles, Reference);
|
2022-07-15 14:55:18 +02:00
|
|
|
|
2022-07-15 17:09:10 +02:00
|
|
|
public:
|
2022-07-15 21:04:02 +02:00
|
|
|
void store_opened_files(ItemList *filecontainer);
|
|
|
|
void remove_opened_file(const int index, ItemList *filecontainer);
|
2022-07-15 17:09:10 +02:00
|
|
|
Array load_opened_files();
|
|
|
|
void store_editor_fonts(const String &file_name, const String &font_path);
|
|
|
|
String get_editor_font();
|
2022-07-15 14:55:18 +02:00
|
|
|
|
2022-07-15 17:09:10 +02:00
|
|
|
LastOpenedFiles();
|
|
|
|
~LastOpenedFiles();
|
2022-07-15 14:55:18 +02:00
|
|
|
|
2022-07-15 17:09:10 +02:00
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
2022-07-15 14:55:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|