From e65af4d8906b062e38e87448a5721a8f8c2f7f29 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Tue, 5 Nov 2013 17:53:27 +0200 Subject: [PATCH] Remove unnecessary files in SkinInstaller/ --- SkinInstaller/Application.h | 59 --------------------------------- SkinInstaller/DialogInstall.cpp | 2 -- SkinInstaller/readme.txt | 37 --------------------- 3 files changed, 98 deletions(-) delete mode 100644 SkinInstaller/Application.h delete mode 100644 SkinInstaller/readme.txt diff --git a/SkinInstaller/Application.h b/SkinInstaller/Application.h deleted file mode 100644 index d07e9e72..00000000 --- a/SkinInstaller/Application.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - Copyright (C) 2011 Birunthan Mohanathas - - 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. -*/ - -#ifndef SKININSTALLER_APPLICATION_H_ -#define SKININSTALLER_APPLICATION_H_ - -#include -#include "zip.h" -#include "unzip.h" - -#define MAX_LINE_LENGTH 4096 -#define MB_ERROR MB_OK | MB_TOPMOST | MB_ICONERROR - -struct GlobalData -{ - std::wstring programPath; - std::wstring settingsPath; - std::wstring skinsPath; - std::wstring iniFile; -}; - -struct OsNameVersion -{ - const WCHAR* name; - const WCHAR* version; -}; - -enum OSPLATFORM -{ - OSPLATFORM_UNKNOWN = 0, - OSPLATFORM_XP, - OSPLATFORM_VISTA, - OSPLATFORM_7 -}; - -bool CloseRainmeterIfActive(); -OSPLATFORM GetOSPlatform(); - -bool IsRunning(const WCHAR* name, HANDLE* hMutex); -bool CopyFiles(const std::wstring& strFrom, const std::wstring& strTo, bool bMove = false); -std::string ConvertToAscii(LPCTSTR str); -std::wstring ConvertToWide(LPCSTR str); - -#endif diff --git a/SkinInstaller/DialogInstall.cpp b/SkinInstaller/DialogInstall.cpp index 63f7c015..6f449e57 100644 --- a/SkinInstaller/DialogInstall.cpp +++ b/SkinInstaller/DialogInstall.cpp @@ -19,8 +19,6 @@ #include "StdAfx.h" #include "SkinInstaller.h" #include "DialogInstall.h" -#include "../Library/pcre-8.10/config.h" -#include "../Library/pcre-8.10/pcre.h" #include "resource.h" #include "../Version.h" diff --git a/SkinInstaller/readme.txt b/SkinInstaller/readme.txt deleted file mode 100644 index b8118546..00000000 --- a/SkinInstaller/readme.txt +++ /dev/null @@ -1,37 +0,0 @@ -* Zlib library: - Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler - http://zlib.net/ - -* Minizip unzip library (modified for Unicode support): - Copyright (C) 1998-2009 Gilles Vollant - http://www.winimage.com/zLibDll/minizip.html - -* XP/Vista workarounds modified for own needs from: - Copyright (C) Anders Kjersem - http://nsis.sourceforge.net/UAC_plug-in - - Note that the zlib/minizip libraries are not complete. That is, unneeded - files are not present. Visit links above for complete source distribution. - - Zlib, Minizip, and the work of Anders Kjersem are all distributed under the - zlib/libpng license: - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - -* SkinInstaller itself is distributed under the GNU GPL v2 license (found in \trunk). - Copyright (C) 2011 Birunthan Mohanathas