libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
qi::path::detail Namespace Reference

Functions

std::vector< std::string > getSdkPrefixes ()
 Return the SDK prefixes list. It's always complete, native paths. More...
 
void addOptionalSdkPrefix (const char *prefix)
 Add a new SDK prefix to the list of searchable prefixes. More...
 
void clearOptionalSdkPrefix ()
 Reset the list of additional SDK prefixes. More...
 

Function Documentation

void qi::path::detail::addOptionalSdkPrefix ( const char *  prefix)

Add a new SDK prefix to the list of searchable prefixes.

A default SDK prefix is computed using argc, argv when calling qi::init().

After calling this function, the new SDK prefix will be taken into account by the other methods.

Parameters
prefixThe new prefix to add (in UTF-8).
void qi::path::detail::clearOptionalSdkPrefix ( )

Reset the list of additional SDK prefixes.

Reset all the SDK added with qi::path::addOptionalSdkPrefix. The list of SDK prefixes will only contain the default SDK prefix.

std::vector<std::string> qi::path::detail::getSdkPrefixes ( )

Return the SDK prefixes list. It's always complete, native paths.