mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	Remove unnecessary files in SkinInstaller/
This commit is contained in:
		@@ -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 <string>
 | 
			
		||||
#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
 | 
			
		||||
@@ -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"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
		Reference in New Issue
	
	Block a user