return wxFileName::GetHomeDir();
}
-wxString wxStandardPaths::GetPluginsDir() const
-{
- return wxString();
-}
-
// ============================================================================
// wxStandardPaths implementation for VMS
// ============================================================================
{
wx_const_cast(wxStandardPaths *, this)->m_prefix = wxT("/sys$system");
}
+
+ return m_prefix;
}
wxString wxStandardPaths::GetConfigDir() const
return wxFileName::GetHomeDir();
}
+wxString wxStandardPaths::GetPluginsDir() const
+{
+ return wxString(); // TODO: this is wrong, it should return something
+}
+
+wxString
+wxStandardPaths::GetLocalizedResourcesDir(const wxChar *lang,
+ ResourceCat category) const
+{
+ return wxStandardPathsBase::GetLocalizedResourcesDir(lang, category);
+}
+
#else // !__VMS
// ============================================================================
return AppendAppName(wxFileName::GetHomeDir() + _T("/."));
}
+wxString wxStandardPaths::GetPluginsDir() const
+{
+ return AppendAppName(GetInstallPrefix() + _T("/lib"));
+}
+
+wxString
+wxStandardPaths::GetLocalizedResourcesDir(const wxChar *lang,
+ ResourceCat category) const
+{
+ if ( category != ResourceCat_Messages )
+ return wxStandardPathsBase::GetLocalizedResourcesDir(lang, category);
+
+ return GetInstallPrefix() + _T("/share/locale/") + lang + _T("/LC_MESSAGES");
+}
+
#endif // __VMS/!__VMS
#endif // wxUSE_STDPATHS