mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
28 lines
536 B
C++
28 lines
536 B
C++
#ifndef CODE_SCRIPT_H
|
|
#define CODE_SCRIPT_H
|
|
|
|
#include <ion.h>
|
|
|
|
namespace Code {
|
|
|
|
/* Record : | Total Size | Name | Body |
|
|
* Script: | AutoImportationStatus | Content |*/
|
|
|
|
class Script : public Ion::Storage::Record {
|
|
public:
|
|
Script(Ion::Storage::Record r);
|
|
|
|
bool importationStatus() const;
|
|
void toggleImportationStatus();
|
|
|
|
const char * readContent() const;
|
|
|
|
static bool nameCompliant(const char * name);
|
|
|
|
constexpr static size_t k_importationStatusSize = 1;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|