Cosmetic changes to function comment blocks.

This commit is contained in:
Birunthan Mohanathas 2012-02-20 19:10:40 +00:00
parent 24598c0ca8
commit bb44c29f6c
48 changed files with 0 additions and 1196 deletions

View File

@ -32,8 +32,6 @@ using namespace Gdiplus;
std::unordered_map<std::wstring, std::wstring> CConfigParser::c_MonitorVariables; std::unordered_map<std::wstring, std::wstring> CConfigParser::c_MonitorVariables;
/* /*
** CConfigParser
**
** The constructor ** The constructor
** **
*/ */
@ -46,8 +44,6 @@ CConfigParser::CConfigParser() :
} }
/* /*
** ~CConfigParser
**
** The destructor ** The destructor
** **
*/ */
@ -55,11 +51,6 @@ CConfigParser::~CConfigParser()
{ {
} }
/*
** Initialize
**
**
*/
void CConfigParser::Initialize(LPCTSTR filename, CRainmeter* pRainmeter, CMeterWindow* meterWindow, LPCTSTR config) void CConfigParser::Initialize(LPCTSTR filename, CRainmeter* pRainmeter, CMeterWindow* meterWindow, LPCTSTR config)
{ {
m_Filename = filename; m_Filename = filename;
@ -92,11 +83,6 @@ void CConfigParser::Initialize(LPCTSTR filename, CRainmeter* pRainmeter, CMeterW
m_ListVariables.clear(); m_ListVariables.clear();
} }
/*
** SetBuiltInVariables
**
**
*/
void CConfigParser::SetBuiltInVariables(CRainmeter* pRainmeter, CMeterWindow* meterWindow) void CConfigParser::SetBuiltInVariables(CRainmeter* pRainmeter, CMeterWindow* meterWindow)
{ {
if (pRainmeter) if (pRainmeter)
@ -124,8 +110,6 @@ void CConfigParser::SetBuiltInVariables(CRainmeter* pRainmeter, CMeterWindow* me
} }
/* /*
** ReadVariables
**
** Sets all user-defined variables. ** Sets all user-defined variables.
** **
*/ */
@ -205,11 +189,6 @@ bool CConfigParser::GetVariable(const std::wstring& strVariable, std::wstring& s
return false; return false;
} }
/*
** ResetMonitorVariables
**
**
*/
void CConfigParser::ResetMonitorVariables(CMeterWindow* meterWindow) void CConfigParser::ResetMonitorVariables(CMeterWindow* meterWindow)
{ {
// Set the SCREENAREA/WORKAREA variables // Set the SCREENAREA/WORKAREA variables
@ -223,8 +202,6 @@ void CConfigParser::ResetMonitorVariables(CMeterWindow* meterWindow)
} }
/* /*
** SetMultiMonitorVariables
**
** Sets new values for the SCREENAREA/WORKAREA variables. ** Sets new values for the SCREENAREA/WORKAREA variables.
** **
*/ */
@ -329,8 +306,6 @@ void CConfigParser::SetMultiMonitorVariables(bool reset)
} }
/* /*
** SetAutoSelectedMonitorVariables
**
** Sets new SCREENAREA/WORKAREA variables for present monitor. ** Sets new SCREENAREA/WORKAREA variables for present monitor.
** **
*/ */
@ -592,11 +567,6 @@ bool CConfigParser::ReplaceMeasures(std::wstring& result)
return replaced; return replaced;
} }
/*
** ReadString
**
**
*/
const std::wstring& CConfigParser::ReadString(LPCTSTR section, LPCTSTR key, LPCTSTR defValue, bool bReplaceMeasures) const std::wstring& CConfigParser::ReadString(LPCTSTR section, LPCTSTR key, LPCTSTR defValue, bool bReplaceMeasures)
{ {
static std::wstring result; static std::wstring result;
@ -830,8 +800,6 @@ RECT CConfigParser::ReadRECT(LPCTSTR section, LPCTSTR key, const RECT& defValue)
} }
/* /*
** Tokenize
**
** Splits the string from the delimiters ** Splits the string from the delimiters
** **
** http://www.digitalpeer.com/id/simple ** http://www.digitalpeer.com/id/simple
@ -854,8 +822,6 @@ std::vector<std::wstring> CConfigParser::Tokenize(const std::wstring& str, const
} }
/* /*
** Shrink
**
** Trims empty element in vector and white-space in each string. ** Trims empty element in vector and white-space in each string.
** **
*/ */
@ -887,8 +853,6 @@ void CConfigParser::Shrink(std::vector<std::wstring>& vec)
} }
/* /*
** ParseDouble
**
** This is a helper method that parses the floating-point value from the given string. ** This is a helper method that parses the floating-point value from the given string.
** If the given string is invalid format or causes overflow/underflow, returns given default value. ** If the given string is invalid format or causes overflow/underflow, returns given default value.
** **
@ -908,8 +872,6 @@ double CConfigParser::ParseDouble(LPCTSTR string, double defValue)
} }
/* /*
** ParseInt
**
** This is a helper method that parses the integer value from the given string. ** This is a helper method that parses the integer value from the given string.
** If the given string is invalid format or causes overflow/underflow, returns given default value. ** If the given string is invalid format or causes overflow/underflow, returns given default value.
** **
@ -929,8 +891,6 @@ int CConfigParser::ParseInt(LPCTSTR string, int defValue)
} }
/* /*
** ParseUInt
**
** This is a helper method that parses the unsigned integer value from the given string. ** This is a helper method that parses the unsigned integer value from the given string.
** If the given string is invalid format or causes overflow/underflow, returns given default value. ** If the given string is invalid format or causes overflow/underflow, returns given default value.
** **
@ -950,8 +910,6 @@ unsigned int CConfigParser::ParseUInt(LPCTSTR string, unsigned int defValue)
} }
/* /*
** ParseColor
**
** This is a helper method that parses the color values from the given string. ** This is a helper method that parses the color values from the given string.
** The color can be supplied as three/four comma separated values or as one ** The color can be supplied as three/four comma separated values or as one
** hex-value. ** hex-value.
@ -1021,8 +979,6 @@ ARGB CConfigParser::ParseColor(LPCTSTR string)
} }
/* /*
** ParseInt4
**
** This is a helper template that parses four comma separated values from the given string. ** This is a helper template that parses four comma separated values from the given string.
** **
*/ */
@ -1062,8 +1018,6 @@ void ParseInt4(LPCTSTR string, T& v1, T& v2, T& v3, T& v4)
} }
/* /*
** ParseRect
**
** This is a helper method that parses the Gdiplus::Rect values from the given string. ** This is a helper method that parses the Gdiplus::Rect values from the given string.
** The rect can be supplied as four comma separated values (X/Y/Width/Height). ** The rect can be supplied as four comma separated values (X/Y/Width/Height).
** **
@ -1076,8 +1030,6 @@ Rect CConfigParser::ParseRect(LPCTSTR string)
} }
/* /*
** ParseRECT
**
** This is a helper method that parses the RECT values from the given string. ** This is a helper method that parses the RECT values from the given string.
** The rect can be supplied as four comma separated values (left/top/right/bottom). ** The rect can be supplied as four comma separated values (left/top/right/bottom).
** **

View File

@ -22,8 +22,6 @@
HWND CDialog::c_ActiveDialog = NULL; HWND CDialog::c_ActiveDialog = NULL;
/* /*
** CDialog
**
** Constructor. ** Constructor.
** **
*/ */
@ -42,8 +40,6 @@ CDialog::CDialog(HWND wnd) :
} }
/* /*
** CDialog
**
** Destructor. ** Destructor.
** **
*/ */
@ -65,8 +61,6 @@ void CDialog::SetDialogRTL()
} }
/* /*
** SetDialogFont
**
** Sets dialog font to UI font. ** Sets dialog font to UI font.
** **
*/ */
@ -76,8 +70,6 @@ void CDialog::SetDialogFont()
} }
/* /*
** SetFontProc
**
** Callback for EnumChildWindows(). ** Callback for EnumChildWindows().
** **
*/ */
@ -88,8 +80,6 @@ BOOL CALLBACK CDialog::SetFontProc(HWND hWnd, LPARAM lParam)
} }
/* /*
** CTab
**
** Constructor. ** Constructor.
** **
*/ */
@ -101,8 +91,6 @@ CDialog::CTab::CTab(HINSTANCE instance, HWND owner, WORD tabId, DLGPROC tabProc)
} }
/* /*
** CTab
**
** Destructor. ** Destructor.
** **
*/ */
@ -112,8 +100,6 @@ CDialog::CTab::~CTab()
} }
/* /*
** Activate
**
** Activates the tab. ** Activates the tab.
** **
*/ */

View File

@ -34,8 +34,6 @@ WINDOWPLACEMENT CDialogAbout::c_WindowPlacement = {0};
CDialogAbout* CDialogAbout::c_Dialog = NULL; CDialogAbout* CDialogAbout::c_Dialog = NULL;
/* /*
** CDialogAbout
**
** Constructor. ** Constructor.
** **
*/ */
@ -48,8 +46,6 @@ CDialogAbout::CDialogAbout(HWND wnd) : CDialog(wnd),
} }
/* /*
** ~CDialogAbout
**
** Destructor. ** Destructor.
** **
*/ */
@ -58,8 +54,6 @@ CDialogAbout::~CDialogAbout()
} }
/* /*
** Open
**
** Opens the About dialog by tab name. ** Opens the About dialog by tab name.
** **
*/ */
@ -88,8 +82,6 @@ void CDialogAbout::Open(const WCHAR* name)
} }
/* /*
** Open
**
** Opens the About dialog. ** Opens the About dialog.
** **
*/ */
@ -121,8 +113,6 @@ void CDialogAbout::Open(int tab)
} }
/* /*
** ShowAboutLog
**
** Shows log if dialog isn't already open. ** Shows log if dialog isn't already open.
** **
*/ */
@ -159,8 +149,6 @@ void CDialogAbout::UpdateMeasures(CMeterWindow* meterWindow)
} }
/* /*
** DlgProc
**
** Dialog procedure for the About dialog. ** Dialog procedure for the About dialog.
** **
*/ */
@ -349,8 +337,6 @@ INT_PTR CDialogAbout::OnNotify(WPARAM wParam, LPARAM lParam)
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
/* /*
** CTabLog
**
** Constructor. ** Constructor.
** **
*/ */
@ -363,8 +349,6 @@ CDialogAbout::CTabLog::CTabLog(HWND owner) : CTab(Rainmeter->GetResourceInstance
} }
/* /*
** Initialize
**
** Called when tab is displayed. ** Called when tab is displayed.
** **
*/ */
@ -432,8 +416,6 @@ void CDialogAbout::CTabLog::Initialize()
} }
/* /*
** Resize
**
** Resizes window and repositions controls. ** Resizes window and repositions controls.
** **
*/ */
@ -467,8 +449,6 @@ void CDialogAbout::CTabLog::Resize(int w, int h)
} }
/* /*
** AddItem
**
** Adds item to log. ** Adds item to log.
** **
*/ */
@ -521,8 +501,6 @@ void CDialogAbout::CTabLog::AddItem(int level, LPCWSTR time, LPCWSTR message)
} }
/* /*
** DlgProc
**
** Dialog procedure for the log dialog. ** Dialog procedure for the log dialog.
** **
*/ */
@ -583,8 +561,6 @@ INT_PTR CDialogAbout::CTabLog::OnCommand(WPARAM wParam, LPARAM lParam)
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
/* /*
** CTabSkins
**
** Constructor. ** Constructor.
** **
*/ */
@ -594,8 +570,6 @@ CDialogAbout::CTabSkins::CTabSkins(HWND owner) : CTab(Rainmeter->GetResourceInst
} }
/* /*
** Initialize
**
** Called when tab is displayed. ** Called when tab is displayed.
** **
*/ */
@ -640,8 +614,6 @@ void CDialogAbout::CTabSkins::Initialize()
} }
/* /*
** Resize
**
** Resizes window and repositions controls. ** Resizes window and repositions controls.
** **
*/ */
@ -664,8 +636,6 @@ void CDialogAbout::CTabSkins::Resize(int w, int h)
} }
/* /*
** UpdateSkinList
**
** Updates the list of skins. ** Updates the list of skins.
** **
*/ */
@ -720,8 +690,6 @@ void CDialogAbout::CTabSkins::UpdateSkinList()
} }
/* /*
** UpdateMeasureList
**
** Updates the list of measures and values. ** Updates the list of measures and values.
** **
*/ */
@ -817,8 +785,6 @@ void CDialogAbout::CTabSkins::UpdateMeasureList(CMeterWindow* meterWindow)
} }
/* /*
** DlgProc
**
** Dialog procedure for the measures dialog. ** Dialog procedure for the measures dialog.
** **
*/ */
@ -858,8 +824,6 @@ INT_PTR CDialogAbout::CTabSkins::OnCommand(WPARAM wParam, LPARAM lParam)
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
/* /*
** CTabPlugins
**
** Constructor. ** Constructor.
** **
*/ */
@ -868,8 +832,6 @@ CDialogAbout::CTabPlugins::CTabPlugins(HWND owner) : CTab(Rainmeter->GetResource
} }
/* /*
** Initialize
**
** Called when tab is displayed. ** Called when tab is displayed.
** **
*/ */
@ -1009,8 +971,6 @@ void CDialogAbout::CTabPlugins::Initialize()
} }
/* /*
** Resize
**
** Resizes window and repositions controls. ** Resizes window and repositions controls.
** **
*/ */
@ -1029,8 +989,6 @@ void CDialogAbout::CTabPlugins::Resize(int w, int h)
} }
/* /*
** DlgProc
**
** Dialog procedure for the Plugins tab. ** Dialog procedure for the Plugins tab.
** **
*/ */
@ -1046,8 +1004,6 @@ INT_PTR CALLBACK CDialogAbout::CTabPlugins::DlgProc(HWND hWnd, UINT uMsg, WPARAM
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
/* /*
** CTabVersion
**
** Constructor. ** Constructor.
** **
*/ */
@ -1056,8 +1012,6 @@ CDialogAbout::CTabVersion::CTabVersion(HWND owner) : CTab(Rainmeter->GetResource
} }
/* /*
** Initialize
**
** Called when tab is displayed. ** Called when tab is displayed.
** **
*/ */
@ -1088,8 +1042,6 @@ void CDialogAbout::CTabVersion::Initialize()
} }
/* /*
** Resize
**
** Resizes window and repositions controls. ** Resizes window and repositions controls.
** **
*/ */
@ -1099,8 +1051,6 @@ void CDialogAbout::CTabVersion::Resize(int w, int h)
} }
/* /*
** DlgProc
**
** Dialog procedure for the Version tab. ** Dialog procedure for the Version tab.
** **
*/ */

View File

@ -35,8 +35,6 @@ WINDOWPLACEMENT CDialogManage::c_WindowPlacement = {0};
CDialogManage* CDialogManage::c_Dialog = NULL; CDialogManage* CDialogManage::c_Dialog = NULL;
/* /*
** CDialogManage
**
** Constructor. ** Constructor.
** **
*/ */
@ -48,8 +46,6 @@ CDialogManage::CDialogManage(HWND wnd) : CDialog(wnd),
} }
/* /*
** ~CDialogManage
**
** Destructor. ** Destructor.
** **
*/ */
@ -58,8 +54,6 @@ CDialogManage::~CDialogManage()
} }
/* /*
** Open
**
** Opens the Manage dialog by tab name. ** Opens the Manage dialog by tab name.
** **
*/ */
@ -83,8 +77,6 @@ void CDialogManage::Open(const WCHAR* name)
} }
/* /*
** Open
**
** Opens the Manage dialog. ** Opens the Manage dialog.
** **
*/ */
@ -116,8 +108,6 @@ void CDialogManage::Open(int tab)
} }
/* /*
** OpenSkin
**
** Opens the Manage dialog Skins tab with skin selected. ** Opens the Manage dialog Skins tab with skin selected.
** **
*/ */
@ -136,8 +126,6 @@ void CDialogManage::OpenSkin(CMeterWindow* meterWindow)
} }
/* /*
** UpdateSkins
**
** Updates Skins tab. ** Updates Skins tab.
** **
*/ */
@ -173,8 +161,6 @@ std::wstring GetTreeSelectionPath(HWND tree)
} }
/* /*
** DlgProc
**
** Dialog procedure for the Manage dialog. ** Dialog procedure for the Manage dialog.
** **
*/ */
@ -347,8 +333,6 @@ INT_PTR CDialogManage::OnNotify(WPARAM wParam, LPARAM lParam)
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
/* /*
** CTabSkins
**
** Constructor. ** Constructor.
** **
*/ */
@ -360,8 +344,6 @@ CDialogManage::CTabSkins::CTabSkins(HWND owner) : CTab(Rainmeter->GetResourceIns
} }
/* /*
** Initialize
**
** Called when tab is displayed. ** Called when tab is displayed.
** **
*/ */
@ -435,8 +417,6 @@ void CDialogManage::CTabSkins::Initialize()
} }
/* /*
** Update
**
** Updates metadata and settings when changed. ** Updates metadata and settings when changed.
** **
*/ */
@ -756,8 +736,6 @@ void CDialogManage::CTabSkins::ReadSkin()
} }
/* /*
** PopulateTree
**
** Populates the treeview with folders and skins. ** Populates the treeview with folders and skins.
** **
*/ */
@ -784,8 +762,6 @@ void CDialogManage::CTabSkins::PopulateTree(HWND tree, TVINSERTSTRUCT& tvi, cons
} }
/* /*
** SelectTreeItem
**
** Selects an item in the treeview. ** Selects an item in the treeview.
** **
*/ */
@ -840,8 +816,6 @@ void CDialogManage::CTabSkins::SelectTreeItem(HWND tree, HTREEITEM item, LPCWSTR
} }
/* /*
** DlgProc
**
** Dialog procedure for the Skins tab. ** Dialog procedure for the Skins tab.
** **
*/ */
@ -1337,8 +1311,6 @@ INT_PTR CDialogManage::CTabSkins::OnNotify(WPARAM wParam, LPARAM lParam)
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
/* /*
** CTabThemes
**
** Constructor. ** Constructor.
** **
*/ */
@ -1347,8 +1319,6 @@ CDialogManage::CTabThemes::CTabThemes(HWND owner) : CTab(Rainmeter->GetResourceI
} }
/* /*
** Initialize
**
** Called when tab is displayed. ** Called when tab is displayed.
** **
*/ */
@ -1365,8 +1335,6 @@ void CDialogManage::CTabThemes::Initialize()
} }
/* /*
** DlgProc
**
** Dialog procedure for the Themes tab. ** Dialog procedure for the Themes tab.
** **
*/ */
@ -1625,8 +1593,6 @@ INT_PTR CDialogManage::CTabThemes::OnCommand(WPARAM wParam, LPARAM lParam)
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
/* /*
** CTabSettings
**
** Constructor. ** Constructor.
** **
*/ */
@ -1635,8 +1601,6 @@ CDialogManage::CTabSettings::CTabSettings(HWND owner) : CTab(Rainmeter->GetResou
} }
/* /*
** Initialize
**
** Called when tab is displayed. ** Called when tab is displayed.
** **
*/ */
@ -1697,8 +1661,6 @@ void CDialogManage::CTabSettings::Initialize()
} }
/* /*
** DlgProc
**
** Dialog procedure for the Settings tab. ** Dialog procedure for the Settings tab.
** **
*/ */

View File

@ -20,11 +20,6 @@
#include "Group.h" #include "Group.h"
#include "ConfigParser.h" #include "ConfigParser.h"
/*
** InitializeGroup
**
**
*/
void CGroup::InitializeGroup(const std::wstring& groups) void CGroup::InitializeGroup(const std::wstring& groups)
{ {
if (wcscmp(groups.c_str(), m_OldGroups.c_str()) != 0) if (wcscmp(groups.c_str(), m_OldGroups.c_str()) != 0)
@ -49,11 +44,6 @@ void CGroup::InitializeGroup(const std::wstring& groups)
} }
} }
/*
** BelongsToGroup
**
**
*/
bool CGroup::BelongsToGroup(const std::wstring& group) bool CGroup::BelongsToGroup(const std::wstring& group)
{ {
return (m_Groups.find(CreateGroup(group)) != m_Groups.end()); return (m_Groups.find(CreateGroup(group)) != m_Groups.end());

View File

@ -66,8 +66,6 @@ const int MEDIAN_SIZE = 7;
extern CRainmeter* Rainmeter; extern CRainmeter* Rainmeter;
/* /*
** CMeasure
**
** The constructor ** The constructor
** **
*/ */
@ -96,8 +94,6 @@ CMeasure::CMeasure(CMeterWindow* meterWindow, const WCHAR* name) : m_MeterWindow
} }
/* /*
** ~CMeasure
**
** The destructor ** The destructor
** **
*/ */
@ -106,8 +102,6 @@ CMeasure::~CMeasure()
} }
/* /*
** Initialize
**
** Initializes the measure. ** Initializes the measure.
** **
*/ */
@ -117,8 +111,6 @@ void CMeasure::Initialize()
} }
/* /*
** ReadConfig
**
** Reads the common configs for all Measures. The inherited classes ** Reads the common configs for all Measures. The inherited classes
** must call the base implementation if they overwrite this method. ** must call the base implementation if they overwrite this method.
** **
@ -192,8 +184,6 @@ void CMeasure::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** MakePlainSubstitute
**
** Substitues text using a straight find and replace method ** Substitues text using a straight find and replace method
*/ */
bool CMeasure::MakePlainSubstitute(std::wstring& str, size_t index) bool CMeasure::MakePlainSubstitute(std::wstring& str, size_t index)
@ -215,8 +205,6 @@ bool CMeasure::MakePlainSubstitute(std::wstring& str, size_t index)
} }
/* /*
** CheckSubstitute
**
** Substitutes part of the text ** Substitutes part of the text
*/ */
const WCHAR* CMeasure::CheckSubstitute(const WCHAR* buffer) const WCHAR* CMeasure::CheckSubstitute(const WCHAR* buffer)
@ -341,8 +329,6 @@ const WCHAR* CMeasure::CheckSubstitute(const WCHAR* buffer)
} }
/* /*
** ParseSubstitute
**
** Reads the buffer for "Name":"Value"-pairs separated with comma and ** Reads the buffer for "Name":"Value"-pairs separated with comma and
** fills the map with the parsed data. ** fills the map with the parsed data.
*/ */
@ -372,8 +358,6 @@ bool CMeasure::ParseSubstitute(std::wstring buffer)
} }
/* /*
** ExtractWord
**
** Returns the first word from the buffer. The word can be inside quotes. ** Returns the first word from the buffer. The word can be inside quotes.
** If not, the separators are ' ', '\t', ',' and ':'. Whitespaces are removed ** If not, the separators are ' ', '\t', ',' and ':'. Whitespaces are removed
** and buffer _will_ be modified. ** and buffer _will_ be modified.
@ -441,8 +425,6 @@ std::wstring CMeasure::ExtractWord(std::wstring& buffer)
} }
/* /*
** PreUpdate
**
** The base implementation of the update method. This includes the code ** The base implementation of the update method. This includes the code
** that is common for all measures. This is called every time the measure ** that is common for all measures. This is called every time the measure
** is updated. The inherited classes must call the base implementation if ** is updated. The inherited classes must call the base implementation if
@ -547,8 +529,6 @@ bool CMeasure::PreUpdate()
} }
/* /*
** PostUpdate
**
** Does post measuring things to the value. All measures must call this ** Does post measuring things to the value. All measures must call this
** after they have set the m_Value. ** after they have set the m_Value.
** **
@ -582,8 +562,6 @@ bool CMeasure::PostUpdate()
} }
/* /*
** GetValue
**
** Returns the value of the measure. ** Returns the value of the measure.
** **
*/ */
@ -599,8 +577,6 @@ double CMeasure::GetValue()
} }
/* /*
** GetRelativeValue
**
** Returns the relative value of the measure (0.0 - 1.0). ** Returns the relative value of the measure (0.0 - 1.0).
** **
*/ */
@ -624,8 +600,6 @@ double CMeasure::GetRelativeValue()
} }
/* /*
** GetValueRange
**
** Returns the value range. ** Returns the value range.
** **
*/ */
@ -635,8 +609,6 @@ double CMeasure::GetValueRange()
} }
/* /*
** GetStringValue
**
** This method returns the value as text string. The actual value is ** This method returns the value as text string. The actual value is
** get with GetValue() so we don't have to worry about m_Invert. ** get with GetValue() so we don't have to worry about m_Invert.
** **
@ -759,8 +731,6 @@ void CMeasure::RemoveTrailingZero(WCHAR* str, int strLen)
} }
/* /*
** Create
**
** Creates the given measure. This is the factory method for the measures. ** Creates the given measure. This is the factory method for the measures.
** If new measures are implemented this method needs to be updated. ** If new measures are implemented this method needs to be updated.
** **
@ -838,8 +808,6 @@ CMeasure* CMeasure::Create(const WCHAR* measure, CMeterWindow* meterWindow, cons
} }
/* /*
** Command
**
** Executes a custom bang. ** Executes a custom bang.
** **
*/ */

View File

@ -61,8 +61,6 @@ ULONG CMeasureCPU::c_BufferSize = 0;
// ); // );
/* /*
** CMeasureCPU
**
** The constructor ** The constructor
** **
*/ */
@ -86,8 +84,6 @@ CMeasureCPU::CMeasureCPU(CMeterWindow* meterWindow, const WCHAR* name) : CMeasur
} }
/* /*
** ~CMeasureCPU
**
** The destructor ** The destructor
** **
*/ */
@ -96,8 +92,6 @@ CMeasureCPU::~CMeasureCPU()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */
@ -127,8 +121,6 @@ void CMeasureCPU::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the current CPU utilization value. ** Updates the current CPU utilization value.
** **
*/ */
@ -225,8 +217,6 @@ bool CMeasureCPU::Update()
} }
/* /*
** CalcUsage
**
** Calculates the current CPU utilization value. ** Calculates the current CPU utilization value.
** **
*/ */

View File

@ -24,8 +24,6 @@
bool CMeasureCalc::c_RandSeeded = false; bool CMeasureCalc::c_RandSeeded = false;
/* /*
** CMeasureCalc
**
** The constructor ** The constructor
** **
*/ */
@ -44,8 +42,6 @@ CMeasureCalc::CMeasureCalc(CMeterWindow* meterWindow, const WCHAR* name) : CMeas
} }
/* /*
** ~CMeasureCalc
**
** The destructor ** The destructor
** **
*/ */
@ -54,8 +50,6 @@ CMeasureCalc::~CMeasureCalc()
} }
/* /*
** Update
**
** Updates the calculation ** Updates the calculation
** **
*/ */
@ -78,8 +72,6 @@ bool CMeasureCalc::Update()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */
@ -124,8 +116,6 @@ void CMeasureCalc::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** FormulaReplace
**
** This replaces the word Random in the formula with a random number ** This replaces the word Random in the formula with a random number
** **
*/ */

View File

@ -35,8 +35,6 @@ enum DRIVETYPE
}; };
/* /*
** CMeasureDiskSpace
**
** The constructor ** The constructor
** **
*/ */
@ -50,8 +48,6 @@ CMeasureDiskSpace::CMeasureDiskSpace(CMeterWindow* meterWindow, const WCHAR* nam
} }
/* /*
** ~CMeasureDiskSpace
**
** The destructor ** The destructor
** **
*/ */
@ -60,8 +56,6 @@ CMeasureDiskSpace::~CMeasureDiskSpace()
} }
/* /*
** Update
**
** Updates the current disk free space value. ** Updates the current disk free space value.
** **
*/ */
@ -172,8 +166,6 @@ bool CMeasureDiskSpace::Update()
} }
/* /*
** GetStringValue
**
** Returns the time as string. ** Returns the time as string.
** **
*/ */
@ -188,8 +180,6 @@ const WCHAR* CMeasureDiskSpace::GetStringValue(AUTOSCALE autoScale, double scale
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */

View File

@ -21,8 +21,6 @@
#include "ConfigParser.h" #include "ConfigParser.h"
/* /*
** CMeasureMemory
**
** The constructor ** The constructor
** **
*/ */
@ -32,8 +30,6 @@ CMeasureMemory::CMeasureMemory(CMeterWindow* meterWindow, const WCHAR* name) : C
} }
/* /*
** ~CMeasureMemory
**
** The destructor ** The destructor
** **
*/ */
@ -42,8 +38,6 @@ CMeasureMemory::~CMeasureMemory()
} }
/* /*
** Update
**
** Updates the current total memory value. ** Updates the current total memory value.
** **
*/ */
@ -67,8 +61,6 @@ bool CMeasureMemory::Update()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */

View File

@ -32,8 +32,6 @@ FPFREEMIBTABLE CMeasureNet::c_FreeMibTable = NULL;
extern CRainmeter* Rainmeter; extern CRainmeter* Rainmeter;
/* /*
** CMeasureNet
**
** The constructor. This is the base class for the net-meters. ** The constructor. This is the base class for the net-meters.
** **
*/ */
@ -46,8 +44,6 @@ CMeasureNet::CMeasureNet(CMeterWindow* meterWindow, const WCHAR* name) : CMeasur
} }
/* /*
** ~CMeasureNet
**
** The destructor ** The destructor
** **
*/ */
@ -56,8 +52,6 @@ CMeasureNet::~CMeasureNet()
} }
/* /*
** Update
**
** Checks if Action should be executed. ** Checks if Action should be executed.
** **
*/ */
@ -83,8 +77,6 @@ bool CMeasureNet::Update()
} }
/* /*
** UpdateIFTable
**
** Reads the tables for all net interfaces ** Reads the tables for all net interfaces
** **
*/ */
@ -260,8 +252,6 @@ void CMeasureNet::UpdateIFTable()
} }
/* /*
** GetNetOctets
**
** Reads the amount of octets. This is the same for in, out and total. ** Reads the amount of octets. This is the same for in, out and total.
** the net-parameter informs which inherited class called this method. ** the net-parameter informs which inherited class called this method.
** **
@ -380,8 +370,6 @@ ULONG64 CMeasureNet::GetNetOctets(NET net)
} }
/* /*
** GetNetStatsValue
**
** Returns the stats value of the interface ** Returns the stats value of the interface
** **
*/ */
@ -453,8 +441,6 @@ ULONG64 CMeasureNet::GetNetStatsValue(NET net)
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. This is the same for in, out and total. ** Reads the measure specific configs. This is the same for in, out and total.
** the net-parameter informs which inherited class called this method. ** the net-parameter informs which inherited class called this method.
** **
@ -513,8 +499,6 @@ void CMeasureNet::ReadConfig(CConfigParser& parser, const WCHAR* section, NET ne
} }
/* /*
** UpdateStats
**
** Updates the statistics. ** Updates the statistics.
** **
*/ */
@ -573,8 +557,6 @@ void CMeasureNet::UpdateStats()
} }
/* /*
** ResetStats
**
** Resets the statistics. ** Resets the statistics.
** **
*/ */
@ -584,8 +566,6 @@ void CMeasureNet::ResetStats()
} }
/* /*
** ReadStats
**
** Reads statistics. ** Reads statistics.
** **
*/ */
@ -630,8 +610,6 @@ void CMeasureNet::ReadStats(const WCHAR* iniFile, std::wstring& statsDate)
} }
/* /*
** AppendStatsValue
**
** Appends "key=value\0" to given string. ** Appends "key=value\0" to given string.
** **
*/ */
@ -644,8 +622,6 @@ inline void AppendStatsValue(std::wstring& data, const WCHAR* key, size_t key_le
} }
/* /*
** WriteStats
**
** Writes statistics. ** Writes statistics.
** **
*/ */
@ -699,8 +675,6 @@ void CMeasureNet::WriteStats(const WCHAR* iniFile, const std::wstring& statsDate
} }
/* /*
** InitializeNewApi
**
** Prepares in order to use the new APIs which are available on Vista or newer. ** Prepares in order to use the new APIs which are available on Vista or newer.
** **
*/ */
@ -729,8 +703,6 @@ void CMeasureNet::InitializeNewApi()
} }
/* /*
** FinalizeNewApi
**
** Frees the resources. ** Frees the resources.
** **
*/ */

View File

@ -20,8 +20,6 @@
#include "MeasureNetIn.h" #include "MeasureNetIn.h"
/* /*
** CMeasureNet
**
** The constructor ** The constructor
** **
*/ */
@ -32,8 +30,6 @@ CMeasureNetIn::CMeasureNetIn(CMeterWindow* meterWindow, const WCHAR* name) : CMe
} }
/* /*
** ~CMeasureNet
**
** The destructor ** The destructor
** **
*/ */
@ -42,8 +38,6 @@ CMeasureNetIn::~CMeasureNetIn()
} }
/* /*
** Update
**
** Updates the current net in value. ** Updates the current net in value.
** **
*/ */
@ -89,8 +83,6 @@ bool CMeasureNetIn::Update()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */

View File

@ -20,8 +20,6 @@
#include "MeasureNetOut.h" #include "MeasureNetOut.h"
/* /*
** CMeasureNetOut
**
** The constructor ** The constructor
** **
*/ */
@ -32,8 +30,6 @@ CMeasureNetOut::CMeasureNetOut(CMeterWindow* meterWindow, const WCHAR* name) : C
} }
/* /*
** ~CMeasureNetOut
**
** The destructor ** The destructor
** **
*/ */
@ -42,8 +38,6 @@ CMeasureNetOut::~CMeasureNetOut()
} }
/* /*
** Update
**
** Updates the current net out value. ** Updates the current net out value.
** **
*/ */
@ -89,8 +83,6 @@ bool CMeasureNetOut::Update()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */

View File

@ -20,8 +20,6 @@
#include "MeasureNetTotal.h" #include "MeasureNetTotal.h"
/* /*
** CMeasureNetTotal
**
** The constructor ** The constructor
** **
*/ */
@ -32,8 +30,6 @@ CMeasureNetTotal::CMeasureNetTotal(CMeterWindow* meterWindow, const WCHAR* name)
} }
/* /*
** ~CMeasureNetTotal
**
** The destructor ** The destructor
** **
*/ */
@ -42,8 +38,6 @@ CMeasureNetTotal::~CMeasureNetTotal()
} }
/* /*
** Update
**
** Updates the current net total value. ** Updates the current net total value.
** **
*/ */
@ -89,8 +83,6 @@ bool CMeasureNetTotal::Update()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */

View File

@ -21,8 +21,6 @@
#include "ConfigParser.h" #include "ConfigParser.h"
/* /*
** CMeasurePhysicalMemory
**
** The constructor ** The constructor
** **
*/ */
@ -32,8 +30,6 @@ CMeasurePhysicalMemory::CMeasurePhysicalMemory(CMeterWindow* meterWindow, const
} }
/* /*
** ~CMeasurePhysicalMemory
**
** The destructor ** The destructor
** **
*/ */
@ -42,8 +38,6 @@ CMeasurePhysicalMemory::~CMeasurePhysicalMemory()
} }
/* /*
** Update
**
** Updates the current physical memory value. ** Updates the current physical memory value.
** **
*/ */
@ -67,8 +61,6 @@ bool CMeasurePhysicalMemory::Update()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */

