This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Remove plugin directory support

  • Loading branch information...
nlyan committed Sep 27, 2016
1 parent bc6342e commit fc697d2ab79bbd2d607c97658c986b629a1280ed
Showing with 0 additions and 38 deletions.
  1. +0 −20 src/lib/arch/unix/ArchFileUnix.cpp
  2. +0 −18 src/lib/arch/win32/ArchFileWindows.cpp
@@ -104,20 +104,6 @@ ArchFileUnix::getLogDirectory()
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
ArchFileUnix::getProfileDirectory()
{
@@ -155,9 +141,3 @@ ArchFileUnix::setProfileDirectory(const String& s)
{
m_profileDirectory = s;
}
-
-void
-ArchFileUnix::setPluginDirectory(const String& s)
-{
- m_pluginDirectory = s;
-}
@@ -139,18 +139,6 @@ ArchFileWindows::getLogDirectory()
return getInstalledDirectory();
}
-std::string
-ArchFileWindows::getPluginDirectory()
-{
- if (!m_pluginDirectory.empty()) {
- return m_pluginDirectory;
- }
-
- std::string dir = getProfileDirectory();
- dir.append("\\Plugins");
- return dir;
-}
-
std::string
ArchFileWindows::getProfileDirectory()
{
@@ -195,9 +183,3 @@ ArchFileWindows::setProfileDirectory(const String& s)
{
m_profileDirectory = s;
}
-
-void
-ArchFileWindows::setPluginDirectory(const String& s)
-{
- m_pluginDirectory = s;
-}

0 comments on commit fc697d2

Please sign in to comment.