Numworks Epsilon  1.4.1
Graphing Calculator Operating System
script.h
Go to the documentation of this file.
1 #ifndef CODE_SCRIPT_H
2 #define CODE_SCRIPT_H
3 
4 #include <ion.h>
5 
6 namespace Code {
7 
8 /* Record : | Total Size | Name | Body |
9  * Script: | AutoImportationStatus | Content |*/
10 
11 class Script : public Ion::Storage::Record {
12 public:
14 
15  bool importationStatus() const;
17 
18  const char * readContent() const;
19  ErrorStatus writeContent(const char * data, size_t size);
20 
21  constexpr static size_t k_importationStatusSize = 1;
22 };
23 
24 }
25 
26 #endif
def data
Definition: i18n.py:176
const char * readContent() const
Definition: script.cpp:22
Definition: app.cpp:7
void toggleImportationStatus()
Definition: script.cpp:16
bool importationStatus() const
Definition: script.cpp:10
Script(Ion::Storage::Record r)
Definition: script.cpp:5
ErrorStatus writeContent(const char *data, size_t size)
Definition: script.cpp:28
static constexpr size_t k_importationStatusSize
Definition: script.h:21