View File

@ -26,8 +26,6 @@
extern CRainmeter* Rainmeter; extern CRainmeter* Rainmeter;
/* /*
** CMeasureMemory
**
** The constructor ** The constructor
** **
*/ */
@ -45,8 +43,6 @@ CMeasurePlugin::CMeasurePlugin(CMeterWindow* meterWindow, const WCHAR* name) : C
} }
/* /*
** ~CMeasureMemory
**
** The destructor ** The destructor
** **
*/ */
@ -72,8 +68,6 @@ CMeasurePlugin::~CMeasurePlugin()
} }
/* /*
** Update
**
** Gets the current value from the plugin ** Gets the current value from the plugin
** **
*/ */
@ -107,8 +101,6 @@ bool CMeasurePlugin::Update()
} }
/* /*
** ReadConfig
**
** Reads the configs and loads & initializes the plugin ** Reads the configs and loads & initializes the plugin
** **
*/ */
@ -241,8 +233,6 @@ void CMeasurePlugin::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** GetStringValue
**
** Gets the string value from the plugin. ** Gets the string value from the plugin.
** **
*/ */
@ -267,8 +257,6 @@ const WCHAR* CMeasurePlugin::GetStringValue(AUTOSCALE autoScale, double scale, i
} }
/* /*
** Command
**
** Sends a bang to the plugin ** Sends a bang to the plugin
** **
*/ */

View File

@ -22,8 +22,6 @@
#include "Error.h" #include "Error.h"
/* /*
** CMeasureRegistry
**
** The constructor ** The constructor
** **
*/ */
@ -35,8 +33,6 @@ CMeasureRegistry::CMeasureRegistry(CMeterWindow* meterWindow, const WCHAR* name)
} }
/* /*
** ~CMeasureRegistry
**
** The destructor ** The destructor
** **
*/ */
@ -46,8 +42,6 @@ CMeasureRegistry::~CMeasureRegistry()
} }
/* /*
** Update
**
** Gets the current value from the registry ** Gets the current value from the registry
** **
*/ */
@ -110,8 +104,6 @@ bool CMeasureRegistry::Update()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */
@ -169,8 +161,6 @@ void CMeasureRegistry::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** GetStringValue
**
** If the measured registry value is a string display it. Otherwise convert the ** If the measured registry value is a string display it. Otherwise convert the
** value to string as normal. ** value to string as normal.
** **

View File

@ -25,8 +25,6 @@ const char* g_UpdateFunctionName = "Update";
const char* g_GetStringFunctionName = "GetStringValue"; const char* g_GetStringFunctionName = "GetStringValue";
/* /*
** CMeasureScript
**
** The constructor ** The constructor
** **
*/ */
@ -41,8 +39,6 @@ CMeasureScript::CMeasureScript(CMeterWindow* meterWindow, const WCHAR* name) : C
} }
/* /*
** ~CMeasureScript
**
** The destructor ** The destructor
** **
*/ */
@ -65,8 +61,6 @@ void CMeasureScript::DeleteLuaScript()
} }
/* /*
** Initialize
**
** Initializes the measure. ** Initializes the measure.
** **
*/ */
@ -81,8 +75,6 @@ void CMeasureScript::Initialize()
} }
/* /*
** Update
**
** Updates the current disk free space value. ** Updates the current disk free space value.
** **
*/ */
@ -108,8 +100,6 @@ bool CMeasureScript::Update()
} }
/* /*
** GetStringValue
**
** Returns the time as string. ** Returns the time as string.
** **
*/ */
@ -124,8 +114,6 @@ const WCHAR* CMeasureScript::GetStringValue(AUTOSCALE autoScale, double scale, i
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */
@ -219,8 +207,6 @@ void CMeasureScript::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Command
**
** Executes a custom bang. ** Executes a custom bang.
** **
*/ */

View File

@ -41,8 +41,6 @@ int GetYearDay(int year, int month, int day)
} }
/* /*
** CMeasureTime
**
** The constructor ** The constructor
** **
*/ */
@ -58,8 +56,6 @@ CMeasureTime::CMeasureTime(CMeterWindow* meterWindow, const WCHAR* name) : CMeas
} }
/* /*
** ~CMeasureTime
**
** The destructor ** The destructor
** **
*/ */
@ -68,8 +64,6 @@ CMeasureTime::~CMeasureTime()
} }
/* /*
** TimeToString
**
** Converts given time to string. ** Converts given time to string.
** This function is a wrapper function for wcsftime. ** This function is a wrapper function for wcsftime.
** **
@ -94,8 +88,6 @@ void CMeasureTime::TimeToString(WCHAR* buf, size_t bufLen, const WCHAR* format,
} }
/* /*
** Update
**
** Updates the current time ** Updates the current time
** **
*/ */
@ -166,8 +158,6 @@ bool CMeasureTime::Update()
/* /*
** GetStringValue
**
** Returns the time as string. ** Returns the time as string.
** **
*/ */
@ -221,8 +211,6 @@ const WCHAR* CMeasureTime::GetStringValue(AUTOSCALE autoScale, double scale, int
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */

View File

@ -22,8 +22,6 @@
#include "System.h" #include "System.h"
/* /*
** CMeasureUptime
**
** The constructor ** The constructor
** **
*/ */
@ -33,8 +31,6 @@ CMeasureUptime::CMeasureUptime(CMeterWindow* meterWindow, const WCHAR* name) : C
} }
/* /*
** ~CMeasureUptime
**
** The destructor ** The destructor
** **
*/ */
@ -43,8 +39,6 @@ CMeasureUptime::~CMeasureUptime()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */
@ -65,8 +59,6 @@ void CMeasureUptime::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the current uptime ** Updates the current uptime
** **
*/ */
@ -81,8 +73,6 @@ bool CMeasureUptime::Update()
} }
/* /*
** GetStringValue
**
** Returns the uptime as string. ** Returns the uptime as string.
** **
*/ */

View File

@ -21,8 +21,6 @@
#include "ConfigParser.h" #include "ConfigParser.h"
/* /*
** CMeasureVirtualMemory
**
** The constructor ** The constructor
** **
*/ */
@ -32,8 +30,6 @@ CMeasureVirtualMemory::CMeasureVirtualMemory(CMeterWindow* meterWindow, const WC
} }
/* /*
** ~CMeasureVirtualMemory
**
** The destructor ** The destructor
** **
*/ */
@ -42,8 +38,6 @@ CMeasureVirtualMemory::~CMeasureVirtualMemory()
} }
/* /*
** Update
**
** Updates the current virtual memory value. ** Updates the current virtual memory value.
** **
*/ */
@ -68,8 +62,6 @@ bool CMeasureVirtualMemory::Update()
} }
/* /*
** ReadConfig
**
** Reads the measure specific configs. ** Reads the measure specific configs.
** **
*/ */

View File

@ -34,8 +34,6 @@
using namespace Gdiplus; using namespace Gdiplus;
/* /*
** CMeter
**
** The constructor ** The constructor
** **
*/ */
@ -71,8 +69,6 @@ CMeter::CMeter(CMeterWindow* meterWindow, const WCHAR* name) : m_MeterWindow(met
} }
/* /*
** ~CMeter
**
** The destructor ** The destructor
** **
*/ */
@ -87,8 +83,6 @@ CMeter::~CMeter()
} }
/* /*
** Initialize
**
** Initializes the meter. The base implementation just stores the pointer. ** Initializes the meter. The base implementation just stores the pointer.
** Usually this method is overwritten by the inherited classes, which load ** Usually this method is overwritten by the inherited classes, which load
** bitmaps and such things during initialization. ** bitmaps and such things during initialization.
@ -100,8 +94,6 @@ void CMeter::Initialize()
} }
/* /*
** GetX
**
** Returns the X-position of the meter. ** Returns the X-position of the meter.
** **
*/ */
@ -148,8 +140,6 @@ int CMeter::GetX(bool abs)
} }
/* /*
** GetY
**
** Returns the Y-position of the meter. ** Returns the Y-position of the meter.
** **
*/ */
@ -196,8 +186,6 @@ int CMeter::GetY(bool abs)
} }
/* /*
** GetMeterRect
**
** Returns a RECT containing the dimensions of the meter within the MeterWindow ** Returns a RECT containing the dimensions of the meter within the MeterWindow
** **
*/ */
@ -214,8 +202,6 @@ RECT CMeter::GetMeterRect()
} }
/* /*
** HitTest
**
** Checks if the given point is inside the meter. ** Checks if the given point is inside the meter.
** **
*/ */
@ -229,8 +215,6 @@ bool CMeter::HitTest(int x, int y)
} }
/* /*
** Show
**
** Shows the meter and tooltip. ** Shows the meter and tooltip.
** **
*/ */
@ -248,8 +232,6 @@ void CMeter::Show()
} }
/* /*
** Hide
**
** Hides the meter and tooltip. ** Hides the meter and tooltip.
** **
*/ */
@ -264,8 +246,6 @@ void CMeter::Hide()
} }
/* /*
** ReadConfig
**
** Reads the meter-specific configs from the ini-file. The base implementation ** Reads the meter-specific configs from the ini-file. The base implementation
** reads the common settings for all meters. The inherited classes must call ** reads the common settings for all meters. The inherited classes must call
** the base implementation if they overwrite this method. ** the base implementation if they overwrite this method.
@ -451,8 +431,6 @@ void CMeter::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** BindMeasure
**
** Binds this meter to the given measure. The same measure can be bound to ** Binds this meter to the given measure. The same measure can be bound to
** several meters but one meter and only be bound to one measure. ** several meters but one meter and only be bound to one measure.
** **
@ -488,8 +466,6 @@ void CMeter::BindMeasure(const std::list<CMeasure*>& measures)
} }
/* /*
** Create
**
** Creates the given meter. This is the factory method for the meters. ** Creates the given meter. This is the factory method for the meters.
** If new meters are implemented this method needs to be updated. ** If new meters are implemented this method needs to be updated.
** **
@ -545,8 +521,6 @@ CMeter* CMeter::Create(const WCHAR* meter, CMeterWindow* meterWindow, const WCHA
} }
/* /*
** Update
**
** Updates the value(s) from the measures. Derived classes should ** Updates the value(s) from the measures. Derived classes should
** only update if this returns true; ** only update if this returns true;
*/ */
@ -561,8 +535,6 @@ bool CMeter::Update()
} }
/* /*
** SetAllMeasures
**
** Creates a vector containing all the defined measures (for Histogram) ** Creates a vector containing all the defined measures (for Histogram)
*/ */
void CMeter::SetAllMeasures(CMeasure* measure) void CMeter::SetAllMeasures(CMeasure* measure)
@ -574,8 +546,6 @@ void CMeter::SetAllMeasures(CMeasure* measure)
} }
/* /*
** SetAllMeasures
**
** Creates a vector containing all the defined measures (for Image/Line/String) ** Creates a vector containing all the defined measures (for Image/Line/String)
*/ */
void CMeter::SetAllMeasures(const std::vector<CMeasure*>& measures) void CMeter::SetAllMeasures(const std::vector<CMeasure*>& measures)
@ -592,8 +562,6 @@ void CMeter::SetAllMeasures(const std::vector<CMeasure*>& measures)
} }
/* /*
** ReadMeasureNames
**
** Reads measure names (MeasureName2 - MeasureName[N]) ** Reads measure names (MeasureName2 - MeasureName[N])
*/ */
void CMeter::ReadMeasureNames(CConfigParser& parser, const WCHAR* section, std::vector<std::wstring>& measureNames) void CMeter::ReadMeasureNames(CConfigParser& parser, const WCHAR* section, std::vector<std::wstring>& measureNames)
@ -620,8 +588,6 @@ void CMeter::ReadMeasureNames(CConfigParser& parser, const WCHAR* section, std::
} }
/* /*
** ReplaceMeasures
**
** Replaces %1, %2 etc with the corresponding measure value ** Replaces %1, %2 etc with the corresponding measure value
*/ */
bool CMeter::ReplaceMeasures(const std::vector<std::wstring>& stringValues, std::wstring& str) bool CMeter::ReplaceMeasures(const std::vector<std::wstring>& stringValues, std::wstring& str)
@ -655,8 +621,6 @@ bool CMeter::ReplaceMeasures(const std::vector<std::wstring>& stringValues, std:
} }
/* /*
** ReplaceToolTipMeasures
**
** Replaces %1, %2 etc with the corresponding measure value ** Replaces %1, %2 etc with the corresponding measure value
*/ */
void CMeter::ReplaceToolTipMeasures(std::wstring& str) void CMeter::ReplaceToolTipMeasures(std::wstring& str)
@ -688,8 +652,6 @@ void CMeter::ReplaceToolTipMeasures(std::wstring& str)
} }
/* /*
** CreateToolTip
**
** Does the initial construction of the ToolTip for the meter ** Does the initial construction of the ToolTip for the meter
*/ */
void CMeter::CreateToolTip(CMeterWindow* meterWindow) void CMeter::CreateToolTip(CMeterWindow* meterWindow)
@ -730,8 +692,6 @@ void CMeter::CreateToolTip(CMeterWindow* meterWindow)
} }
/* /*
** UpdateToolTip
**
** Updates the ToolTip to match new values ** Updates the ToolTip to match new values
*/ */
void CMeter::UpdateToolTip() void CMeter::UpdateToolTip()
@ -807,8 +767,6 @@ void CMeter::UpdateToolTip()
} }
/* /*
** Draw
**
** Draws the solid background & bevel if such are defined ** Draws the solid background & bevel if such are defined
*/ */
bool CMeter::Draw(Graphics& graphics) bool CMeter::Draw(Graphics& graphics)
@ -885,8 +843,6 @@ bool CMeter::Draw(Graphics& graphics)
} }
/* /*
** DrawBevel
**
** Draws a bevel inside the given area ** Draws a bevel inside the given area
*/ */
void CMeter::DrawBevel(Graphics& graphics, const Rect& rect, const Pen& light, const Pen& dark) void CMeter::DrawBevel(Graphics& graphics, const Rect& rect, const Pen& light, const Pen& dark)

View File

@ -28,8 +28,6 @@ using namespace Gdiplus;
extern CRainmeter* Rainmeter; extern CRainmeter* Rainmeter;
/* /*
** CMeterBar
**
** The constructor ** The constructor
** **
*/ */
@ -45,8 +43,6 @@ CMeterBar::CMeterBar(CMeterWindow* meterWindow, const WCHAR* name) : CMeter(mete
} }
/* /*
** ~CMeterBar
**
** The destructor ** The destructor
** **
*/ */
@ -55,8 +51,6 @@ CMeterBar::~CMeterBar()
} }
/* /*
** Initialize
**
** Load the image or create the brush. If image is used get the dimensions ** Load the image or create the brush. If image is used get the dimensions
** of the meter from it. ** of the meter from it.
** **
@ -85,8 +79,6 @@ void CMeterBar::Initialize()
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -157,8 +149,6 @@ void CMeterBar::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -173,8 +163,6 @@ bool CMeterBar::Update()
} }
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */

View File

@ -28,8 +28,6 @@ using namespace Gdiplus;
extern CRainmeter* Rainmeter; extern CRainmeter* Rainmeter;
/* /*
** CMeterBitmap
**
** The constructor ** The constructor
** **
*/ */
@ -50,8 +48,6 @@ CMeterBitmap::CMeterBitmap(CMeterWindow* meterWindow, const WCHAR* name) : CMete
} }
/* /*
** ~CMeterBitmap
**
** The destructor ** The destructor
** **
*/ */
@ -60,8 +56,6 @@ CMeterBitmap::~CMeterBitmap()
} }
/* /*
** Initialize
**
** Load the image and get the dimensions of the meter from it. ** Load the image and get the dimensions of the meter from it.
** **
*/ */
@ -98,8 +92,6 @@ void CMeterBitmap::Initialize()
} }
/* /*
** HitTest
**
** Checks if the given point is inside the meter. ** Checks if the given point is inside the meter.
** **
*/ */
@ -159,8 +151,6 @@ bool CMeterBitmap::HitTest(int x, int y)
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -238,8 +228,6 @@ void CMeterBitmap::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -271,8 +259,6 @@ bool CMeterBitmap::Update()
} }
/* /*
** HasActiveTransition
**
** Returns true if the meter has active transition animation. ** Returns true if the meter has active transition animation.
** **
*/ */
@ -286,8 +272,6 @@ bool CMeterBitmap::HasActiveTransition()
} }
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */

View File

@ -34,8 +34,6 @@ enum BUTTON_STATE
}; };
/* /*
** CMeterButton
**
** The constructor ** The constructor
** **
*/ */
@ -50,8 +48,6 @@ CMeterButton::CMeterButton(CMeterWindow* meterWindow, const WCHAR* name) : CMete
} }
/* /*
** ~CMeterButton
**
** The destructor ** The destructor
** **
*/ */
@ -64,8 +60,6 @@ CMeterButton::~CMeterButton()
} }
/* /*
** Initialize
**
** Load the image and get the dimensions of the meter from it. ** Load the image and get the dimensions of the meter from it.
** **
*/ */
@ -129,8 +123,6 @@ void CMeterButton::Initialize()
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -178,8 +170,6 @@ void CMeterButton::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -189,8 +179,6 @@ bool CMeterButton::Update()
} }
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */
@ -210,8 +198,6 @@ bool CMeterButton::Draw(Graphics& graphics)
} }
/* /*
** BindMeasure
**
** Overridden method. The meters need not to be bound on anything ** Overridden method. The meters need not to be bound on anything
** **
*/ */
@ -225,8 +211,6 @@ void CMeterButton::BindMeasure(const std::list<CMeasure*>& measures)
} }
/* /*
** HitTest2
**
** Checks if the given point is inside the button. ** Checks if the given point is inside the button.
** **
*/ */

View File

@ -31,8 +31,6 @@ CTintedImageHelper_DefineConfigArray(CMeterHistogram::c_SecondaryConfigArray, L"
CTintedImageHelper_DefineConfigArray(CMeterHistogram::c_BothConfigArray, L"Both"); CTintedImageHelper_DefineConfigArray(CMeterHistogram::c_BothConfigArray, L"Both");
/* /*
** CMeterHistogram
**
** The constructor ** The constructor
** **
*/ */
@ -61,8 +59,6 @@ CMeterHistogram::CMeterHistogram(CMeterWindow* meterWindow, const WCHAR* name) :
} }
/* /*
** ~CMeterHistogram
**
** The destructor ** The destructor
** **
*/ */
@ -72,8 +68,6 @@ CMeterHistogram::~CMeterHistogram()
} }
/* /*
** DisposeBuffer
**
** Disposes the buffers. ** Disposes the buffers.
** **
*/ */
@ -91,8 +85,6 @@ void CMeterHistogram::DisposeBuffer()
} }
/* /*
** Initialize
**
** Load the images and calculate the dimensions of the meter from them. ** Load the images and calculate the dimensions of the meter from them.
** Or create the brushes if solid color histogram is used. ** Or create the brushes if solid color histogram is used.
** **
@ -185,8 +177,6 @@ void CMeterHistogram::Initialize()
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -291,8 +281,6 @@ void CMeterHistogram::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -373,8 +361,6 @@ bool CMeterHistogram::Update()
} }
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */
@ -503,8 +489,6 @@ bool CMeterHistogram::Draw(Graphics& graphics)
} }
/* /*
** BindMeasure
**
** Overwritten method to handle the secondary measure binding. ** Overwritten method to handle the secondary measure binding.
** **
*/ */

View File

@ -28,8 +28,6 @@ extern CRainmeter* Rainmeter;
using namespace Gdiplus; using namespace Gdiplus;
/* /*
** CMeterImage
**
** The constructor ** The constructor
** **
*/ */
@ -42,8 +40,6 @@ CMeterImage::CMeterImage(CMeterWindow* meterWindow, const WCHAR* name) : CMeter(
} }
/* /*
** ~CMeterImage
**
** The destructor ** The destructor
** **
*/ */
@ -52,8 +48,6 @@ CMeterImage::~CMeterImage()
} }
/* /*
** Initialize
**
** Load the image and get the dimensions of the meter from it. ** Load the image and get the dimensions of the meter from it.
** **
*/ */
@ -71,8 +65,6 @@ void CMeterImage::Initialize()
} }
/* /*
** LoadImage
**
** Loads the image from disk ** Loads the image from disk
** **
*/ */
@ -111,8 +103,6 @@ void CMeterImage::LoadImage(const std::wstring& imageName, bool bLoadAlways)
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -156,8 +146,6 @@ void CMeterImage::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -223,8 +211,6 @@ bool CMeterImage::Update()
} }
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */
@ -358,8 +344,6 @@ bool CMeterImage::Draw(Graphics& graphics)
} }
/* /*
** BindMeasure
**
** Overridden method. The Image meters need not to be bound on anything ** Overridden method. The Image meters need not to be bound on anything
** **
*/ */

View File

@ -24,8 +24,6 @@
using namespace Gdiplus; using namespace Gdiplus;
/* /*
** CMeterLine
**
** The constructor ** The constructor
** **
*/ */
@ -40,8 +38,6 @@ CMeterLine::CMeterLine(CMeterWindow* meterWindow, const WCHAR* name) : CMeter(me
} }
/* /*
** ~CMeterLine
**
** The destructor ** The destructor
** **
*/ */
@ -50,8 +46,6 @@ CMeterLine::~CMeterLine()
} }
/* /*
** Initialize
**
** create the buffer for the lines ** create the buffer for the lines
** **
*/ */
@ -99,8 +93,6 @@ void CMeterLine::Initialize()
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -170,8 +162,6 @@ void CMeterLine::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -208,8 +198,6 @@ bool CMeterLine::Update()
} }
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */
@ -349,8 +337,6 @@ bool CMeterLine::Draw(Graphics& graphics)
} }
/* /*
** BindMeasure
**
** Overwritten method to handle the other measure bindings. ** Overwritten method to handle the other measure bindings.
** **
*/ */

View File

@ -31,8 +31,6 @@ using namespace Gdiplus;
extern CRainmeter* Rainmeter; extern CRainmeter* Rainmeter;
/* /*
** CMeterRotator
**
** The constructor ** The constructor
** **
*/ */
@ -48,8 +46,6 @@ CMeterRotator::CMeterRotator(CMeterWindow* meterWindow, const WCHAR* name) : CMe
} }
/* /*
** ~CMeterRotator
**
** The destructor ** The destructor
** **
*/ */
@ -58,8 +54,6 @@ CMeterRotator::~CMeterRotator()
} }
/* /*
** Initialize
**
** Load the image & configs. ** Load the image & configs.
** **
*/ */
@ -79,8 +73,6 @@ void CMeterRotator::Initialize()
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -126,8 +118,6 @@ void CMeterRotator::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -152,8 +142,6 @@ bool CMeterRotator::Update()
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */

View File

@ -27,8 +27,6 @@ using namespace Gdiplus;
#define CONVERT_TO_DEGREES(X) ((X) * (180.0 / PI)) #define CONVERT_TO_DEGREES(X) ((X) * (180.0 / PI))
/* /*
** CMeterRoundLine
**
** The constructor ** The constructor
** **
*/ */
@ -51,8 +49,6 @@ CMeterRoundLine::CMeterRoundLine(CMeterWindow* meterWindow, const WCHAR* name) :
} }
/* /*
** ~CMeterRoundLine
**
** The destructor ** The destructor
** **
*/ */
@ -61,8 +57,6 @@ CMeterRoundLine::~CMeterRoundLine()
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -88,8 +82,6 @@ void CMeterRoundLine::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -115,8 +107,6 @@ bool CMeterRoundLine::Update()
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */

View File

@ -61,8 +61,6 @@ void StringToProper(std::wstring& str)
} }
/* /*
** CMeterString
**
** The constructor ** The constructor
** **
*/ */
@ -87,8 +85,6 @@ CMeterString::CMeterString(CMeterWindow* meterWindow, const WCHAR* name) : CMete
} }
/* /*
** ~CMeterString
**
** The destructor ** The destructor
** **
*/ */
@ -97,8 +93,6 @@ CMeterString::~CMeterString()
} }
/* /*
** GetX
**
** Returns the X-coordinate of the meter ** Returns the X-coordinate of the meter
** **
*/ */
@ -129,8 +123,6 @@ int CMeterString::GetX(bool abs)
/* /*
** Initialize
**
** Create the font that is used to draw the text. ** Create the font that is used to draw the text.
** **
*/ */
@ -283,8 +275,6 @@ void CMeterString::Initialize()
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -469,8 +459,6 @@ void CMeterString::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** Update
**
** Updates the value(s) from the measures. ** Updates the value(s) from the measures.
** **
*/ */
@ -548,8 +536,6 @@ bool CMeterString::Update()
} }
/* /*
** Draw
**
** Draws the meter on the double buffer ** Draws the meter on the double buffer
** **
*/ */
@ -561,8 +547,6 @@ bool CMeterString::Draw(Graphics& graphics)
} }
/* /*
** DrawString
**
** Draws the string or calculates it's size ** Draws the string or calculates it's size
** **
*/ */
@ -668,8 +652,6 @@ bool CMeterString::DrawString(Graphics& graphics, RectF* rect)
} }
/* /*
** BindMeasure
**
** Overridden method. The string meters need not to be bound on anything ** Overridden method. The string meters need not to be bound on anything
** **
*/ */
@ -707,8 +689,6 @@ void CMeterString::BindMeasure(const std::list<CMeasure*>& measures)
} }
/* /*
** FreeFontCache
**
** Static function which frees the font cache. ** Static function which frees the font cache.
** If collection is not NULL, frees the private font cache. ** If collection is not NULL, frees the private font cache.
** **
@ -764,8 +744,6 @@ void CMeterString::FreeFontCache(PrivateFontCollection* collection)
} }
/* /*
** FontFaceToString
**
** Static helper to convert font name to a string so it can be used as a key for the cache map. ** Static helper to convert font name to a string so it can be used as a key for the cache map.
** **
*/ */
@ -783,8 +761,6 @@ std::wstring CMeterString::FontFaceToString(const std::wstring& fontFace, Privat
} }
/* /*
** FontPropertiesToString
**
** Static helper to convert font properties to a string so it can be used as a key for the cache map. ** Static helper to convert font properties to a string so it can be used as a key for the cache map.
** **
*/ */
@ -797,8 +773,6 @@ std::wstring CMeterString::FontPropertiesToString(REAL size, FontStyle style)
} }
/* /*
** EnumerateInstalledFontFamilies
**
** Static helper to log all installed font families. ** Static helper to log all installed font families.
** **
*/ */

View File

@ -70,8 +70,6 @@ FPDWMISCOMPOSITIONENABLED CMeterWindow::c_DwmIsCompositionEnabled = NULL;
extern CRainmeter* Rainmeter; extern CRainmeter* Rainmeter;
/* /*
** CMeterWindow
**
** Constructor ** Constructor
** **
*/ */
@ -163,8 +161,6 @@ CMeterWindow::CMeterWindow(const std::wstring& config, const std::wstring& iniFi
} }
/* /*
** ~CMeterWindow
**
** Destructor ** Destructor
** **
*/ */
@ -235,8 +231,6 @@ CMeterWindow::~CMeterWindow()
} }
/* /*
** Initialize
**
** Initializes the window, creates the class and the window. ** Initializes the window, creates the class and the window.
** **
*/ */
@ -307,8 +301,6 @@ int CMeterWindow::Initialize(CRainmeter& Rainmeter)
} }
/* /*
** IgnoreAeroPeek
**
** Excludes this window from the Aero Peek. ** Excludes this window from the Aero Peek.
** **
*/ */
@ -322,8 +314,6 @@ void CMeterWindow::IgnoreAeroPeek()
} }
/* /*
** Deactivate
**
** Unloads the skin with delay to avoid crash (and for fade to complete). ** Unloads the skin with delay to avoid crash (and for fade to complete).
** **
*/ */
@ -334,8 +324,6 @@ void CMeterWindow::Deactivate()
} }
/* /*
** Refresh
**
** This deletes everything and rebuilds the config again. ** This deletes everything and rebuilds the config again.
** **
*/ */
@ -581,8 +569,6 @@ void CMeterWindow::MapCoordsToScreen(int& x, int& y, int w, int h)
} }
/* /*
** MoveWindow
**
** Moves the window to a new place (on the virtual screen) ** Moves the window to a new place (on the virtual screen)
** **
*/ */
@ -599,8 +585,6 @@ void CMeterWindow::MoveWindow(int x, int y)
} }
/* /*
** ChangeZPos
**
** Sets the window's z-position ** Sets the window's z-position
** **
*/ */
@ -683,8 +667,6 @@ void CMeterWindow::ChangeZPos(ZPOSITION zPos, bool all)
} }
/* /*
** ChangeSingleZPos
**
** Sets the window's z-position in proper order. ** Sets the window's z-position in proper order.
** **
*/ */
@ -707,8 +689,6 @@ void CMeterWindow::ChangeSingleZPos(ZPOSITION zPos, bool all)
} }
/* /*
** RunBang
**
** Runs the bang command with the given arguments. ** Runs the bang command with the given arguments.
** Correct number of arguments must be passed (or use CRainmeter::ExecuteBang). ** Correct number of arguments must be passed (or use CRainmeter::ExecuteBang).
*/ */
@ -972,8 +952,6 @@ void CMeterWindow::RunBang(BANGCOMMAND bang, const std::vector<std::wstring>& ar
} }
/* /*
** CompareName
**
** This is a helper template that compares the given name to measure/meter's name. ** This is a helper template that compares the given name to measure/meter's name.
** **
*/ */
@ -984,8 +962,6 @@ bool CompareName(T* m, const WCHAR* name, bool group)
} }
/* /*
** ShowBlur
**
** Enables blurring of the window background (using Aero) ** Enables blurring of the window background (using Aero)
** **
*/ */
@ -1019,8 +995,6 @@ void CMeterWindow::ShowBlur()
} }
/* /*
** HideBlur
**
** Disables Aero blur ** Disables Aero blur
** **
*/ */
@ -1035,8 +1009,6 @@ void CMeterWindow::HideBlur()
} }
/* /*
** ResizeBlur
**
** Adds to or removes from blur region ** Adds to or removes from blur region
** **
*/ */
@ -1120,8 +1092,6 @@ void CMeterWindow::ResizeBlur(const std::wstring& arg, int mode)
} }
/* /*
** ShowMeter
**
** Shows the given meter ** Shows the given meter
** **
*/ */
@ -1144,8 +1114,6 @@ void CMeterWindow::ShowMeter(const std::wstring& name, bool group)
} }
/* /*
** HideMeter
**
** Hides the given meter ** Hides the given meter
** **
*/ */
@ -1168,8 +1136,6 @@ void CMeterWindow::HideMeter(const std::wstring& name, bool group)
} }
/* /*
** ToggleMeter
**
** Toggles the given meter ** Toggles the given meter
** **
*/ */
@ -1199,8 +1165,6 @@ void CMeterWindow::ToggleMeter(const std::wstring& name, bool group)
} }
/* /*
** MoveMeter
**
** Moves the given meter ** Moves the given meter
** **
*/ */
@ -1224,8 +1188,6 @@ void CMeterWindow::MoveMeter(const std::wstring& name, int x, int y)
} }
/* /*
** UpdateMeter
**
** Updates the given meter ** Updates the given meter
** **
*/ */
@ -1266,8 +1228,6 @@ void CMeterWindow::UpdateMeter(const std::wstring& name, bool group)
} }
/* /*
** EnableMeasure
**
** Enables the given measure ** Enables the given measure
** **
*/ */
@ -1289,8 +1249,6 @@ void CMeterWindow::EnableMeasure(const std::wstring& name, bool group)
} }
/* /*
** DisableMeasure
**
** Disables the given measure ** Disables the given measure
** **
*/ */
@ -1312,8 +1270,6 @@ void CMeterWindow::DisableMeasure(const std::wstring& name, bool group)
} }
/* /*
** ToggleMeasure
**
** Toggless the given measure ** Toggless the given measure
** **
*/ */
@ -1342,8 +1298,6 @@ void CMeterWindow::ToggleMeasure(const std::wstring& name, bool group)
} }
/* /*
** UpdateMeasure
**
** Updates the given measure ** Updates the given measure
** **
*/ */
@ -1373,8 +1327,6 @@ void CMeterWindow::UpdateMeasure(const std::wstring& name, bool group)
} }
/* /*
** SetVariable
**
** Sets variable to given value. ** Sets variable to given value.
** **
*/ */
@ -1398,8 +1350,6 @@ void CMeterWindow::SetVariable(const std::wstring& variable, const std::wstring&
} }
/* /*
** SetOption
**
** Changes the property of a meter or measure. ** Changes the property of a meter or measure.
** **
*/ */
@ -1823,8 +1773,6 @@ void CMeterWindow::ScreenToWindow()
} }
/* /*
** ReadConfig
**
** Reads the current config ** Reads the current config
** **
*/ */
@ -1916,8 +1864,6 @@ void CMeterWindow::ReadConfig()
} }
/* /*
** WriteConfig
**
** Writes the new settings to the config ** Writes the new settings to the config
** **
*/ */
@ -2003,8 +1949,6 @@ void CMeterWindow::WriteConfig(INT setting)
} }
/* /*
** ReadSkin
**
** Reads the skin config, creates the meters and measures and does the bindings. ** Reads the skin config, creates the meters and measures and does the bindings.
** **
*/ */
@ -2294,8 +2238,6 @@ bool CMeterWindow::ReadSkin()
} }
/* /*
** InitializeMeasures
**
** Initializes all the measures ** Initializes all the measures
** **
*/ */
@ -2317,8 +2259,6 @@ void CMeterWindow::InitializeMeasures()
} }
/* /*
** InitializeMeters
**
** Initializes all the meters and the background ** Initializes all the meters and the background
** **
*/ */
@ -2348,8 +2288,6 @@ void CMeterWindow::InitializeMeters()
} }
/* /*
** ResizeWindow
**
** Changes the size of the window and re-adjusts the background ** Changes the size of the window and re-adjusts the background
*/ */
bool CMeterWindow::ResizeWindow(bool reset) bool CMeterWindow::ResizeWindow(bool reset)
@ -2547,8 +2485,6 @@ bool CMeterWindow::ResizeWindow(bool reset)
} }
/* /*
** GrabDesktop
**
** Grabs a part of the desktop ** Grabs a part of the desktop
*/ */
Bitmap* CMeterWindow::GrabDesktop(int x, int y, int w, int h) Bitmap* CMeterWindow::GrabDesktop(int x, int y, int w, int h)
@ -2567,8 +2503,6 @@ Bitmap* CMeterWindow::GrabDesktop(int x, int y, int w, int h)
} }
/* /*
** CreateDoubleBuffer
**
** Creates the back buffer bitmap. ** Creates the back buffer bitmap.
** **
*/ */
@ -2596,8 +2530,6 @@ void CMeterWindow::CreateDoubleBuffer(int cx, int cy)
} }
/* /*
** CreateRegion
**
** Creates/Clears a window region ** Creates/Clears a window region
** **
*/ */
@ -2631,8 +2563,6 @@ void CMeterWindow::CreateRegion(bool clear)
} }
/* /*
** Redraw
**
** Redraws the meters and paints the window ** Redraws the meters and paints the window
** **
*/ */
@ -2752,8 +2682,6 @@ void CMeterWindow::Redraw()
} }
/* /*
** PostUpdate
**
** Updates the transition state ** Updates the transition state
** **
*/ */
@ -2773,8 +2701,6 @@ void CMeterWindow::PostUpdate(bool bActiveTransition)
} }
/* /*
** UpdateMeasure
**
** Updates the given measure ** Updates the given measure
** **
*/ */
@ -2813,8 +2739,6 @@ bool CMeterWindow::UpdateMeasure(CMeasure* measure, bool force)
} }
/* /*
** UpdateMeter
**
** Updates the given meter ** Updates the given meter
** **
*/ */
@ -2872,8 +2796,6 @@ bool CMeterWindow::UpdateMeter(CMeter* meter, bool& bActiveTransition, bool forc
} }
/* /*
** Update
**
** Updates all the measures and redraws the meters ** Updates all the measures and redraws the meters
** **
*/ */
@ -2932,8 +2854,6 @@ void CMeterWindow::Update(bool nodraw)
} }
/* /*
** UpdateTransparency
**
** Updates the native Windows transparency ** Updates the native Windows transparency
*/ */
void CMeterWindow::UpdateTransparency(int alpha, bool reset) void CMeterWindow::UpdateTransparency(int alpha, bool reset)
@ -2975,8 +2895,6 @@ void CMeterWindow::UpdateTransparency(int alpha, bool reset)
} }
/* /*
** OnPaint
**
** Repaints the window. This does not cause update of the measures. ** Repaints the window. This does not cause update of the measures.
** This handler is called if NativeTransparency is false. ** This handler is called if NativeTransparency is false.
** **
@ -2994,8 +2912,6 @@ LRESULT CMeterWindow::OnPaint(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnTimer
**
** Handles the timers. The METERTIMER updates all the measures ** Handles the timers. The METERTIMER updates all the measures
** MOUSETIMER is used to hide/show the window. ** MOUSETIMER is used to hide/show the window.
** **
@ -3177,8 +3093,6 @@ void CMeterWindow::ShowFade()
} }
/* /*
** ShowWindowIfAppropriate
**
** Show the window if it is temporarily hidden. ** Show the window if it is temporarily hidden.
** **
*/ */
@ -3255,8 +3169,6 @@ void CMeterWindow::ShowWindowIfAppropriate()
} }
/* /*
** GetWindowFromPoint
**
** Retrieves a handle to the window that contains the specified point. ** Retrieves a handle to the window that contains the specified point.
** **
*/ */
@ -3291,8 +3203,6 @@ HWND CMeterWindow::GetWindowFromPoint(POINT pos)
} }
/* /*
** HitTest
**
** Checks if the given point is inside the window. ** Checks if the given point is inside the window.
** **
*/ */
@ -3316,8 +3226,6 @@ bool CMeterWindow::HitTest(int x, int y)
} }
/* /*
** HandleButtons
**
** Handles all buttons and cursor. ** Handles all buttons and cursor.
** **
*/ */
@ -3375,8 +3283,6 @@ void CMeterWindow::HandleButtons(POINT pos, BUTTONPROC proc, bool execute)
} }
/* /*
** OnSetCursor
**
** During setting the cursor do nothing. ** During setting the cursor do nothing.
** **
*/ */
@ -3386,8 +3292,6 @@ LRESULT CMeterWindow::OnSetCursor(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnEnterMenuLoop
**
** Enters context menu loop. ** Enters context menu loop.
** **
*/ */
@ -3400,8 +3304,6 @@ LRESULT CMeterWindow::OnEnterMenuLoop(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnMouseMove
**
** When we get WM_MOUSEMOVE messages, hide the window as the mouse is over it. ** When we get WM_MOUSEMOVE messages, hide the window as the mouse is over it.
** **
*/ */
@ -3474,8 +3376,6 @@ LRESULT CMeterWindow::OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnMouseLeave
**
** When we get WM_MOUSELEAVE messages, run all leave actions. ** When we get WM_MOUSELEAVE messages, run all leave actions.
** **
*/ */
@ -3499,8 +3399,6 @@ LRESULT CMeterWindow::OnMouseLeave(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnCommand
**
** Handle the menu commands. ** Handle the menu commands.
** **
*/ */
@ -3691,8 +3589,6 @@ LRESULT CMeterWindow::OnCommand(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** SetClickThrough
**
** Helper function for setting ClickThrough ** Helper function for setting ClickThrough
** **
*/ */
@ -3718,8 +3614,6 @@ void CMeterWindow::SetClickThrough(bool b)
} }
/* /*
** SetKeepOnScreen
**
** Helper function for setting KeepOnScreen ** Helper function for setting KeepOnScreen
** **
*/ */
@ -3741,8 +3635,6 @@ void CMeterWindow::SetKeepOnScreen(bool b)
} }
/* /*
** SetWindowDraggable
**
** Helper function for setting WindowDraggable ** Helper function for setting WindowDraggable
** **
*/ */
@ -3753,8 +3645,6 @@ void CMeterWindow::SetWindowDraggable(bool b)
} }
/* /*
** SetSavePosition
**
** Helper function for setting SavePosition ** Helper function for setting SavePosition
** **
*/ */
@ -3765,8 +3655,6 @@ void CMeterWindow::SetSavePosition(bool b)
} }
/* /*
** SetSnapEdges
**
** Helper function for setting SnapEdges ** Helper function for setting SnapEdges
** **
*/ */
@ -3777,8 +3665,6 @@ void CMeterWindow::SetSnapEdges(bool b)
} }
/* /*
** SetWindowHide
**
** Helper function for setting WindowHide ** Helper function for setting WindowHide
** **
*/ */
@ -3790,8 +3676,6 @@ void CMeterWindow::SetWindowHide(HIDEMODE hide)
} }
/* /*
** SetWindowZPosition
**
** Helper function for setting Position ** Helper function for setting Position
** **
*/ */
@ -3802,8 +3686,6 @@ void CMeterWindow::SetWindowZPosition(ZPOSITION zpos)
} }
/* /*
** OnSysCommand
**
** Handle dragging the window ** Handle dragging the window
** **
*/ */
@ -3860,8 +3742,6 @@ LRESULT CMeterWindow::OnSysCommand(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnEnterSizeMove
**
** Starts dragging ** Starts dragging
** **
*/ */
@ -3879,8 +3759,6 @@ LRESULT CMeterWindow::OnEnterSizeMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnExitSizeMove
**
** Ends dragging ** Ends dragging
** **
*/ */
@ -3890,8 +3768,6 @@ LRESULT CMeterWindow::OnExitSizeMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnNcHitTest
**
** This is overwritten so that the window can be dragged ** This is overwritten so that the window can be dragged
** **
*/ */
@ -3928,8 +3804,6 @@ LRESULT CMeterWindow::OnNcHitTest(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnWindowPosChanging
**
** Called when windows position is about to change ** Called when windows position is about to change
** **
*/ */
@ -4035,8 +3909,6 @@ void CMeterWindow::SnapToWindow(CMeterWindow* window, LPWINDOWPOS wp)
} }
/* /*
** OnDwmColorChange
**
** Disables blur when Aero transparency is disabled ** Disables blur when Aero transparency is disabled
** **
*/ */
@ -4058,8 +3930,6 @@ LRESULT CMeterWindow::OnDwmColorChange(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnDwmCompositionChange
**
** Disables blur when desktop composition is disabled ** Disables blur when desktop composition is disabled
** **
*/ */
@ -4080,8 +3950,6 @@ LRESULT CMeterWindow::OnDwmCompositionChange(UINT uMsg, WPARAM wParam, LPARAM lP
} }
/* /*
** BlurBehindWindow
**
** Adds the blur region to the window ** Adds the blur region to the window
** **
*/ */
@ -4109,8 +3977,6 @@ void CMeterWindow::BlurBehindWindow(BOOL fEnable)
} }
/* /*
** OnDisplayChange
**
** During resolution changes do nothing. ** During resolution changes do nothing.
** (OnDelayedMove function is used instead.) ** (OnDelayedMove function is used instead.)
** **
@ -4121,8 +3987,6 @@ LRESULT CMeterWindow::OnDisplayChange(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnSettingChange
**
** During setting changes do nothing. ** During setting changes do nothing.
** (OnDelayedMove function is used instead.) ** (OnDelayedMove function is used instead.)
** **
@ -4133,8 +3997,6 @@ LRESULT CMeterWindow::OnSettingChange(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnLeftButtonDown
**
** Runs the action when left mouse button is down ** Runs the action when left mouse button is down
** **
*/ */
@ -4167,8 +4029,6 @@ LRESULT CMeterWindow::OnLeftButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnLeftButtonUp
**
** Runs the action when left mouse button is up ** Runs the action when left mouse button is up
** **
*/ */
@ -4193,8 +4053,6 @@ LRESULT CMeterWindow::OnLeftButtonUp(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnLeftButtonDoubleClick
**
** Runs the action when left mouse button is double-clicked ** Runs the action when left mouse button is double-clicked
** **
*/ */
@ -4222,8 +4080,6 @@ LRESULT CMeterWindow::OnLeftButtonDoubleClick(UINT uMsg, WPARAM wParam, LPARAM l
} }
/* /*
** OnRightButtonDown
**
** Runs the action when right mouse button is down ** Runs the action when right mouse button is down
** **
*/ */
@ -4248,8 +4104,6 @@ LRESULT CMeterWindow::OnRightButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnRightButtonUp
**
** Runs the action when right mouse button is up ** Runs the action when right mouse button is up
** **
*/ */
@ -4273,8 +4127,6 @@ LRESULT CMeterWindow::OnRightButtonUp(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnRightButtonDoubleClick
**
** Runs the action when right mouse button is double-clicked ** Runs the action when right mouse button is double-clicked
** **
*/ */
@ -4302,8 +4154,6 @@ LRESULT CMeterWindow::OnRightButtonDoubleClick(UINT uMsg, WPARAM wParam, LPARAM
} }
/* /*
** OnMiddleButtonDown
**
** Runs the action when middle mouse button is down ** Runs the action when middle mouse button is down
** **
*/ */
@ -4328,8 +4178,6 @@ LRESULT CMeterWindow::OnMiddleButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam
} }
/* /*
** OnMiddleButtonUp
**
** Runs the action when middle mouse button is up ** Runs the action when middle mouse button is up
** **
*/ */
@ -4354,8 +4202,6 @@ LRESULT CMeterWindow::OnMiddleButtonUp(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnMiddleButtonDoubleClick
**
** Runs the action when middle mouse button is double-clicked ** Runs the action when middle mouse button is double-clicked
** **
*/ */
@ -4383,8 +4229,6 @@ LRESULT CMeterWindow::OnMiddleButtonDoubleClick(UINT uMsg, WPARAM wParam, LPARAM
} }
/* /*
** OnContextMenu
**
** Handles the context menu. The menu is recreated every time it is shown. ** Handles the context menu. The menu is recreated every time it is shown.
** **
*/ */
@ -4425,8 +4269,6 @@ LRESULT CMeterWindow::OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** DoAction
**
** Executes the action if such are defined. Returns true, if action was executed. ** Executes the action if such are defined. Returns true, if action was executed.
** If the test is true, the action is not executed. ** If the test is true, the action is not executed.
** **
@ -4602,8 +4444,6 @@ bool CMeterWindow::DoAction(int x, int y, MOUSE mouse, bool test)
} }
/* /*
** DoMoveAction
**
** Executes the action if such are defined. Returns true, if meter/window which should be processed still may exist. ** Executes the action if such are defined. Returns true, if meter/window which should be processed still may exist.
** **
*/ */
@ -4745,8 +4585,6 @@ bool CMeterWindow::DoMoveAction(int x, int y, MOUSE mouse)
} }
/* /*
** OnMove
**
** Stores the new place of the window, in screen coordinates. ** Stores the new place of the window, in screen coordinates.
** **
*/ */
@ -4770,8 +4608,6 @@ LRESULT CMeterWindow::OnMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** WndProc
**
** The main window procedure for the meter window. ** The main window procedure for the meter window.
** **
*/ */
@ -4825,8 +4661,6 @@ LRESULT CALLBACK CMeterWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPAR
} }
/* /*
** InitialWndProc
**
** The initial window procedure for the meter window. Passes control to WndProc after initial setup. ** The initial window procedure for the meter window. Passes control to WndProc after initial setup.
** **
*/ */
@ -4846,8 +4680,6 @@ LRESULT CALLBACK CMeterWindow::InitialWndProc(HWND hWnd, UINT uMsg, WPARAM wPara
} }
/* /*
** OnDelayedRefresh
**
** Handles delayed refresh ** Handles delayed refresh
** **
*/ */
@ -4865,8 +4697,6 @@ LRESULT CMeterWindow::OnDelayedRefresh(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnDelayedMove
**
** Handles delayed move ** Handles delayed move
** **
*/ */
@ -4896,8 +4726,6 @@ LRESULT CMeterWindow::OnDelayedMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** OnCopyData
**
** Handles bangs from the exe ** Handles bangs from the exe
** **
*/ */
@ -4937,8 +4765,6 @@ LRESULT CMeterWindow::OnCopyData(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
/* /*
** SetWindowPositionVariables
**
** Sets up the window position variables. ** Sets up the window position variables.
** **
*/ */
@ -4953,8 +4779,6 @@ void CMeterWindow::SetWindowPositionVariables(int x, int y)
} }
/* /*
** SetWindowSizeVariables
**
** Sets up the window size variables. ** Sets up the window size variables.
** **
*/ */
@ -4969,8 +4793,6 @@ void CMeterWindow::SetWindowSizeVariables(int w, int h)
} }
/* /*
** MakePathAbsolute
**
** Converts the path to absolute by adding the skin's path to it (unless it already is absolute). ** Converts the path to absolute by adding the skin's path to it (unless it already is absolute).
** **
*/ */

View File

