22 #include "internal/berryInternalPlatform.h"
23 #include "internal/berryIRuntimeConstants.h"
25 #include <service/datalocation/ctkLocation.h>
80 return location->getUrl().toLocalFile();
87 return InternalPlatform::GetInstance()->GetConfigurationLocation();
92 return InternalPlatform::GetInstance()->GetAdapterManager();
97 return InternalPlatform::GetInstance()->GetExtensionRegistry();
102 return InternalPlatform::GetInstance()->GetPreferencesService();
115 return location->getUrl().toLocalFile();
122 return InternalPlatform::GetInstance()->GetInstallLocation();
130 return location->getUrl().toLocalFile();
138 return InternalPlatform::GetInstance()->GetInstanceLocation();
153 #ifdef BERRY_OS_FAMILY_UNIX
162 #ifdef BERRY_OS_FAMILY_WINDOWS
171 #ifdef BERRY_OS_FAMILY_BSD
180 #ifdef BERRY_OS_FAMILY_LINUX
189 #ifdef BERRY_OS_FAMILY_VMS
204 return InternalPlatform::GetInstance()->GetStateLocation(plugin);
212 return location->getUrl().toLocalFile();
220 return InternalPlatform::GetInstance()->GetUserLocation();
225 return InternalPlatform::GetInstance()->IsRunning();
230 return InternalPlatform::GetInstance()->GetApplicationArgs();
235 return InternalPlatform::GetInstance()->GetPlugin(symbolicName);
239 const QString& version)
241 return InternalPlatform::GetInstance()->GetPlugins(symbolicName, version);
246 return InternalPlatform::GetInstance()->GetOption(option);
251 return InternalPlatform::GetInstance()->GetProduct();