- Removed support for using Rainmeter.dll as Litestep module

- Merged Rainmeter.dll and Rainmeter.exe
- Language resource file now located in \Language\<LanguageName>.dll
- Build.bat now automatically builds and packages all languages
This commit is contained in:
Birunthan Mohanathas
2011-09-28 18:28:35 +00:00
parent 573c96d4fe
commit 13c17b9d1a
46 changed files with 420 additions and 2438 deletions

View File

@ -110,7 +110,7 @@ void CMeasureNet::UpdateIFTable()
logging = true;
}
if (CRainmeter::GetDebug() && logging)
if (Rainmeter->GetDebug() && logging)
{
Log(LOG_DEBUG, L"------------------------------");
LogWithArgs(LOG_DEBUG, L"* NETWORK-INTERFACE: Count=%i", c_NumOfTables);
@ -206,7 +206,7 @@ void CMeasureNet::UpdateIFTable()
logging = true;
}
if (CRainmeter::GetDebug() && logging)
if (Rainmeter->GetDebug() && logging)
{
Log(LOG_DEBUG, L"------------------------------");
LogWithArgs(LOG_DEBUG, L"* NETWORK-INTERFACE: Count=%i", c_NumOfTables);
@ -467,17 +467,17 @@ void CMeasureNet::ReadConfig(CConfigParser& parser, const WCHAR* section, NET ne
if (net == NET_IN)
{
netName = L"NetInSpeed";
value = CRainmeter::GetGlobalConfig().netInSpeed;
value = Rainmeter->GetGlobalConfig().netInSpeed;
}
else if (net == NET_OUT)
{
netName = L"NetOutSpeed";
value = CRainmeter::GetGlobalConfig().netOutSpeed;
value = Rainmeter->GetGlobalConfig().netOutSpeed;
}
else
{
netName = L"NetTotalSpeed";
value = CRainmeter::GetGlobalConfig().netInSpeed + CRainmeter::GetGlobalConfig().netOutSpeed;
value = Rainmeter->GetGlobalConfig().netInSpeed + Rainmeter->GetGlobalConfig().netOutSpeed;
}
double maxValue = parser.ReadFloat(section, L"MaxValue", -1);
@ -716,7 +716,7 @@ void CMeasureNet::InitializeNewApi()
}
}
if (CRainmeter::GetDebug())
if (Rainmeter->GetDebug())
{
UpdateIFTable();
}