MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / GetPathsSeparator

Method GetPathsSeparator

PathCopyCopy/src/PathCopyCopySettings.cpp:553–563  ·  view source on GitHub ↗

Returns the string to use between each path copied. An empty string instructs PCC to use the default value (usually a newline). @return Separator between paths, or empty string to use default value.

Source from the content-addressed store, hash-verified

551 // @return Separator between paths, or empty string to use default value.
552 //
553 std::wstring Settings::GetPathsSeparator() const
554 {
555 // Perform late-revising.
556 Revise();
557
558 std::wstring pathsSeparator;
559 if (PluginUtils::ReadRegistryStringValue(m_UserKey, SETTING_PATHS_SEPARATOR, pathsSeparator) != ERROR_SUCCESS) {
560 pathsSeparator = SETTING_PATHS_SEPARATOR_DEFAULT;
561 }
562 return pathsSeparator;
563 }
564
565 //
566 // Returns whether we want to copy paths to the shortcut (.lnk) files

Callers 2

ActOnFilesMethod · 0.80
PathsSeparatorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected