mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Work on trimming native rainmeter library. Incomplete (won't build!!!)
This commit is contained in:
@ -20,13 +20,10 @@
|
||||
#include "../Common/PathUtil.h"
|
||||
#include "CommandHandler.h"
|
||||
#include "ConfigParser.h"
|
||||
#include "DialogAbout.h"
|
||||
#include "DialogManage.h"
|
||||
#include "Measure.h"
|
||||
#include "Logger.h"
|
||||
#include "Rainmeter.h"
|
||||
#include "System.h"
|
||||
#include "TrayWindow.h"
|
||||
#include "resource.h"
|
||||
|
||||
namespace {
|
||||
@ -708,26 +705,12 @@ void CommandHandler::DoSetWallpaperBang(std::vector<std::wstring>& args, MeterWi
|
||||
|
||||
void CommandHandler::DoAboutBang(std::vector<std::wstring>& args, MeterWindow* meterWindow)
|
||||
{
|
||||
DialogAbout::Open(args.empty() ? L"" : args[0].c_str());
|
||||
LogErrorF(L"!About: about bang is unsupported.");
|
||||
}
|
||||
|
||||
void CommandHandler::DoManageBang(std::vector<std::wstring>& args, MeterWindow* meterWindow)
|
||||
{
|
||||
const size_t argsSize = args.size();
|
||||
if (argsSize >= 2 && argsSize <= 3)
|
||||
{
|
||||
DialogManage::Open(args[0].c_str(),
|
||||
args[1].c_str(),
|
||||
(argsSize == 3) ? args[2].c_str() : L"");
|
||||
}
|
||||
else if (argsSize <= 1)
|
||||
{
|
||||
DialogManage::Open(args.empty() ? L"" : args[0].c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
LogErrorF(meterWindow, L"!Manage: Invalid parameters");
|
||||
}
|
||||
LogErrorF(L"!Manage: manage bang is unsupported.");
|
||||
}
|
||||
|
||||
void CommandHandler::DoSkinMenuBang(std::vector<std::wstring>& args, MeterWindow* skin)
|
||||
|
Reference in New Issue
Block a user