forked from mia/Aegisub
Now attempting to solve automation issues with Evolutionary programming: keep changing random shit until something works well, repeat until fixed.
Originally committed to SVN as r2002.
This commit is contained in:
parent
ed7a434a9e
commit
c833156e8b
2 changed files with 13 additions and 11 deletions
|
@ -690,6 +690,17 @@ namespace Automation4 {
|
|||
return backtr;
|
||||
}
|
||||
|
||||
RubyScriptFactory::RubyScriptFactory()
|
||||
{
|
||||
engine_name = _T("Ruby");
|
||||
filename_pattern = _T("*.rb");
|
||||
Register(this);
|
||||
}
|
||||
|
||||
RubyScriptFactory::~RubyScriptFactory()
|
||||
{
|
||||
}
|
||||
|
||||
Script* RubyScriptFactory::Produce(const wxString &filename) const
|
||||
{
|
||||
// Just check if file extension is .rb
|
||||
|
|
|
@ -41,17 +41,8 @@ namespace Automation4 {
|
|||
// Factory class for Ruby scripts
|
||||
class RubyScriptFactory : public ScriptFactory {
|
||||
public:
|
||||
RubyScriptFactory()
|
||||
{
|
||||
engine_name = _T("Ruby");
|
||||
filename_pattern = _T("*.rb");
|
||||
Register(this);
|
||||
}
|
||||
|
||||
~RubyScriptFactory()
|
||||
{
|
||||
}
|
||||
|
||||
RubyScriptFactory();
|
||||
~RubyScriptFactory();
|
||||
Script* Produce(const wxString &filename) const;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue