Changeset a85421598868…
Parent ee639a46690e…
by
Changes to 5 files · Browse files at a85421598868 Showing diff from parent ee639a46690e Diff from another changeset...
@@ -4,7 +4,6 @@
#include "CShellExtDnd.h"
-
// According to http://msdn.microsoft.com/en-us/library/bb776094%28VS.85%29.aspx
// the help texts for the commands should be reasonably short (under 40 characters)
@@ -22,11 +21,9 @@ // "iconfile.ico", 0 },
};
-
static const char* const DropMenu =
"drag_move drag_copy";
-
#define ResultFromShort(i) ResultFromScode(MAKE_SCODE(SEVERITY_SUCCESS, 0, (USHORT)(i)))
// IContextMenu
@@ -70,7 +67,6 @@ return ResultFromShort(idCmd - idCmdFirst);
}
-
void CTortoiseHgDropHandler::RunDialog(const CString& strCmd)
{
if (strCmd == "drag_move" || strCmd == "drag_copy") {
@@ -80,7 +76,6 @@ CTortoiseHgCmenuBase::RunDialog(strCmd);
}
-
STDMETHODIMP CTortoiseHgDropHandler::Initialize(LPCITEMIDLIST pIDFolder,
LPDATAOBJECT pDataObj, HKEY hRegKey)
{
|
@@ -19,14 +19,12 @@ return S_OK;
}
-
STDMETHODIMP CTortoiseHgOverlay::GetPriority(int *pPriority)
{
*pPriority = 1;
return S_OK;
}
-
STDMETHODIMP CTortoiseHgOverlay::IsMemberOf(LPCWSTR pwszPath, DWORD /* dwAttrib */)
{
CComCritSecLock<CComAutoCriticalSection> lock(m_cs);
@@ -69,7 +67,6 @@ return S_FALSE;
}
-
CTortoiseHgOverlay::CTortoiseHgOverlay(char chClass) :
m_chTortoiseClass(chClass)
{
|
@@ -22,7 +22,6 @@ #include "Directory.h"
#include "Winstat.h"
-
CDirectory::CDirectory(CDirectory* pParent, const CString& strName,
const CString& strBasePath) :
m_pParent(pParent), m_strName(strName)
@@ -35,7 +34,6 @@ m_strPath = strBasePath + '/' + strName;
}
-
CDirectory::~CDirectory()
{
POSITION position = m_listSubdirs.GetHeadPosition();
@@ -45,7 +43,6 @@ }
}
-
int SplitBase(const CString& strPath, CString& strBase, CString& strRest)
{
if (strPath.IsEmpty())
@@ -68,7 +65,6 @@ return 1;
}
-
int CDirectory::Add(CString strName, CDirentry& rEntry)
{
CString strBase;
@@ -116,7 +112,6 @@ }
}
-
const CDirentry* CDirectory::Get(CString strRelPath) const
{
CString strBase;
@@ -163,7 +158,6 @@ }
}
-
CDirectory* CDirectory::GetDir(CString strRelPath)
{
CString strBase;
@@ -203,7 +197,6 @@ }
}
-
void CDirectory::Print() const
{
POSITION position = m_listSubdirs.GetHeadPosition();
|
@@ -20,7 +20,6 @@ #include "Thgstatus.h"
#include "TortoiseUtils.h"
-
char CDirectoryStatus::Status(CString strRelPath) const
{
bool bAdded = false;
@@ -51,7 +50,6 @@ return 'C';
}
-
int CDirectoryStatus::Read(const CString& strHgRoot, const CString& strCwd)
{
m_listEntries.RemoveAll();
@@ -126,7 +124,6 @@ return nRes;
}
-
struct CCacheEntry
{
CString strHgRoot;
@@ -137,7 +134,6 @@ CCacheEntry() : bReadFailed(false), uTickCount(0) {}
};
-
CDirectoryStatus* CDirectoryStatus::Get(const CString& strHgRoot,
const CString& strCwd)
{
|
@@ -20,7 +20,6 @@ return lpszValue;
}
-
// Start an external command
// Note: if the command is a batch file and the [full] path to the
// batch contains spaces, the path must be double-quoted.
@@ -143,7 +142,6 @@ return hIcon;
}
-
CString GetHgRepoRoot(LPCTSTR lpszPath)
{
ATLTRACE("GetHgRepoRoot('%s')\n", lpszPath);
@@ -174,13 +172,11 @@ return strPath;
}
-
bool IsHgRepo(LPCTSTR lpszPath)
{
return !GetHgRepoRoot(lpszPath).IsEmpty();
}
-
// open a file for reading, allowing renames and deletes by other
// processes while we have it open
FILE* fopenReadRenameAllowed(LPCTSTR lpszPath)
|
Loading...