forked from mia/Aegisub
Further removal of traces of Auto4 Perl and Ruby. (Is this some Pokemon game?)
Updates #930. Originally committed to SVN as r3210.
This commit is contained in:
parent
bec9378182
commit
0475b95e60
4 changed files with 0 additions and 60 deletions
|
@ -69,12 +69,6 @@ AboutScreen::AboutScreen(wxWindow *parent)
|
|||
#ifdef WITH_AUTO4_LUA
|
||||
libString += _T(" Lua - Copyright (c) Lua.org, PUC-Rio;\n");
|
||||
#endif
|
||||
#ifdef WITH_PERL
|
||||
libString += _T(" Perl - Copyright (c) Larry Wall et al;\n");
|
||||
#endif
|
||||
#ifdef WITH_RUBY
|
||||
libString += _T(" Ruby - Copyright (c) Yukihiro Matsumoto et al;\n");
|
||||
#endif
|
||||
#ifdef WITH_HUNSPELL
|
||||
libString += _T(" Hunspell - Copyright (c) Kevin Hendricks;\n");
|
||||
#endif
|
||||
|
|
|
@ -54,12 +54,6 @@ PluginManager::PluginManager() {
|
|||
#ifdef WITH_AUTO4_LUA
|
||||
lua = NULL;
|
||||
#endif
|
||||
#ifdef WITH_PERL
|
||||
perl = NULL;
|
||||
#endif
|
||||
#ifdef WITH_RUBY
|
||||
ruby = NULL;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
@ -80,20 +74,6 @@ PluginManager::~PluginManager() {
|
|||
lua = NULL;
|
||||
}
|
||||
#endif
|
||||
#ifdef WITH_PERL
|
||||
if (perl) {
|
||||
perl->Unregister(perl);
|
||||
delete perl;
|
||||
perl = NULL;
|
||||
}
|
||||
#endif
|
||||
#ifdef WITH_RUBY
|
||||
if (ruby) {
|
||||
ruby->Unregister(ruby);
|
||||
delete ruby;
|
||||
ruby = NULL;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -112,13 +92,6 @@ void PluginManager::RegisterBuiltInPlugins() {
|
|||
#ifdef WITH_AUTO4_LUA
|
||||
lua = new Automation4::LuaScriptFactory();
|
||||
lua->RegisterFactory();
|
||||
#endif
|
||||
#ifdef WITH_PERL
|
||||
perl = new Automation4::PerlScriptFactory();
|
||||
perl->RegisterFactory();
|
||||
#endif
|
||||
#ifdef WITH_RUBY
|
||||
ruby = new Automation4::RubyScriptFactory();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -39,12 +39,6 @@
|
|||
#ifdef WITH_AUTO4_LUA
|
||||
#include "auto4_lua_factory.h"
|
||||
#endif
|
||||
#ifdef WITH_PERL
|
||||
#include "auto4_perl_factory.h"
|
||||
#endif
|
||||
#ifdef WITH_RUBY
|
||||
#include "auto4_ruby_factory.h"
|
||||
#endif
|
||||
|
||||
|
||||
////////////////////////
|
||||
|
@ -56,12 +50,6 @@ private:
|
|||
#ifdef WITH_AUTO4_LUA
|
||||
Automation4::LuaScriptFactory *lua;
|
||||
#endif
|
||||
#ifdef WITH_PERL
|
||||
Automation4::PerlScriptFactory *perl;
|
||||
#endif
|
||||
#ifdef WITH_RUBY
|
||||
Automation4::RubyScriptFactory *ruby;
|
||||
#endif
|
||||
|
||||
public:
|
||||
PluginManager();
|
||||
|
|
|
@ -150,14 +150,6 @@
|
|||
#endif
|
||||
|
||||
|
||||
////////
|
||||
// Ruby
|
||||
#ifdef WITH_RUBY
|
||||
#pragma comment(lib,"ws2_32.lib")
|
||||
#pragma comment(lib,"msvcrt-ruby18-static.lib")
|
||||
#endif
|
||||
|
||||
|
||||
/////////////
|
||||
// FreeType2
|
||||
#ifdef WITH_FREETYPE2
|
||||
|
@ -180,11 +172,4 @@
|
|||
#endif
|
||||
|
||||
|
||||
////////
|
||||
// Perl
|
||||
#ifdef WITH_PERL
|
||||
#pragma comment(lib,"perl510.lib")
|
||||
#endif
|
||||
|
||||
|
||||
#endif // VisualC
|
||||
|
|
Loading…
Reference in a new issue