@ -45,8 +45,6 @@ enum INTERVAL
CRainmeter* Rainmeter; // The module CRainmeter* Rainmeter; // The module
/* /*
** RainmeterMain
**
** Initializes Rainmeter. ** Initializes Rainmeter.
** **
*/ */
@ -121,8 +119,6 @@ int RainmeterMain(LPWSTR cmdLine)
} }
/* /*
** ParseString
**
** Splits the given string into substrings ** Splits the given string into substrings
** **
*/ */
@ -220,8 +216,6 @@ std::vector<std::wstring> CRainmeter::ParseString(LPCTSTR str)
} }
/* /*
** BangWithArgs
**
** Parses Bang args ** Parses Bang args
** **
*/ */
@ -286,8 +280,6 @@ void CRainmeter::BangWithArgs(BANGCOMMAND bang, const WCHAR* arg, size_t numOfAr
} }
/* /*
** BangGroupWithArgs
**
** Parses Bang args for Group ** Parses Bang args for Group
** **
*/ */
@ -321,8 +313,6 @@ void CRainmeter::BangGroupWithArgs(BANGCOMMAND bang, const WCHAR* arg, size_t nu
} }
/* /*
** Bang_ActivateConfig
**
** !ActivateConfig bang ** !ActivateConfig bang
** **
*/ */
@ -348,8 +338,6 @@ void CRainmeter::Bang_ActivateConfig(const WCHAR* arg)
} }
/* /*
** Bang_DeactivateConfig
**
** !DeactivateConfig bang ** !DeactivateConfig bang
** **
*/ */
@ -378,8 +366,6 @@ void CRainmeter::Bang_DeactivateConfig(const WCHAR* arg, CMeterWindow* meterWind
} }
/* /*
** Bang_ToggleConfig
**
** !ToggleConfig bang ** !ToggleConfig bang
** **
*/ */
@ -406,8 +392,6 @@ void CRainmeter::Bang_ToggleConfig(const WCHAR* arg)
} }
/* /*
** Bang_DeactivateConfigGroup
**
** !DeactivateConfigGroup bang ** !DeactivateConfigGroup bang
** **
*/ */
@ -433,8 +417,6 @@ void CRainmeter::Bang_DeactivateConfigGroup(const WCHAR* arg)
} }
/* /*
** Bang_SetClip
**
** !SetClip bang ** !SetClip bang
** **
*/ */
@ -453,8 +435,6 @@ void CRainmeter::Bang_SetClip(const WCHAR* arg)
} }
/* /*
** Bang_SetWallpaper
**
** !SetWallpaper bang ** !SetWallpaper bang
** **
*/ */
@ -477,8 +457,6 @@ void CRainmeter::Bang_SetWallpaper(const WCHAR* arg)
} }
/* /*
** Bang_SkinMenu
**
** !SkinMenu bang ** !SkinMenu bang
** **
*/ */
@ -509,8 +487,6 @@ void CRainmeter::Bang_SkinMenu(const WCHAR* arg, CMeterWindow* meterWindow)
} }
/* /*
** Bang_TrayMenu
**
** !TrayMenu bang ** !TrayMenu bang
** **
*/ */
@ -522,8 +498,6 @@ void CRainmeter::Bang_TrayMenu()
} }
/* /*
** Bang_WriteKeyValue
**
** !WriteKeyValue bang ** !WriteKeyValue bang
** **
*/ */
@ -671,8 +645,6 @@ void CRainmeter::Bang_WriteKeyValue(const WCHAR* arg, CMeterWindow* meterWindow)
// ----------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------
/* /*
** CRainmeter
**
** Constructor ** Constructor
** **
*/ */
@ -704,8 +676,6 @@ CRainmeter::CRainmeter() :
} }
/* /*
** ~CRainmeter
**
** Destructor ** Destructor
** **
*/ */
@ -743,8 +713,6 @@ CRainmeter::~CRainmeter()
} }
/* /*
** Initialize
**
** The main initialization function for the module. ** The main initialization function for the module.
** May throw CErrors !!!! ** May throw CErrors !!!!
** **
@ -1143,8 +1111,6 @@ void CRainmeter::SetNetworkStatisticsTimer()
} }
/* /*
** CreateDefaultConfigFile
**
** Creates the default Rainmeter.ini file with illustro\System enabled. ** Creates the default Rainmeter.ini file with illustro\System enabled.
** **
*/ */
@ -1494,8 +1460,6 @@ int CRainmeter::GetLoadOrder(const std::wstring& config)
} }
/* /*
** ScanForConfigs
**
** Scans all the subfolders and locates the ini-files. ** Scans all the subfolders and locates the ini-files.
*/ */
void CRainmeter::ScanForConfigs(const std::wstring& path) void CRainmeter::ScanForConfigs(const std::wstring& path)
@ -1604,8 +1568,6 @@ int CRainmeter::ScanForConfigsRecursive(const std::wstring& path, std::wstring b
} }
/* /*
** ScanForThemes
**
** Scans the given folder for themes ** Scans the given folder for themes
*/ */
void CRainmeter::ScanForThemes(const std::wstring& path) void CRainmeter::ScanForThemes(const std::wstring& path)
@ -2002,8 +1964,6 @@ void CRainmeter::ExecuteBang(const std::wstring& name, std::wstring& arg, CMeter
} }
/* /*
** ExecuteCommand
**
** Runs the given command or bang ** Runs the given command or bang
** **
*/ */
@ -2097,8 +2057,6 @@ void CRainmeter::ExecuteCommand(const WCHAR* command, CMeterWindow* meterWindow)
/* /*
** DelayedExecuteCommand
**
** Executes command when current processing is done. ** Executes command when current processing is done.
** **
*/ */
@ -2109,8 +2067,6 @@ void CRainmeter::DelayedExecuteCommand(const WCHAR* command)
} }
/* /*
** ReadGeneralSettings
**
** Reads the general settings from the Rainmeter.ini file ** Reads the general settings from the Rainmeter.ini file
** **
*/ */
@ -2226,8 +2182,6 @@ void CRainmeter::ReadGeneralSettings(const std::wstring& iniFile)
} }
/* /*
** RefreshAll
**
** Refreshes all active meter windows. ** Refreshes all active meter windows.
** Note: This function calls CMeterWindow::Refresh() directly for synchronization. Be careful about crash. ** Note: This function calls CMeterWindow::Refresh() directly for synchronization. Be careful about crash.
** **
@ -2386,8 +2340,6 @@ void CRainmeter::PreserveSetting(const std::wstring& from, LPCTSTR key, bool rep
} }
/* /*
** UpdateDesktopWorkArea
**
** Applies given DesktopWorkArea and DesktopWorkArea@n. ** Applies given DesktopWorkArea and DesktopWorkArea@n.
** **
*/ */
@ -2500,8 +2452,6 @@ void CRainmeter::UpdateDesktopWorkArea(bool reset)
} }
/* /*
** ReadStats
**
** Reads the statistics from the ini-file ** Reads the statistics from the ini-file
** **
*/ */
@ -2533,8 +2483,6 @@ void CRainmeter::ReadStats()
} }
/* /*
** WriteStats
**
** Writes the statistics to the ini-file. If bForce is false the stats are written only once per an appropriate interval. ** Writes the statistics to the ini-file. If bForce is false the stats are written only once per an appropriate interval.
** **
*/ */
@ -2557,8 +2505,6 @@ void CRainmeter::WriteStats(bool bForce)
} }
/* /*
** ResetStats
**
** Clears the statistics ** Clears the statistics
** **
*/ */
@ -2577,8 +2523,6 @@ void CRainmeter::ResetStats()
} }
/* /*
** ShowContextMenu
**
** Opens the context menu in given coordinates. ** Opens the context menu in given coordinates.
** **
*/ */

View File

@ -60,8 +60,6 @@ std::vector<std::wstring> CSystem::c_IniFileMappings;
extern CRainmeter* Rainmeter; extern CRainmeter* Rainmeter;
/* /*
** Initialize
**
** Creates a helper window to detect changes in the system. ** Creates a helper window to detect changes in the system.
** **
*/ */
@ -127,8 +125,6 @@ void CSystem::Initialize(HINSTANCE instance)
} }
/* /*
** Finalize
**
** Destroys a window. ** Destroys a window.
** **
*/ */
@ -157,8 +153,6 @@ void CSystem::Finalize()
} }
/* /*
** MyInfoEnumProc
**
** Retrieves the multi-monitor information. ** Retrieves the multi-monitor information.
** **
*/ */
@ -233,8 +227,6 @@ BOOL CALLBACK MyInfoEnumProc(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonit
} }
/* /*
** GetMonitorCount
**
** Returns the number of monitors. ** Returns the number of monitors.
** **
*/ */
@ -248,8 +240,6 @@ size_t CSystem::GetMonitorCount()
} }
/* /*
** SetMultiMonitorInfo
**
** Sets the multi-monitor information. ** Sets the multi-monitor information.
** **
*/ */
@ -520,8 +510,6 @@ void CSystem::SetMultiMonitorInfo()
} }
/* /*
** UpdateWorkareaInfo
**
** Updates the workarea information. ** Updates the workarea information.
** **
*/ */
@ -556,8 +544,6 @@ void CSystem::UpdateWorkareaInfo()
} }
/* /*
** SetOSPlatform
**
** Sets the OS platform. ** Sets the OS platform.
** **
*/ */
@ -590,8 +576,6 @@ void CSystem::SetOSPlatform()
} }
/* /*
** GetDefaultShellWindow
**
** Finds the Default Shell's window. ** Finds the Default Shell's window.
** **
*/ */
@ -623,8 +607,6 @@ HWND CSystem::GetDefaultShellWindow()
} }
/* /*
** GetWorkerW
**
** Finds the WorkerW window. ** Finds the WorkerW window.
** If the WorkerW window is not active, returns NULL. ** If the WorkerW window is not active, returns NULL.
** **
@ -676,8 +658,6 @@ HWND CSystem::GetWorkerW()
} }
/* /*
** GetBackmostTopWindow
**
** Returns the first window whose position is not ZPOSITION_ONDESKTOP, ** Returns the first window whose position is not ZPOSITION_ONDESKTOP,
** ZPOSITION_BOTTOM, or ZPOSITION_NORMAL. ** ZPOSITION_BOTTOM, or ZPOSITION_NORMAL.
** **
@ -703,8 +683,6 @@ HWND CSystem::GetBackmostTopWindow()
} }
/* /*
** BelongToSameProcess
**
** Checks whether the given windows belong to the same process. ** Checks whether the given windows belong to the same process.
** **
*/ */
@ -719,8 +697,6 @@ bool CSystem::BelongToSameProcess(HWND hwndA, HWND hwndB)
} }
/* /*
** MyEnumWindowsProc
**
** Retrieves the Rainmeter's meter windows in Z-order. ** Retrieves the Rainmeter's meter windows in Z-order.
** **
*/ */
@ -772,8 +748,6 @@ BOOL CALLBACK MyEnumWindowsProc(HWND hwnd, LPARAM lParam)
} }
/* /*
** ChangeZPosInOrder
**
** Arranges the meter window in Z-order. ** Arranges the meter window in Z-order.
** **
*/ */
@ -822,8 +796,6 @@ void CSystem::ChangeZPosInOrder()
} }
/* /*
** PrepareHelperWindow
**
** Moves the helper window to the reference position. ** Moves the helper window to the reference position.
** **
*/ */
@ -894,8 +866,6 @@ void CSystem::PrepareHelperWindow(HWND WorkerW)
} }
/* /*
** CheckDesktopState
**
** Changes the "Show Desktop" state. ** Changes the "Show Desktop" state.
** **
*/ */
@ -938,8 +908,6 @@ bool CSystem::CheckDesktopState(HWND WorkerW)
} }
/* /*
** MyWinEventHook
**
** The event hook procedure ** The event hook procedure
** **
*/ */
@ -978,8 +946,6 @@ void CALLBACK CSystem::MyWinEventProc(HWINEVENTHOOK hWinEventHook, DWORD event,
} }
/* /*
** WndProc
**
** The window procedure ** The window procedure
** **
*/ */
@ -1064,8 +1030,6 @@ LRESULT CALLBACK CSystem::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
} }
/* /*
** GetTickCount64
**
** Retrieves the number of milliseconds that have elapsed since the system was started. ** Retrieves the number of milliseconds that have elapsed since the system was started.
** In XP, returns the predictive value due to the 32bit limitation. ** In XP, returns the predictive value due to the 32bit limitation.
** **
@ -1090,8 +1054,6 @@ ULONGLONG CSystem::GetTickCount64()
} }
/* /*
** IsFileWritable
**
** Checks if file is writable. ** Checks if file is writable.
** **
*/ */
@ -1108,8 +1070,6 @@ bool CSystem::IsFileWritable(LPCWSTR file)
} }
/* /*
** RmLoadLibrary
**
** This function is a wrapper function for LoadLibrary(). ** This function is a wrapper function for LoadLibrary().
** **
** Avoids loading a DLL from current directory. ** Avoids loading a DLL from current directory.
@ -1145,8 +1105,6 @@ HMODULE CSystem::RmLoadLibrary(LPCWSTR lpLibFileName, DWORD* dwError, bool ignor
} }
/* /*
** ResetWorkingDirectory
**
** Resets working directory to default. ** Resets working directory to default.
** **
*/ */
@ -1162,8 +1120,6 @@ void CSystem::ResetWorkingDirectory()
} }
/* /*
** SetClipboardText
**
** Sets clipboard text to given string. ** Sets clipboard text to given string.
** **
*/ */
@ -1193,8 +1149,6 @@ void CSystem::SetClipboardText(const std::wstring& text)
} }
/* /*
** SetWallpaper
**
** Sets the system wallpapar. ** Sets the system wallpapar.
** **
*/ */
@ -1285,8 +1239,6 @@ void CSystem::SetWallpaper(const std::wstring& wallpaper, const std::wstring& st
} }
/* /*
** CopyFiles
**
** Copies files and folders from one location to another. ** Copies files and folders from one location to another.
** **
*/ */
@ -1317,8 +1269,6 @@ bool CSystem::CopyFiles(const std::wstring& strFrom, const std::wstring& strTo,
} }
/* /*
** RemoveFile
**
** Removes a file even if a file is read-only. ** Removes a file even if a file is read-only.
** **
*/ */
@ -1335,8 +1285,6 @@ bool CSystem::RemoveFile(const std::wstring& file)
} }
/* /*
** RemoveFolder
**
** Recursively removes folder. ** Recursively removes folder.
** **
*/ */
@ -1366,8 +1314,6 @@ bool CSystem::RemoveFolder(const std::wstring& strFolder)
} }
/* /*
** UpdateIniFileMappingList
**
** Retrieves the "IniFileMapping" entries from Registry. ** Retrieves the "IniFileMapping" entries from Registry.
** **
*/ */
@ -1432,8 +1378,6 @@ void CSystem::UpdateIniFileMappingList()
} }
/* /*
** GetTemporaryFile
**
** Prepares a temporary file if iniFile is included in the "IniFileMapping" entries. ** Prepares a temporary file if iniFile is included in the "IniFileMapping" entries.
** If iniFile is not included, returns a empty string. If error occurred, returns "?". ** If iniFile is not included, returns a empty string. If error occurred, returns "?".
** Note that a temporary file must be deleted by caller. ** Note that a temporary file must be deleted by caller.

View File

@ -146,8 +146,6 @@ const Gdiplus::ColorMatrix CTintedImage::c_IdentityMatrix = {
CTintedImageHelper_DefineConfigArray(CTintedImage::c_DefaultConfigArray, L""); CTintedImageHelper_DefineConfigArray(CTintedImage::c_DefaultConfigArray, L"");
/* /*
** CTintedImage
**
** The constructor. ** The constructor.
** **
** If disableTransform is true, following configs are ignored: ** If disableTransform is true, following configs are ignored:
@ -174,8 +172,6 @@ CTintedImage::CTintedImage(const WCHAR* name, const WCHAR** configArray, bool di
} }
/* /*
** ~CTintedImage
**
** The destructor ** The destructor
** **
*/ */
@ -187,8 +183,6 @@ CTintedImage::~CTintedImage()
} }
/* /*
** DisposeImage
**
** Disposes the image buffers. ** Disposes the image buffers.
** **
*/ */
@ -207,8 +201,6 @@ void CTintedImage::DisposeImage()
} }
/* /*
** LoadImageFromFileHandle
**
** Loads the image from file handle ** Loads the image from file handle
** **
*/ */
@ -266,8 +258,6 @@ Bitmap* CTintedImage::LoadImageFromFileHandle(HANDLE fileHandle, DWORD fileSize,
} }
/* /*
** LoadImage
**
** Loads the image from disk ** Loads the image from disk
** **
*/ */
@ -384,8 +374,6 @@ void CTintedImage::LoadImage(const std::wstring& imageName, bool bLoadAlways)
} }
/* /*
** ApplyCrop
**
** This will apply the cropping. ** This will apply the cropping.
** **
*/ */
@ -443,8 +431,6 @@ void CTintedImage::ApplyCrop()
} }
/* /*
** ApplyTint
**
** This will apply the Greyscale matrix and the color tinting. ** This will apply the Greyscale matrix and the color tinting.
** **
*/ */
@ -490,8 +476,6 @@ void CTintedImage::ApplyTint()
} }
/* /*
** TurnGreyscale
**
** Turns the image greyscale by applying a greyscale color matrix. ** Turns the image greyscale by applying a greyscale color matrix.
** Note that the returned bitmap image must be freed by caller. ** Note that the returned bitmap image must be freed by caller.
** **
@ -512,8 +496,6 @@ Bitmap* CTintedImage::TurnGreyscale(Bitmap* source)
} }
/* /*
** ApplyTransform
**
** This will apply the flipping and rotating. ** This will apply the flipping and rotating.
** **
*/ */
@ -581,8 +563,6 @@ void CTintedImage::ApplyTransform()
} }
/* /*
** ReadConfig
**
** Read the meter-specific configs from the ini-file. ** Read the meter-specific configs from the ini-file.
** **
*/ */
@ -769,8 +749,6 @@ void CTintedImage::ReadConfig(CConfigParser& parser, const WCHAR* section)
} }
/* /*
** CompareColorMatrix
**
** Compares the two given color matrices. ** Compares the two given color matrices.
** **
*/ */

View File

@ -22,8 +22,6 @@
#include "../Rainmeter.h" #include "../Rainmeter.h"
/* /*
** LuaScript
**
** The constructor ** The constructor
** **
*/ */
@ -80,8 +78,6 @@ LuaScript::LuaScript(lua_State* state, const char* file) : m_State(state),
} }
/* /*
** ~LuaScript
**
** The destructor ** The destructor
** **
*/ */
@ -91,8 +87,6 @@ LuaScript::~LuaScript()
} }
/* /*
** IsFunction
**
** Checks if given function is defined in the script file. ** Checks if given function is defined in the script file.
** **
*/ */
@ -121,8 +115,6 @@ bool LuaScript::IsFunction(const char* funcName)
} }
/* /*
** RunFunction
**
** Runs given function in script file. ** Runs given function in script file.
** **
*/ */
@ -146,8 +138,6 @@ void LuaScript::RunFunction(const char* funcName)
} }
/* /*
** RunFunctionWithReturn
**
** Runs given function in script file and stores the retruned number or string. ** Runs given function in script file and stores the retruned number or string.
** **
*/ */
@ -190,8 +180,6 @@ int LuaScript::RunFunctionWithReturn(const char* funcName, double& numValue, std
} }
/* /*
** RunString
**
** Runs given string in the context of the script file. ** Runs given string in the context of the script file.
** **
*/ */

View File

