libqi-api  2.0.6.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Functions
qi::path::detail Namespace Reference

Functions

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

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).

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines