OSDN Git Service

Add Git Command to document
[tortoisegit/TortoiseGitJp.git] / src / Utils / BugTraqAssociations.cpp
index faffabd..fede37a 100644 (file)
@@ -25,7 +25,7 @@
 DEFINE_GUID(CATID_BugTraqProvider, \r
                        0x3494fa92, 0xb139, 0x4730, 0x95, 0x91, 0x1, 0x13, 0x5d, 0x5e, 0x78, 0x31);\r
 \r
-#define BUGTRAQ_ASSOCIATIONS_REGPATH _T("Software\\TortoiseSVN\\BugTraq Associations")\r
+#define BUGTRAQ_ASSOCIATIONS_REGPATH _T("Software\\TortoiseGit\\BugTraq Associations")\r
 \r
 CBugTraqAssociations::~CBugTraqAssociations()\r
 {\r
@@ -81,16 +81,16 @@ void CBugTraqAssociations::Add(const CBugTraqAssociation &assoc)
        m_inner.push_back(new CBugTraqAssociation(assoc));\r
 }\r
 \r
-bool CBugTraqAssociations::FindProvider(const CTSVNPathList &pathList, CBugTraqAssociation *assoc) const\r
+bool CBugTraqAssociations::FindProvider(const CTGitPathList &pathList, CBugTraqAssociation *assoc) const\r
 {\r
        return FindProviderForPathList(pathList, assoc);\r
 }\r
 \r
-bool CBugTraqAssociations::FindProviderForPathList(const CTSVNPathList &pathList, CBugTraqAssociation *assoc) const\r
+bool CBugTraqAssociations::FindProviderForPathList(const CTGitPathList &pathList, CBugTraqAssociation *assoc) const\r
 {\r
        for (int i = 0; i < pathList.GetCount(); ++i)\r
        {\r
-               CTSVNPath path = pathList[i];\r
+               CTGitPath path = pathList[i];\r
                if (FindProviderForPath(path, assoc))\r
                        return true;\r
        }\r
@@ -98,7 +98,7 @@ bool CBugTraqAssociations::FindProviderForPathList(const CTSVNPathList &pathList
        return false;\r
 }\r
 \r
-bool CBugTraqAssociations::FindProviderForPath(CTSVNPath path, CBugTraqAssociation *assoc) const\r
+bool CBugTraqAssociations::FindProviderForPath(CTGitPath path, CBugTraqAssociation *assoc) const\r
 {\r
        do\r
        {\r
@@ -178,7 +178,7 @@ void CBugTraqAssociations::Save() const
        RegCloseKey(hk);\r
 }\r
 \r
-void CBugTraqAssociations::RemoveByPath(const CTSVNPath &path)\r
+void CBugTraqAssociations::RemoveByPath(const CTGitPath &path)\r
 {\r
        inner_t::iterator it = std::find_if(m_inner.begin(), m_inner.end(), FindByPathPred(path));\r
        if (it != m_inner.end())\r