summaryrefslogtreecommitdiff
path: root/hscript/key.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-05 20:31:05 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-05 20:31:05 -0500
commit645c5a1e07b8ca32f3ab7d25865bfff0e4332d41 (patch)
tree16000784ef35b39a95553acca5184764ef1259d5 /hscript/key.hh
parent3d976959ac21e14b3d729ee0c81cbebd3e520612 (diff)
downloadhorizon-645c5a1e07b8ca32f3ab7d25865bfff0e4332d41.tar.gz
horizon-645c5a1e07b8ca32f3ab7d25865bfff0e4332d41.tar.bz2
horizon-645c5a1e07b8ca32f3ab7d25865bfff0e4332d41.tar.xz
horizon-645c5a1e07b8ca32f3ab7d25865bfff0e4332d41.zip
Un-plugin the architecture of the API
Diffstat (limited to 'hscript/key.hh')
-rw-r--r--hscript/key.hh18
1 files changed, 0 insertions, 18 deletions
diff --git a/hscript/key.hh b/hscript/key.hh
index 7c398ca..5a9613b 100644
--- a/hscript/key.hh
+++ b/hscript/key.hh
@@ -36,23 +36,5 @@ public:
bool execute();
};
-/*! Describes a Key class. */
-typedef struct KeyDesc {
- /*! The name of the Key. */
- std::string name;
- /*! Determines if the Key is required to be present for the HorizonScript
- * to be considered valid. */
- bool required;
- /*! Determines how many times this Key can be repeated.
- * If this value is 0, it can be repeated an unlimited number of times.
- * If this value is 1, it can only be present once per HorizonScript.
- */
- int repeat;
- /*! Order of the Key. Determines when the Key will be executed. */
- int order;
- /*! The function used to create a new Key of this type. */
- Key*(*key_create_fn)(void);
-} key_desc_t;
-
}
}