reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit a681ed983c6e07714b0eaa01c6e28aa9523c50ad
parent 2e36967f016662807efa0eaeece8e53944754ab8
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Sun,  4 Jun 2017 04:38:08 -0400

Revert "api: add protectedOut parameter to GetRepositoryInfo"

This reverts commit dcecc5f29b1adfa38ec1309298edf8ad877932a7.

Diffstat:
Msrc/api.cpp | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/api.cpp b/src/api.cpp @@ -268,7 +268,7 @@ Delete the returned object from memory after use with <a href="#ReaPack_FreeEntr DEFINE_API(bool, GetRepositoryInfo, ((const char*, name)) ((char*, urlOut))((int, urlOut_sz)) - ((bool*, enabledOut))((int*, autoInstallOut))((bool*, protectedOut)), + ((bool*, enabledOut))((int*, autoInstallOut)), R"(Get the infos of the given repository. autoInstall: 0=manual, 1=when sychronizing, 2=obey user setting)", @@ -284,8 +284,6 @@ autoInstall: 0=manual, 1=when sychronizing, 2=obey user setting)", *enabledOut = remote.isEnabled(); if(autoInstallOut) *autoInstallOut = boost::lexical_cast<int>(remote.autoInstall()); - if(protectedOut) - *protectedOut = remote.isProtected(); return true; });