Changeset fbfb85e5272c…
Parent ccff3573cd1a…
by
Changes to 37 files · Browse files at fbfb85e5272c Showing diff from parent ccff3573cd1a Diff from another changeset...
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#include "stdafx.h"
#include "THgShell_h.h"
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef _CShellExtCMenu_h_
#define _CShellExtCMenu_h_
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#include "stdafx.h"
#include "THgShell_h.h"
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef _CShellExtDnd_h_
#define _CShellExtDnd_h_
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#include "stdafx.h"
#include "THgShell_h.h"
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef _CShellExtOverlay_h_
#define _CShellExtOverlay_h_
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Adrian Buehlmann
//
// This program is free software: you can redistribute it and/or modify
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Adrian Buehlmann
//
// This program is free software: you can redistribute it and/or modify
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
|
@@ -1,23 +1,22 @@ - // TortoiseSVN - a Windows shell extension for easy version control
-
-// Copyright (C) 2009 - TortoiseSVN
-
+// Copyright (C) 2011 Fog Creek Software
+// Copyright (C) 2009 TortoiseSVN
+//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
-
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software Foundation,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
// Adapted for use in TortoiseHg by Veniamin Albaev
-//
+
#include "stdafx.h"
#include "IconBitmapUtils.h"
|
@@ -1,24 +1,23 @@ - // TortoiseSVN - a Windows shell extension for easy version control
-
-// Copyright (C) 2009 - TortoiseSVN
-
+// Copyright (C) 2011 Fog Creek Software
+// Copyright (C) 2009 TortoiseSVN
+//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
-
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software Foundation,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
// Adapted for use in TortoiseHg by Veniamin Albaev
-//
+
#pragma once
#include <Uxtheme.h>
#include <GdiPlus.h>
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef _QUERY_DIRSTATE_H
#define _QUERY_DIRSTATE_H
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#include "stdafx.h"
#include "RegistryConfig.h"
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef REGISTRY_CONFIG_H_
#define REGISTRY_CONFIG_H_
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#include "stdafx.h"
#include <initguid.h>
#include "THgShell_h.h"
|
@@ -1,16 +1,17 @@ - // Copyright (C) 2002 - Torsten Martinsen
+// Copyright (C) 2011 Fog Creek Software
+// Copyright (C) 2002 Torsten Martinsen
// <torsten@tiscali.dk> - September 2002
-
+//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
-
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
@@ -1,16 +1,17 @@ - // Copyright (C) 2002 - Francis Irving
+// Copyright (C) 2011 Fog Creek Software
+// Copyright (C) 2002 Francis Irving
// <francis@flourish.org> - May 2002
-
+//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
-
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
@@ -18,8 +19,6 @@#ifndef _STRING_UTILS_H
#define _STRING_UTILS_H
-#include <windows.h>
-
// Quotes a string
CString Quote(const CString& str);
|
@@ -1,17 +1,16 @@ - // TortoiseSVN - a Windows shell extension for easy version control
-
-// Copyright (C) 2008 - TortoiseSVN
-
+// Copyright (C) 2011 Fog Creek Software
+// Copyright (C) 2008 TortoiseSVN
+//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
-
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software Foundation,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
@@ -1,21 +1,20 @@ - // TortoiseSVN - a Windows shell extension for easy version control
-
-// Copyright (C) 2008 - TortoiseSVN
-
+// Copyright (C) 2011 Fog Creek Software
+// Copyright (C) 2008 TortoiseSVN
+//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
-
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software Foundation,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-//
+
#pragma once
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#include "stdafx.h"
#include "ThgVersion.h"
#include "parentid.h"
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef _THGVERSION_H
#define _THGVERSION_H
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Adrian Buehlmann
//
// This program is free software: you can redistribute it and/or modify
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Adrian Buehlmann
//
// This program is free software: you can redistribute it and/or modify
@@ -22,16 +22,20 @@ static int SendRequest(const CString& strRequest);
public:
- static int Update(const CString& strPath) {
+ static int Update(const CString& strPath)
+ {
return SendRequest("update|" + strPath);
}
- static int Remove(const CString& strPath) {
+ static int Remove(const CString& strPath)
+ {
return SendRequest("remove|" + strPath);
}
- static int Error(const CString& strText) {
+ static int Error(const CString& strText)
+ {
return SendRequest("error|" + strText);
}
- static int Terminate() {
+ static int Terminate()
+ {
return SendRequest("terminate|");
}
};
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#include "stdafx.h"
#include "TortoiseUtils.h"
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef TORTOISE_ICON_BITMAP_H_
#define TORTOISE_ICON_BITMAP_H_
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#include "stdafx.h"
#include "TortoiseUtils.h"
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef _TORTOISE_UTILS_H_
#define _TORTOISE_UTILS_H_
|
-
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
#include "dirstate.h"
#include "TortoiseUtils.h"
CAutoPtr<CDirstate> CDirstate::Read(const CString& strPath, bool& bUnset)
{
bUnset = false;
FILE *pFile = fopenReadRenameAllowed(strPath);
if (!pFile)
{
ATLTRACE("Dirstate::read: can't open '%s'\n", (LPCTSTR)strPath);
return CAutoPtr<CDirstate>(NULL);
}
CAutoPtr<CDirstate> pd(new CDirstate());
fread(&pd->m_szParent1, sizeof(char), HASH_LENGTH, pFile);
fread(&pd->m_szParent2, sizeof(char), HASH_LENGTH, pFile);
CDirentry e;
CString strRelPath;
while (e.Read(pFile, strRelPath))
{
if (e.Unset())
bUnset = true;
if (e.m_chState == 'a')
++pd->m_nNumAdded;
pd->Add(strRelPath, e);
}
fclose(pFile);
return pd;
}
static char *RevHashString(const char achRevHash[HASH_LENGTH])
{
static char szRevString[HASH_LENGTH * 2 + 1];
static LPCTSTR lpszHexVal = "0123456789abcdef";
for (int i = 0; i < HASH_LENGTH; ++i)
{
szRevString[i * 2] = lpszHexVal[(achRevHash[i] >> 4) & 0xf];
szRevString[i * 2 + 1] = lpszHexVal[achRevHash[i] & 0xf];
}
szRevString[HASH_LENGTH * 2] = 0;
return szRevString;
}
void TestRead()
{
bool bUnset;
CAutoPtr<CDirstate> pDirstate = CDirstate::Read(".hg/dirstate", bUnset);
if ((CDirstate*)pDirstate == NULL) {
printf("error: could not read .hg/dirstate\n");
return;
}
printf("parent1: %s\n", RevHashString(pDirstate->m_szParent1));
printf("parent2: %s\n", RevHashString(pDirstate->m_szParent2));
printf("entries: %d\n\n", pDirstate->Size());
pDirstate->Root().Print();
}
#ifdef APPMAIN
int main(int argc, char *argv[])
{
TestRead();
return 0;
}
#endif
|
@@ -1,4 +1,4 @@ -
+// Copyright (C) 2011 Fog Creek Software
// Copyright (C) 2009 Benjamin Pollack
// Copyright (C) 2009 Adrian Buehlmann
//
|
@@ -1,3 +1,18 @@ + // Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
#ifndef _STDAFX_H_
#define _STDAFX_H_
|
@@ -1,9 +1,24 @@ - // terminates the overlay icon server
+// Copyright (C) 2011 Fog Creek Software
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
#include "Thgstatus.h"
+// terminates the overlay icon server
+
extern "C" UINT __stdcall TerminateIconServer()
{
if (CTHgStatus::Terminate() == 0)
|
Loading...