@ -20,8 +20,6 @@
#include "Cover.h" #include "Cover.h"
/* /*
** GetCached
**
** Checks if cover art is in cache. ** Checks if cover art is in cache.
** **
*/ */
@ -32,8 +30,6 @@ bool CCover::GetCached(std::wstring& path)
} }
/* /*
** GetLocal
**
** Attemps to find local cover art in various formats. ** Attemps to find local cover art in various formats.
** **
*/ */
@ -65,8 +61,6 @@ bool CCover::GetLocal(std::wstring filename, const std::wstring& folder, std::ws
} }
/* /*
** GetEmbedded
**
** Attempts to extract cover art from audio files. ** Attempts to extract cover art from audio files.
** **
*/ */
@ -131,8 +125,6 @@ bool CCover::GetEmbedded(const TagLib::FileRef& fr, const std::wstring& target)
} }
/* /*
** GetFileFolder
**
** Returns path without filename. ** Returns path without filename.
** **
*/ */
@ -148,8 +140,6 @@ std::wstring CCover::GetFileFolder(const std::wstring& file)
} }
/* /*
** ExtractAPE
**
** Extracts cover art embedded in APE tags. ** Extracts cover art embedded in APE tags.
** **
*/ */
@ -174,8 +164,6 @@ bool CCover::ExtractAPE(TagLib::APE::Tag* tag, const std::wstring& target)
} }
/* /*
** ExtractID3
**
** Extracts cover art embedded in ID3v2 tags. ** Extracts cover art embedded in ID3v2 tags.
** **
*/ */
@ -193,8 +181,6 @@ bool CCover::ExtractID3(TagLib::ID3v2::Tag* tag, const std::wstring& target)
} }
/* /*
** ExtractASF
**
** Extracts cover art embedded in ASF/WMA files. ** Extracts cover art embedded in ASF/WMA files.
** **
*/ */
@ -220,8 +206,6 @@ bool CCover::ExtractASF(TagLib::ASF::File* file, const std::wstring& target)
} }
/* /*
** ExtractFLAC
**
** Extracts cover art embedded in FLAC files. ** Extracts cover art embedded in FLAC files.
** **
*/ */
@ -239,8 +223,6 @@ bool CCover::ExtractFLAC(TagLib::FLAC::File* file, const std::wstring& target)
} }
/* /*
** ExtractMP4
**
** Extracts cover art embedded in MP4-like files. ** Extracts cover art embedded in MP4-like files.
** **
*/ */
@ -260,8 +242,6 @@ bool CCover::ExtractMP4(TagLib::MP4::File* file, const std::wstring& target)
} }
/* /*
** WriteCover
**
** Write cover data to file. ** Write cover data to file.
** **
*/ */

View File

@ -22,8 +22,6 @@
HINTERNET CInternet::c_NetHandle = NULL; HINTERNET CInternet::c_NetHandle = NULL;
/* /*
** Initialize
**
** Initialize internet handle and crtical section. ** Initialize internet handle and crtical section.
** **
*/ */
@ -42,8 +40,6 @@ void CInternet::Initialize()
} }
/* /*
** Finalize
**
** Close handles and delete critical section. ** Close handles and delete critical section.
** **
*/ */
@ -53,8 +49,6 @@ void CInternet::Finalize()
} }
/* /*
** DownloadUrl
**
** Downloads given url and returns it as a string. ** Downloads given url and returns it as a string.
** **
*/ */
@ -151,8 +145,6 @@ std::wstring CInternet::DownloadUrl(const std::wstring& url, int codepage)
} }
/* /*
** EncodeUrl
**
** Encode reserved characters. ** Encode reserved characters.
** **
*/ */
@ -181,8 +173,6 @@ std::wstring CInternet::EncodeUrl(const std::wstring& url)
} }
/* /*
** DecodeReferences
**
** Decodes numeric references. ** Decodes numeric references.
** **
*/ */
@ -253,8 +243,6 @@ void CInternet::DecodeReferences(std::wstring& str)
} }
/* /*
** ConvertToWide
**
** Convert multibyte string to wide string. ** Convert multibyte string to wide string.
** **
*/ */

View File

@ -22,8 +22,6 @@
#include "Lyrics.h" #include "Lyrics.h"
/* /*
** GetFromInternet
**
** Download lyrics from various serivces. ** Download lyrics from various serivces.
** **
*/ */
@ -40,8 +38,6 @@ bool CLyrics::GetFromInternet(const std::wstring& artist, const std::wstring& ti
} }
/* /*
** GetFromWikia
**
** Download lyrics from LyricWiki. ** Download lyrics from LyricWiki.
** **
*/ */
@ -116,8 +112,6 @@ bool CLyrics::GetFromWikia(const std::wstring& artist, const std::wstring& title
} }
/* /*
** GetFromLYRDB
**
** Download lyrics from LYRDB. ** Download lyrics from LYRDB.
** **
*/ */
@ -160,8 +154,6 @@ bool CLyrics::GetFromLYRDB(const std::wstring& artist, const std::wstring& title
} }
/* /*
** GetFromLetras
**
** Download lyrics from Letras. ** Download lyrics from Letras.
** **
*/ */

View File

@ -20,8 +20,6 @@
#include "Player.h" #include "Player.h"
/* /*
** CPlayer
**
** Constructor. ** Constructor.
** **
*/ */
@ -48,8 +46,6 @@ CPlayer::CPlayer() :
} }
/* /*
** ~CPlayer
**
** Destructor. ** Destructor.
** **
*/ */
@ -64,8 +60,6 @@ CPlayer::~CPlayer()
} }
/* /*
** AddInstance
**
** Called during initialization of main measure. ** Called during initialization of main measure.
** **
*/ */
@ -75,8 +69,6 @@ void CPlayer::AddInstance()
} }
/* /*
** RemoveInstance
**
** Called during destruction of main measure. ** Called during destruction of main measure.
** **
*/ */
@ -91,8 +83,6 @@ void CPlayer::RemoveInstance()
} }
/* /*
** AddMeasure
**
** Called during initialization of any measure. ** Called during initialization of any measure.
** **
*/ */
@ -102,8 +92,6 @@ void CPlayer::AddMeasure(INT type)
} }
/* /*
** UpdateMeasure
**
** Called during update of main measure. ** Called during update of main measure.
** **
*/ */
@ -117,8 +105,6 @@ void CPlayer::UpdateMeasure()
} }
/* /*
** FindCover
**
** Default implementation for getting cover. ** Default implementation for getting cover.
** **
*/ */
@ -143,8 +129,6 @@ void CPlayer::FindCover()
} }
/* /*
** FindLyrics
**
** Default implementation for getting lyrics. ** Default implementation for getting lyrics.
** **
*/ */
@ -168,8 +152,6 @@ void CPlayer::FindLyrics()
} }
/* /*
** LyricsThreadProc
**
** Thread to download lyrics. ** Thread to download lyrics.
** **
*/ */
@ -207,8 +189,6 @@ unsigned __stdcall CPlayer::LyricsThreadProc(void* pParam)
} }
/* /*
** ClearData
**
** Clear track information. ** Clear track information.
** **
*/ */

View File

@ -24,8 +24,6 @@
CPlayer* CPlayerAIMP::c_Player = NULL; CPlayer* CPlayerAIMP::c_Player = NULL;
/* /*
** CPlayerAIMP
**
** Constructor. ** Constructor.
** **
*/ */
@ -41,8 +39,6 @@ CPlayerAIMP::CPlayerAIMP() : CPlayer(),
} }
/* /*
** ~CPlayerAIMP
**
** Destructor. ** Destructor.
** **
*/ */
@ -54,8 +50,6 @@ CPlayerAIMP::~CPlayerAIMP()
} }
/* /*
** Create
**
** Creates a shared class object. ** Creates a shared class object.
** **
*/ */
@ -70,8 +64,6 @@ CPlayer* CPlayerAIMP::Create()
} }
/* /*
** CheckWindow
**
** Try to find AIMP periodically. ** Try to find AIMP periodically.
** **
*/ */
@ -105,8 +97,6 @@ bool CPlayerAIMP::CheckWindow()
} }
/* /*
** UpdateData
**
** Called during each update of the main measure. ** Called during each update of the main measure.
** **
*/ */
@ -196,8 +186,6 @@ void CPlayerAIMP::UpdateData()
} }
/* /*
** Pause
**
** Handles the Pause bang. ** Handles the Pause bang.
** **
*/ */
@ -207,8 +195,6 @@ void CPlayerAIMP::Pause()
} }
/* /*
** Play
**
** Handles the Play bang. ** Handles the Play bang.
** **
*/ */
@ -218,8 +204,6 @@ void CPlayerAIMP::Play()
} }
/* /*
** Stop
**
** Handles the Stop bang. ** Handles the Stop bang.
** **
*/ */
@ -229,8 +213,6 @@ void CPlayerAIMP::Stop()
} }
/* /*
** Next
**
** Handles the Next bang. ** Handles the Next bang.
** **
*/ */
@ -240,8 +222,6 @@ void CPlayerAIMP::Next()
} }
/* /*
** Previous
**
** Handles the Previous bang. ** Handles the Previous bang.
** **
*/ */
@ -251,8 +231,6 @@ void CPlayerAIMP::Previous()
} }
/* /*
** SetPosition
**
** Handles the SetPosition bang. ** Handles the SetPosition bang.
** **
*/ */
@ -262,8 +240,6 @@ void CPlayerAIMP::SetPosition(int position)
} }
/* /*
** SetRating
**
** Handles the SetRating bang. ** Handles the SetRating bang.
** **
*/ */
@ -278,8 +254,6 @@ void CPlayerAIMP::SetRating(int rating)
} }
/* /*
** SetVolume
**
** Handles the SetVolume bang. ** Handles the SetVolume bang.
** **
*/ */
@ -289,8 +263,6 @@ void CPlayerAIMP::SetVolume(int volume)
} }
/* /*
** SetShuffle
**
** Handles the SetShuffle bang. ** Handles the SetShuffle bang.
** **
*/ */
@ -301,8 +273,6 @@ void CPlayerAIMP::SetShuffle(bool state)
} }
/* /*
** SetRepeat
**
** Handles the SetRepeat bang. ** Handles the SetRepeat bang.
** **
*/ */
@ -313,8 +283,6 @@ void CPlayerAIMP::SetRepeat(bool state)
} }
/* /*
** ClosePlayer
**
** Handles the ClosePlayer bang. ** Handles the ClosePlayer bang.
** **
*/ */
@ -324,8 +292,6 @@ void CPlayerAIMP::ClosePlayer()
} }
/* /*
** OpenPlayer
**
** Handles the OpenPlayer bang. ** Handles the OpenPlayer bang.
** **
*/ */

View File

@ -28,8 +28,6 @@ extern HINSTANCE g_Instance;
// MusicBee, VLC (with libcad plugin), and possibly others. // MusicBee, VLC (with libcad plugin), and possibly others.
/* /*
** CPlayerCAD
**
** Constructor. ** Constructor.
** **
*/ */
@ -42,8 +40,6 @@ CPlayerCAD::CPlayerCAD() : CPlayer(),
} }
/* /*
** ~CPlayerCAD
**
** Constructor. ** Constructor.
** **
*/ */
@ -54,8 +50,6 @@ CPlayerCAD::~CPlayerCAD()
} }
/* /*
** Create
**
** Creates a shared class object. ** Creates a shared class object.
** **
*/ */
@ -70,8 +64,6 @@ CPlayer* CPlayerCAD::Create()
} }
/* /*
** Initialize
**
** Create receiver window. ** Create receiver window.
** **
*/ */
@ -188,8 +180,6 @@ void CPlayerCAD::Initialize()
} }
/* /*
** Uninitialize
**
** Destroy reciever window. ** Destroy reciever window.
** **
*/ */
@ -200,8 +190,6 @@ void CPlayerCAD::Uninitialize()
} }
/* /*
** WndProc
**
** Window procedure for the reciever window. ** Window procedure for the reciever window.
** **
*/ */
@ -381,8 +369,6 @@ LRESULT CALLBACK CPlayerCAD::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
} }
/* /*
** UpdateData
**
** Called during each update of the main measure. ** Called during each update of the main measure.
** **
*/ */
@ -396,8 +382,6 @@ void CPlayerCAD::UpdateData()
} }
/* /*
** Pause
**
** Handles the Pause bang. ** Handles the Pause bang.
** **
*/ */
@ -407,8 +391,6 @@ void CPlayerCAD::Pause()
} }
/* /*
** Play
**
** Handles the Play bang. ** Handles the Play bang.
** **
*/ */
@ -418,8 +400,6 @@ void CPlayerCAD::Play()
} }
/* /*
** Stop
**
** Handles the Stop bang. ** Handles the Stop bang.
** **
*/ */
@ -429,8 +409,6 @@ void CPlayerCAD::Stop()
} }
/* /*
** Next
**
** Handles the Next bang. ** Handles the Next bang.
** **
*/ */
@ -440,8 +418,6 @@ void CPlayerCAD::Next()
} }
/* /*
** Previous
**
** Handles the Previous bang. ** Handles the Previous bang.
** **
*/ */
@ -451,8 +427,6 @@ void CPlayerCAD::Previous()
} }
/* /*
** SetPosition
**
** Handles the SetPosition bang. ** Handles the SetPosition bang.
** **
*/ */
@ -462,8 +436,6 @@ void CPlayerCAD::SetPosition(int position)
} }
/* /*
** SetRating
**
** Handles the SetVolume bang. ** Handles the SetVolume bang.
** **
*/ */
@ -475,8 +447,6 @@ void CPlayerCAD::SetRating(int rating)
} }
/* /*
** SetVolume
**
** Handles the SetVolume bang. ** Handles the SetVolume bang.
** **
*/ */
@ -486,8 +456,6 @@ void CPlayerCAD::SetVolume(int volume)
} }
/* /*
** SetShuffle
**
** Handles the SetShuffle bang. ** Handles the SetShuffle bang.
** **
*/ */
@ -498,8 +466,6 @@ void CPlayerCAD::SetShuffle(bool state)
} }
/* /*
** SetRepeat
**
** Handles the SetRepeat bang. ** Handles the SetRepeat bang.
** **
*/ */
@ -510,8 +476,6 @@ void CPlayerCAD::SetRepeat(bool state)
} }
/* /*
** ClosePlayer
**
** Handles the ClosePlayer bang. ** Handles the ClosePlayer bang.
** **
*/ */
@ -524,8 +488,6 @@ void CPlayerCAD::ClosePlayer()
} }
/* /*
** OpenPlayer
**
** Handles the OpenPlayer bang. ** Handles the OpenPlayer bang.
** **
*/ */

View File

@ -23,8 +23,6 @@ CPlayer* CPlayerFoobar::c_Player = NULL;
extern HINSTANCE g_Instance; extern HINSTANCE g_Instance;
/* /*
** CPlayerFoobar
**
** Constructor. ** Constructor.
** **
*/ */
@ -37,8 +35,6 @@ CPlayerFoobar::CPlayerFoobar() : CPlayer(),
} }
/* /*
** ~CPlayerFoobar
**
** Constructor. ** Constructor.
** **
*/ */
@ -49,8 +45,6 @@ CPlayerFoobar::~CPlayerFoobar()
} }
/* /*
** Create
**
** Creates a shared class object. ** Creates a shared class object.
** **
*/ */
@ -65,8 +59,6 @@ CPlayer* CPlayerFoobar::Create()
} }
/* /*
** Initialize
**
** Create receiver window. ** Create receiver window.
** **
*/ */
@ -111,8 +103,6 @@ void CPlayerFoobar::Initialize()
} }
/* /*
** Uninitialize
**
** Destroy reciever window. ** Destroy reciever window.
** **
*/ */
@ -128,8 +118,6 @@ void CPlayerFoobar::Uninitialize()
} }
/* /*
** WndProc
**
** Window procedure for the reciever window. ** Window procedure for the reciever window.
** **
*/ */
@ -303,8 +291,6 @@ LRESULT CALLBACK CPlayerFoobar::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR
} }
/* /*
** UpdateData
**
** Called during each update of the main measure. ** Called during each update of the main measure.
** **
*/ */
@ -313,8 +299,6 @@ void CPlayerFoobar::UpdateData()
} }
/* /*
** Pause
**
** Handles the Pause bang. ** Handles the Pause bang.
** **
*/ */
@ -324,8 +308,6 @@ void CPlayerFoobar::Pause()
} }
/* /*
** Play
**
** Handles the Play bang. ** Handles the Play bang.
** **
*/ */
@ -335,8 +317,6 @@ void CPlayerFoobar::Play()
} }
/* /*
** Stop
**
** Handles the Stop bang. ** Handles the Stop bang.
** **
*/ */
@ -346,8 +326,6 @@ void CPlayerFoobar::Stop()
} }
/* /*
** Next
**
** Handles the Next bang. ** Handles the Next bang.
** **
*/ */
@ -357,8 +335,6 @@ void CPlayerFoobar::Next()
} }
/* /*
** Previous
**
** Handles the Previous bang. ** Handles the Previous bang.
** **
*/ */
@ -368,8 +344,6 @@ void CPlayerFoobar::Previous()
} }
/* /*
** SetPosition
**
** Handles the SetPosition bang. ** Handles the SetPosition bang.
** **
*/ */
@ -379,8 +353,6 @@ void CPlayerFoobar::SetPosition(int position)
} }
/* /*
** SetShuffle
**
** Handles the SetShuffle bang. ** Handles the SetShuffle bang.
** **
*/ */
@ -392,8 +364,6 @@ void CPlayerFoobar::SetShuffle(bool state)
} }
/* /*
** SetRepeat
**
** Handles the SetRepeat bang. ** Handles the SetRepeat bang.
** **
*/ */
@ -405,8 +375,6 @@ void CPlayerFoobar::SetRepeat(bool state)
} }
/* /*
** SetVolume
**
** Handles the SetVolume bang. ** Handles the SetVolume bang.
** **
*/ */
@ -416,8 +384,6 @@ void CPlayerFoobar::SetVolume(int volume)
} }
/* /*
** ClosePlayer
**
** Handles the ClosePlayer bang. ** Handles the ClosePlayer bang.
** **
*/ */
@ -427,8 +393,6 @@ void CPlayerFoobar::ClosePlayer()
} }
/* /*
** OpenPlayer
**
** Handles the OpenPlayer bang. ** Handles the OpenPlayer bang.
** **
*/ */

View File

@ -23,8 +23,6 @@ CPlayer* CPlayerITunes::c_Player = NULL;
extern HINSTANCE g_Instance; extern HINSTANCE g_Instance;
/* /*
** CEventHandler
**
** Constructor. ** Constructor.
** **
*/ */
@ -42,8 +40,6 @@ CPlayerITunes::CEventHandler::CEventHandler(CPlayerITunes* player) :
} }
/* /*
** ~CEventHandler
**
** Destructor. ** Destructor.
** **
*/ */
@ -113,8 +109,6 @@ HRESULT STDMETHODCALLTYPE CPlayerITunes::CEventHandler::Invoke(DISPID dispidMemb
} }
/* /*
** CPlayerITunes
**
** Constructor. ** Constructor.
** **
*/ */
@ -147,8 +141,6 @@ CPlayerITunes::CPlayerITunes() : CPlayer(),
} }
/* /*
** ~CPlayerITunes
**
** Destructor. ** Destructor.
** **
*/ */
@ -163,8 +155,6 @@ CPlayerITunes::~CPlayerITunes()
} }
/* /*
** Create
**
** Creates a shared class object. ** Creates a shared class object.
** **
*/ */
@ -179,8 +169,6 @@ CPlayer* CPlayerITunes::Create()
} }
/* /*
** Initialize
**
** Initialize iTunes COM interface and event handler. ** Initialize iTunes COM interface and event handler.
** **
*/ */
@ -248,8 +236,6 @@ void CPlayerITunes::Initialize()
} }
/* /*
** Uninitialize
**
** Close iTunes COM interface. ** Close iTunes COM interface.
** **
*/ */
@ -266,8 +252,6 @@ void CPlayerITunes::Uninitialize()
} }
/* /*
** WndProc
**
** Window procedure for the callback window. ** Window procedure for the callback window.
** **
*/ */
@ -307,8 +291,6 @@ LRESULT CALLBACK CPlayerITunes::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR
} }
/* /*
** CheckWindow
**
** Try to find iTunes periodically. ** Try to find iTunes periodically.
** **
*/ */
@ -330,8 +312,6 @@ bool CPlayerITunes::CheckWindow()
} }
/* /*
** UpdateData
**
** Called during each update of the main measure. ** Called during each update of the main measure.
** **
*/ */
@ -346,8 +326,6 @@ void CPlayerITunes::UpdateData()
} }
/* /*
** OnDatabaseChange
**
** Called by iTunes event handler when the database is changed. ** Called by iTunes event handler when the database is changed.
** **
*/ */
@ -370,8 +348,6 @@ void CPlayerITunes::OnDatabaseChange()
} }
/* /*
** OnTrackChange
**
** Called by iTunes event handler on track change. ** Called by iTunes event handler on track change.
** **
*/ */
@ -478,8 +454,6 @@ void CPlayerITunes::OnTrackChange()
} }
/* /*
** OnStateChange
**
** Called by iTunes event handler on player state change. ** Called by iTunes event handler on player state change.
** **
*/ */
@ -497,8 +471,6 @@ void CPlayerITunes::OnStateChange(bool playing)
} }
/* /*
** OnVolumeChange
**
** Called by iTunes event handler on volume change. ** Called by iTunes event handler on volume change.
** **
*/ */
@ -508,8 +480,6 @@ void CPlayerITunes::OnVolumeChange(int volume)
} }
/* /*
** Pause
**
** Handles the Pause bang. ** Handles the Pause bang.
** **
*/ */
@ -519,8 +489,6 @@ void CPlayerITunes::Pause()
} }
/* /*
** Play
**
** Handles the Play bang. ** Handles the Play bang.
** **
*/ */
@ -530,8 +498,6 @@ void CPlayerITunes::Play()
} }
/* /*
** Stop
**
** Handles the Stop bang. ** Handles the Stop bang.
** **
*/ */
@ -541,8 +507,6 @@ void CPlayerITunes::Stop()
} }
/* /*
** Next
**
** Handles the Next bang. ** Handles the Next bang.
** **
*/ */
@ -552,8 +516,6 @@ void CPlayerITunes::Next()
} }
/* /*
** Previous
**
** Handles the Previous bang. ** Handles the Previous bang.
** **
*/ */
@ -563,8 +525,6 @@ void CPlayerITunes::Previous()
} }
/* /*
** SetPosition
**
** Handles the SetPosition bang. ** Handles the SetPosition bang.
** **
*/ */
@ -574,8 +534,6 @@ void CPlayerITunes::SetPosition(int position)
} }
/* /*
** SetRating
**
** Handles the SetRating bang. ** Handles the SetRating bang.
** **
*/ */
@ -592,8 +550,6 @@ void CPlayerITunes::SetRating(int rating)
} }
/* /*
** SetVolume
**
** Handles the SetVolume bang. ** Handles the SetVolume bang.
** **
*/ */
@ -603,8 +559,6 @@ void CPlayerITunes::SetVolume(int volume)
} }
/* /*
** SetShuffle
**
** Handles the SetShuffle bang. ** Handles the SetShuffle bang.
** **
*/ */
@ -630,8 +584,6 @@ void CPlayerITunes::SetShuffle(bool state)
} }
/* /*
** SetRepeat
**
** Handles the SetRepeat bang. ** Handles the SetRepeat bang.
** **
*/ */
@ -656,8 +608,6 @@ void CPlayerITunes::SetRepeat(bool state)
} }
/* /*
** ClosePlayer
**
** Handles the ClosePlayer bang. ** Handles the ClosePlayer bang.
** **
*/ */
@ -669,8 +619,6 @@ void CPlayerITunes::ClosePlayer()
} }
/* /*
** OpenPlayer
**
** Handles the OpenPlayer bang. ** Handles the OpenPlayer bang.
** **
*/ */

View File

@ -22,8 +22,6 @@
CPlayer* CPlayerSpotify::c_Player = NULL; CPlayer* CPlayerSpotify::c_Player = NULL;
/* /*
** CPlayerSpotify
**
** Constructor. ** Constructor.
** **
*/ */
@ -34,8 +32,6 @@ CPlayerSpotify::CPlayerSpotify() : CPlayer(),
} }
/* /*
** ~CPlayerSpotify
**
** Destructor. ** Destructor.
** **
*/ */
@ -45,8 +41,6 @@ CPlayerSpotify::~CPlayerSpotify()
} }
/* /*
** Create
**
** Creates a shared class object. ** Creates a shared class object.
** **
*/ */
@ -61,8 +55,6 @@ CPlayer* CPlayerSpotify::Create()
} }
/* /*
** CheckWindow
**
** Try to find Spotify periodically. ** Try to find Spotify periodically.
** **
*/ */
@ -86,8 +78,6 @@ bool CPlayerSpotify::CheckWindow()
} }
/* /*
** UpdateData
**
** Called during each update of the main measure. ** Called during each update of the main measure.
** **
*/ */
@ -136,8 +126,6 @@ void CPlayerSpotify::UpdateData()
} }
/* /*
** Play
**
** Handles the Play bang. ** Handles the Play bang.
** **
*/ */
@ -147,8 +135,6 @@ void CPlayerSpotify::Play()
} }
/* /*
** Stop
**
** Handles the Stop bang. ** Handles the Stop bang.
** **
*/ */
@ -158,8 +144,6 @@ void CPlayerSpotify::Stop()
} }
/* /*
** Next
**
** Handles the Next bang. ** Handles the Next bang.
** **
*/ */
@ -169,8 +153,6 @@ void CPlayerSpotify::Next()
} }
/* /*
** Previous
**
** Handles the Previous bang. ** Handles the Previous bang.
** **
*/ */
@ -181,8 +163,6 @@ void CPlayerSpotify::Previous()
/* /*
** ClosePlayer
**
** Handles the ClosePlayer bang. ** Handles the ClosePlayer bang.
** **
*/ */
@ -200,8 +180,6 @@ void CPlayerSpotify::ClosePlayer()
} }
/* /*
** OpenPlayer
**
** Handles the OpenPlayer bang. ** Handles the OpenPlayer bang.
** **
*/ */

View File

@ -26,8 +26,6 @@ extern HINSTANCE g_Instance;
// supported by OpenPandora, Last.fm, Media Player Classic, TTPlayer, Zune, etc. // supported by OpenPandora, Last.fm, Media Player Classic, TTPlayer, Zune, etc.
/* /*
** CPlayerWLM
**
** Constructor. ** Constructor.
** **
*/ */
@ -58,8 +56,6 @@ CPlayerWLM::CPlayerWLM() : CPlayer(),
} }
/* /*
** ~CPlayerWLM
**
** Destructor. ** Destructor.
** **
*/ */
@ -71,8 +67,6 @@ CPlayerWLM::~CPlayerWLM()
} }
/* /*
** Create
**
** Creates a shared class object. ** Creates a shared class object.
** **
*/ */
@ -169,8 +163,6 @@ void CPlayerWLM::SendKeyInput(WORD key)
} }
/* /*
** UpdateData
**
** Called during each update of the main measure. ** Called during each update of the main measure.
** **
*/ */
@ -179,8 +171,6 @@ void CPlayerWLM::UpdateData()
} }
/* /*
** Play
**
** Handles the Play bang. ** Handles the Play bang.
** **
*/ */
@ -190,8 +180,6 @@ void CPlayerWLM::Play()
} }
/* /*
** Stop
**
** Handles the Stop bang. ** Handles the Stop bang.
** **
*/ */
@ -201,8 +189,6 @@ void CPlayerWLM::Stop()
} }
/* /*
** Next
**
** Handles the Next bang. ** Handles the Next bang.
** **
*/ */
@ -212,8 +198,6 @@ void CPlayerWLM::Next()
} }
/* /*
** Previous
**
** Handles the Previous bang. ** Handles the Previous bang.
** **
*/ */

View File

@ -23,8 +23,6 @@ CPlayer* CPlayerWMP::c_Player = NULL;
extern HINSTANCE g_Instance; extern HINSTANCE g_Instance;
/* /*
** CRemoteHost
**
** Constructor. ** Constructor.
** **
*/ */
@ -34,8 +32,6 @@ CPlayerWMP::CRemoteHost::CRemoteHost() :
} }
/* /*
** ~CRemoteHost
**
** Destructor. ** Destructor.
** **
*/ */
@ -90,8 +86,6 @@ HRESULT CPlayerWMP::CRemoteHost::GetCustomUIMode(BSTR* pbstrFile)
} }
/* /*
** CurrentItemChange
**
** Called when playing track changes. ** Called when playing track changes.
** **
*/ */
@ -101,8 +95,6 @@ void CPlayerWMP::CRemoteHost::CurrentItemChange(IDispatch* pdispMedia)
} }
/* /*
** PlayStateChange
**
** Called when play state changes. ** Called when play state changes.
** **
*/ */
@ -133,8 +125,6 @@ void CPlayerWMP::CRemoteHost::PlayStateChange(long NewState)
} }
/* /*
** SwitchedToControl
**
** Called when WMP quits. ** Called when WMP quits.
** **
*/ */
@ -145,8 +135,6 @@ void CPlayerWMP::CRemoteHost::SwitchedToControl()
} }
/* /*
** CPlayerWMP
**
** Constructor. ** Constructor.
** **
*/ */
@ -165,8 +153,6 @@ CPlayerWMP::CPlayerWMP() : CPlayer(),
} }
/* /*
** ~CPlayerWMP
**
** Destructor. ** Destructor.
** **
*/ */
@ -178,8 +164,6 @@ CPlayerWMP::~CPlayerWMP()
} }
/* /*
** Create
**
** Creates a shared class object. ** Creates a shared class object.
** **
*/ */
@ -194,8 +178,6 @@ CPlayer* CPlayerWMP::Create()
} }
/* /*
** Initialize
**
** Set up the COM interface with WMP. ** Set up the COM interface with WMP.
** **
*/ */
@ -345,8 +327,6 @@ void CPlayerWMP::Initialize()
} }
/* /*
** Uninitialize
**
** Close the interface with WMP. ** Close the interface with WMP.
** **
*/ */
@ -366,8 +346,6 @@ void CPlayerWMP::Uninitialize()
} }
/* /*
** UpdateData
**
** Called during each update of the main measure. ** Called during each update of the main measure.
** **
*/ */
@ -489,8 +467,6 @@ void CPlayerWMP::UpdateData()
} }
/* /*
** Pause
**
** Handles the Pause bang. ** Handles the Pause bang.
** **
*/ */
@ -500,8 +476,6 @@ void CPlayerWMP::Pause()
} }
/* /*
** Play
**
** Handles the Play bang. ** Handles the Play bang.
** **
*/ */
@ -511,8 +485,6 @@ void CPlayerWMP::Play()
} }
/* /*
** Stop
**
** Handles the Stop bang. ** Handles the Stop bang.
** **
*/ */
@ -524,8 +496,6 @@ void CPlayerWMP::Stop()
} }
/* /*
** Next
**
** Handles the Next bang. ** Handles the Next bang.
** **
*/ */
@ -535,8 +505,6 @@ void CPlayerWMP::Next()
} }
/* /*
** Previous
**
** Handles the Previous bang. ** Handles the Previous bang.
** **
*/ */
@ -546,8 +514,6 @@ void CPlayerWMP::Previous()
} }
/* /*
** SetPosition
**
** Handles the SetPosition bang. ** Handles the SetPosition bang.
** **
*/ */
@ -557,8 +523,6 @@ void CPlayerWMP::SetPosition(int position)
} }
/* /*
** SetRating
**
** Handles the SetRating bang. ** Handles the SetRating bang.
** **
*/ */
@ -606,8 +570,6 @@ void CPlayerWMP::SetRating(int rating)
} }
/* /*
** SetVolume
**
** Handles the SetVolume bang. ** Handles the SetVolume bang.
** **
*/ */
@ -617,8 +579,6 @@ void CPlayerWMP::SetVolume(int volume)
} }
/* /*
** ClosePlayer
**
** Handles the ClosePlayer bang. ** Handles the ClosePlayer bang.
** **
*/ */
@ -633,8 +593,6 @@ void CPlayerWMP::ClosePlayer()
} }
/* /*
** OpenPlayer
**
** Handles the OpenPlayer bang. ** Handles the OpenPlayer bang.
** **
*/ */

View File

@ -27,8 +27,6 @@ CPlayer* CPlayerWinamp::c_Player = NULL;
// This player retrieves data through the Winamp IPC interface. // This player retrieves data through the Winamp IPC interface.
/* /*
** CPlayerWinamp
**
** Constructor. ** Constructor.
** **
*/ */
@ -44,8 +42,6 @@ CPlayerWinamp::CPlayerWinamp(WINAMPTYPE type) : CPlayer(),
} }
/* /*
** ~CPlayerWinamp
**
** Destructor. ** Destructor.
** **
*/ */
@ -56,8 +52,6 @@ CPlayerWinamp::~CPlayerWinamp()
} }
/* /*
** Create
**
** Creates a shared class object. ** Creates a shared class object.
** **
*/ */
@ -72,8 +66,6 @@ CPlayer* CPlayerWinamp::Create(WINAMPTYPE type)
} }
/* /*
** CheckWindow
**
** Try to find Winamp periodically. ** Try to find Winamp periodically.
** **
*/ */
@ -106,8 +98,6 @@ bool CPlayerWinamp::CheckWindow()
} }
/* /*
** UpdateData
**
** Called during each update of the main measure. ** Called during each update of the main measure.
** **
*/ */
@ -319,8 +309,6 @@ void CPlayerWinamp::UpdateData()
} }
/* /*
** Pause
**
** Handles the Pause bang. ** Handles the Pause bang.
** **
*/ */
@ -330,8 +318,6 @@ void CPlayerWinamp::Pause()
} }
/* /*
** Play
**
** Handles the Play bang. ** Handles the Play bang.
** **
*/ */
@ -341,8 +327,6 @@ void CPlayerWinamp::Play()
} }
/* /*
** Stop
**
** Handles the Stop bang. ** Handles the Stop bang.
** **
*/ */
@ -352,8 +336,6 @@ void CPlayerWinamp::Stop()
} }
/* /*
** Next
**
** Handles the Next bang. ** Handles the Next bang.
** **
*/ */
@ -363,8 +345,6 @@ void CPlayerWinamp::Next()
} }
/* /*
** Previous
**
** Handles the Previous bang. ** Handles the Previous bang.
** **
*/ */
@ -374,8 +354,6 @@ void CPlayerWinamp::Previous()
} }
/* /*
** SetPosition
**
** Handles the SetPosition bang. ** Handles the SetPosition bang.
** **
*/ */
@ -386,8 +364,6 @@ void CPlayerWinamp::SetPosition(int position)
} }
/* /*
** SetRating
**
** Handles the SetRating bang. ** Handles the SetRating bang.
** **
*/ */
@ -407,8 +383,6 @@ void CPlayerWinamp::SetRating(int rating)
} }
/* /*
** SetVolume
**
** Handles the SetVolume bang. ** Handles the SetVolume bang.
** **
*/ */
@ -420,8 +394,6 @@ void CPlayerWinamp::SetVolume(int volume)
} }
/* /*
** SetShuffle
**
** Handles the SetShuffle bang. ** Handles the SetShuffle bang.
** **
*/ */
@ -435,8 +407,6 @@ void CPlayerWinamp::SetShuffle(bool state)
} }
/* /*
** SetRepeat
**
** Handles the SetRepeat bang. ** Handles the SetRepeat bang.
** **
*/ */
@ -450,8 +420,6 @@ void CPlayerWinamp::SetRepeat(bool state)
} }
/* /*
** ClosePlayer
**
** Handles the ClosePlayer bang. ** Handles the ClosePlayer bang.
** **
*/ */
@ -472,8 +440,6 @@ void CPlayerWinamp::ClosePlayer()
} }
/* /*
** OpenPlayer
**
** Handles the OpenPlayer bang. ** Handles the OpenPlayer bang.
** **
*/ */