mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetic changes to code.
This commit is contained in:
parent
3af4e14a4a
commit
bf79f44e96
@ -24,7 +24,7 @@
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
#include "resource.h"
|
||||
#include "..\Library\Rainmeter.h"
|
||||
#include "../Library/Rainmeter.h"
|
||||
|
||||
#if defined _M_IX86
|
||||
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3
|
||||
//
|
||||
#include "resource.h"
|
||||
#include "..\Version.h"
|
||||
#include "../Version.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
#include "..\Version.h"
|
||||
#include "../Version.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -333,7 +333,7 @@
|
||||
** CHANGE it to undefined as soon as your programs use only '...' to
|
||||
** access vararg parameters (instead of the old 'arg' table).
|
||||
*/
|
||||
#undef LUA_COMPAT_VARARG
|
||||
#define LUA_COMPAT_VARARG
|
||||
|
||||
/*
|
||||
@@ LUA_COMPAT_MOD controls compatibility with old math.mod function.
|
||||
|
@ -21,9 +21,9 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
//ULONGLONG GetPerfData(PCTSTR ObjectName, PCTSTR InstanceName, PCTSTR CounterName);
|
||||
void UpdateProcesses();
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -22,9 +22,9 @@
|
||||
|
||||
#include "CoreTempProxy.h"
|
||||
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -20,9 +20,9 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <math.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
//#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
//#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
__declspec( dllexport ) UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id);
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <windows.h>
|
||||
#include "..\..\Library\pcre-8.10\pcre.h"
|
||||
#include "../../Library/pcre-8.10/pcre.h"
|
||||
|
||||
namespace PluginFolderInfo {
|
||||
|
||||
|
@ -17,12 +17,12 @@
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include <map>
|
||||
#include "FolderInfo.h"
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
#define UPDATE_TIME_MIN_MS 10000
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -18,9 +18,9 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <string>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -21,9 +21,9 @@
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <crtdbg.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
ULONGLONG GetPerfData(PCTSTR ObjectName, PCTSTR InstanceName, PCTSTR CounterName);
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -27,9 +27,9 @@
|
||||
#include <Ipexport.h>
|
||||
#include <Windns.h>
|
||||
#include <stdlib.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -24,9 +24,9 @@
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
#include <Powrprof.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
typedef struct _PROCESSOR_POWER_INFORMATION
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -26,9 +26,9 @@
|
||||
#include <time.h>
|
||||
#include <tchar.h>
|
||||
#include <shlwapi.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -24,9 +24,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <time.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -32,9 +32,9 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <psapi.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -22,9 +22,9 @@
|
||||
#include <math.h>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -24,9 +24,9 @@
|
||||
#include <map>
|
||||
#include <Ras.h>
|
||||
#include <Iphlpapi.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -72,7 +72,7 @@
|
||||
|
||||
#include "../../Library/Export.h"
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -29,10 +29,10 @@
|
||||
#include <Wininet.h>
|
||||
#include <shlwapi.h>
|
||||
#include <process.h>
|
||||
#include "..\..\Library\pcre-8.10/pcre.h"
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/pcre-8.10/pcre.h"
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -24,9 +24,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include <math.h>
|
||||
#include <wlanapi.h>
|
||||
#pragma comment( lib, "wlanapi.lib")
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -30,9 +30,9 @@
|
||||
#include <Functiondiscoverykeys_devpkey.h>
|
||||
#include "PolicyConfig.h"
|
||||
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
#define SAFE_RELEASE(punk) \
|
||||
if ((punk) != NULL) { (punk)->Release(); (punk) = NULL; }
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -24,9 +24,9 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <time.h>
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
/* The exported functions */
|
||||
extern "C"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Microsoft Developer Studio generated resource script.
|
||||
//
|
||||
|
||||
#include "..\..\Version.h"
|
||||
#include "../../Version.h"
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "windows.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
@ -21,11 +21,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#include <windows.h>
|
||||
#include <comdef.h>
|
||||
#include "iTunesCOMInterface.h"
|
||||
#include "..\..\Library\Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
#include <map>
|
||||
#include <time.h>
|
||||
|
||||
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
const int VOLUME_STEP = 5;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user