mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
0b4ba32924
Fixed a memory leak in the string meter. Changed the library project to use precompiled headers.
68 lines
1.6 KiB
C++
68 lines
1.6 KiB
C++
/*
|
|
Copyright (C) 2009 Kimmo Pekkola
|
|
|
|
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __STDAFX_H__
|
|
#define __STDAFX_H__
|
|
|
|
#define _WIN32_IE 0x0600
|
|
|
|
#pragma warning(disable: 4786)
|
|
#pragma warning(disable: 4996)
|
|
|
|
#define _CRTDBG_MAP_ALLOC
|
|
#include <stdlib.h>
|
|
#include <crtdbg.h>
|
|
|
|
// WINAPI
|
|
#include <windows.h>
|
|
#include <gdiplus.h>
|
|
#include <comdef.h>
|
|
#include <Iphlpapi.h>
|
|
#include <commctrl.h>
|
|
#include <shellapi.h>
|
|
#include <algorithm>
|
|
#include <Mmsystem.h>
|
|
#include <tchar.h>
|
|
#include <shlobj.h>
|
|
#include <winperf.h>
|
|
#include <Windns.h>
|
|
#include <Ipexport.h>
|
|
#include <Powrprof.h>
|
|
|
|
// STL
|
|
#include <map>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <hash_map>
|
|
#include <list>
|
|
#include <sstream>
|
|
#include <ctime>
|
|
#include <cstdlib>
|
|
#include <fstream>
|
|
#include <iostream>
|
|
|
|
// RUNTIME
|
|
#include <stdio.h>
|
|
#include <time.h>
|
|
#include <math.h>
|
|
#include <time.h>
|
|
#include <assert.h>
|
|
#include <io.h>
|
|
|
|
#endif
|