#5617 Remove plugin directory support
This commit is contained in:
parent
dc93b063b7
commit
f7e588dfff
|
@ -104,20 +104,6 @@ ArchFileUnix::getLogDirectory()
|
||||||
return "/var/log";
|
return "/var/log";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string
|
|
||||||
ArchFileUnix::getPluginDirectory()
|
|
||||||
{
|
|
||||||
if (!m_pluginDirectory.empty()) {
|
|
||||||
return m_pluginDirectory;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if WINAPI_XWINDOWS
|
|
||||||
return getProfileDirectory().append("/plugins");
|
|
||||||
#else
|
|
||||||
return getProfileDirectory().append("/Plugins");
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string
|
std::string
|
||||||
ArchFileUnix::getProfileDirectory()
|
ArchFileUnix::getProfileDirectory()
|
||||||
{
|
{
|
||||||
|
@ -155,9 +141,3 @@ ArchFileUnix::setProfileDirectory(const String& s)
|
||||||
{
|
{
|
||||||
m_profileDirectory = s;
|
m_profileDirectory = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
ArchFileUnix::setPluginDirectory(const String& s)
|
|
||||||
{
|
|
||||||
m_pluginDirectory = s;
|
|
||||||
}
|
|
||||||
|
|
|
@ -139,18 +139,6 @@ ArchFileWindows::getLogDirectory()
|
||||||
return getInstalledDirectory();
|
return getInstalledDirectory();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string
|
|
||||||
ArchFileWindows::getPluginDirectory()
|
|
||||||
{
|
|
||||||
if (!m_pluginDirectory.empty()) {
|
|
||||||
return m_pluginDirectory;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string dir = getProfileDirectory();
|
|
||||||
dir.append("\\Plugins");
|
|
||||||
return dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string
|
std::string
|
||||||
ArchFileWindows::getProfileDirectory()
|
ArchFileWindows::getProfileDirectory()
|
||||||
{
|
{
|
||||||
|
@ -195,9 +183,3 @@ ArchFileWindows::setProfileDirectory(const String& s)
|
||||||
{
|
{
|
||||||
m_profileDirectory = s;
|
m_profileDirectory = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
ArchFileWindows::setPluginDirectory(const String& s)
|
|
||||||
{
|
|
||||||
m_pluginDirectory = s;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue