Cosmetic changes to code.

This commit is contained in:
Birunthan Mohanathas 2011-02-03 18:09:24 +00:00
parent 3af4e14a4a
commit bf79f44e96
43 changed files with 62 additions and 62 deletions

View File

@ -24,7 +24,7 @@
#include <string> #include <string>
#include <algorithm> #include <algorithm>
#include "resource.h" #include "resource.h"
#include "..\Library\Rainmeter.h" #include "../Library/Rainmeter.h"
#if defined _M_IX86 #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='*'\"") #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")

View File

@ -2,7 +2,7 @@
// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3
// //
#include "resource.h" #include "resource.h"
#include "..\Version.h" #include "../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "resource.h" #include "resource.h"
#include "..\Version.h" #include "../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -333,7 +333,7 @@
** CHANGE it to undefined as soon as your programs use only '...' to ** CHANGE it to undefined as soon as your programs use only '...' to
** access vararg parameters (instead of the old 'arg' table). ** 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. @@ LUA_COMPAT_MOD controls compatibility with old math.mod function.

View File

@ -21,9 +21,9 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <map> #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); //ULONGLONG GetPerfData(PCTSTR ObjectName, PCTSTR InstanceName, PCTSTR CounterName);
void UpdateProcesses(); void UpdateProcesses();

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -22,9 +22,9 @@
#include "CoreTempProxy.h" #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" extern "C"
{ {

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -20,9 +20,9 @@
#include <windows.h> #include <windows.h>
#include <math.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 */ /* The exported functions */
__declspec( dllexport ) UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id); __declspec( dllexport ) UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id);

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -3,7 +3,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <windows.h> #include <windows.h>
#include "..\..\Library\pcre-8.10\pcre.h" #include "../../Library/pcre-8.10/pcre.h"
namespace PluginFolderInfo { namespace PluginFolderInfo {

View File

@ -17,12 +17,12 @@
*/ */
#include <windows.h> #include <windows.h>
#include "..\..\Library\Export.h" // Rainmeter's exported functions #include "../../Library/Export.h" // Rainmeter's exported functions
#include <map> #include <map>
#include "FolderInfo.h" #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 #define UPDATE_TIME_MIN_MS 10000

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -18,9 +18,9 @@
#include <windows.h> #include <windows.h>
#include <string> #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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -21,9 +21,9 @@
#include <string> #include <string>
#include <map> #include <map>
#include <crtdbg.h> #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); ULONGLONG GetPerfData(PCTSTR ObjectName, PCTSTR InstanceName, PCTSTR CounterName);

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -27,9 +27,9 @@
#include <Ipexport.h> #include <Ipexport.h>
#include <Windns.h> #include <Windns.h>
#include <stdlib.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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -24,9 +24,9 @@
#include <string> #include <string>
#include <time.h> #include <time.h>
#include <Powrprof.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 typedef struct _PROCESSOR_POWER_INFORMATION
{ {

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -26,9 +26,9 @@
#include <time.h> #include <time.h>
#include <tchar.h> #include <tchar.h>
#include <shlwapi.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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -24,9 +24,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <map> #include <map>
#include <vector> #include <vector>
#include <time.h> #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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -32,9 +32,9 @@
#include <map> #include <map>
#include <string> #include <string>
#include <psapi.h> #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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -22,9 +22,9 @@
#include <math.h> #include <math.h>
#include <string> #include <string>
#include <map> #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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -24,9 +24,9 @@
#include <map> #include <map>
#include <Ras.h> #include <Ras.h>
#include <Iphlpapi.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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -72,7 +72,7 @@
#include "../../Library/Export.h" #include "../../Library/Export.h"
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point #include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
extern "C" extern "C"
{ {

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -29,10 +29,10 @@
#include <Wininet.h> #include <Wininet.h>
#include <shlwapi.h> #include <shlwapi.h>
#include <process.h> #include <process.h>
#include "..\..\Library\pcre-8.10/pcre.h" #include "../../Library/pcre-8.10/pcre.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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -24,9 +24,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <math.h> #include <math.h>
#include <wlanapi.h> #include <wlanapi.h>
#pragma comment( lib, "wlanapi.lib") #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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -30,9 +30,9 @@
#include <Functiondiscoverykeys_devpkey.h> #include <Functiondiscoverykeys_devpkey.h>
#include "PolicyConfig.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) \ #define SAFE_RELEASE(punk) \
if ((punk) != NULL) { (punk)->Release(); (punk) = NULL; } if ((punk) != NULL) { (punk)->Release(); (punk) = NULL; }

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -24,9 +24,9 @@
#include <map> #include <map>
#include <vector> #include <vector>
#include <time.h> #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 */ /* The exported functions */
extern "C" extern "C"

View File

@ -1,7 +1,7 @@
// Microsoft Developer Studio generated resource script. // Microsoft Developer Studio generated resource script.
// //
#include "..\..\Version.h" #include "../../Version.h"
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
#include "windows.h" #include "windows.h"
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS

View File

@ -21,11 +21,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <windows.h> #include <windows.h>
#include <comdef.h> #include <comdef.h>
#include "iTunesCOMInterface.h" #include "iTunesCOMInterface.h"
#include "..\..\Library\Export.h" // Rainmeter's exported functions #include "../../Library/Export.h" // Rainmeter's exported functions
#include <map> #include <map>
#include <time.h> #include <time.h>
#include "..\..\Library\DisableThreadLibraryCalls.h" // contains DllMain entry point #include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
const int VOLUME_STEP = 5; const int VOLUME_STEP = 5;