-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import MakiObject from "./MakiObject"; | ||
import ConfigItem from "./ConfigItem"; | ||
import { unimplementedWarning } from "../utils"; | ||
|
||
class Config extends MakiObject { | ||
/** | ||
* getclassname() | ||
* | ||
* Returns the class name for the object. | ||
* @ret The class name. | ||
*/ | ||
getclassname() { | ||
return "Config"; | ||
} | ||
|
||
newitem(item_name, item_guid) { | ||
unimplementedWarning("newitem"); | ||
return new ConfigItem(null, this); | ||
} | ||
} | ||
|
||
export default Config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import MakiObject from "./MakiObject"; | ||
|
||
class ConfigAttribute extends MakiObject { | ||
/** | ||
* getclassname() | ||
* | ||
* Returns the class name for the object. | ||
* @ret The class name. | ||
*/ | ||
getclassname() { | ||
return "ConfigAttribute"; | ||
} | ||
} | ||
|
||
export default ConfigAttribute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import MakiObject from "./MakiObject"; | ||
|
||
class ConfigItem extends MakiObject { | ||
/** | ||
* getclassname() | ||
* | ||
* Returns the class name for the object. | ||
* @ret The class name. | ||
*/ | ||
getclassname() { | ||
return "ConfigItem"; | ||
} | ||
} | ||
|
||
export default ConfigItem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters