18 #include "internal/berryInternalPlatform.h" 19 #include "internal/berryIRuntimeConstants.h" 21 #include <service/datalocation/ctkLocation.h> 73 return location->getUrl().toLocalFile();
80 return InternalPlatform::GetInstance()->GetConfigurationLocation();
85 return InternalPlatform::GetInstance()->GetAdapterManager();
90 return InternalPlatform::GetInstance()->GetExtensionRegistry();
95 return InternalPlatform::GetInstance()->GetPreferencesService();
108 return location->getUrl().toLocalFile();
115 return InternalPlatform::GetInstance()->GetInstallLocation();
123 return location->getUrl().toLocalFile();
131 return InternalPlatform::GetInstance()->GetInstanceLocation();
146 #ifdef BERRY_OS_FAMILY_UNIX 155 #ifdef BERRY_OS_FAMILY_WINDOWS 164 #ifdef BERRY_OS_FAMILY_BSD 173 #ifdef BERRY_OS_FAMILY_LINUX 182 #ifdef BERRY_OS_FAMILY_VMS 197 return InternalPlatform::GetInstance()->GetStateLocation(plugin);
205 return location->getUrl().toLocalFile();
213 return InternalPlatform::GetInstance()->GetUserLocation();
218 return InternalPlatform::GetInstance()->IsRunning();
223 return InternalPlatform::GetInstance()->GetApplicationArgs();
228 return InternalPlatform::GetInstance()->GetPlugin(symbolicName);
232 const QString& version)
234 return InternalPlatform::GetInstance()->GetPlugins(symbolicName, version);
239 return InternalPlatform::GetInstance()->GetOption(option);
244 return InternalPlatform::GetInstance()->GetProduct();