-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.cpp
More file actions
28 lines (22 loc) · 685 Bytes
/
com.cpp
File metadata and controls
28 lines (22 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "stdafx.h"
namespace local {
Com::Com() {
Init();
}
Com::~Com() {
UnInit();
}
void Com::Init() {
}
void Com::UnInit() {
}
bool Com::CreateLnk(const std::string& szPath, const std::string& szLink, const std::string& szIcoPath /*= ""*/, const std::string& szArgument /*= ""*/) const {
return shared::Win::CreateShortcut(szPath, szLink, szIcoPath, szArgument);
}
bool Com::CreateLnkUrl(
const std::string& BindLnkUrl,
const std::string& BindLnkPathname, /*xxx.lnk*/
const std::string& BindLnkIcoPathname/*xxx.ico | xxx.png*/) const {
return shared::Win::CreateShortcutUrl(BindLnkUrl, BindLnkPathname, BindLnkIcoPathname);
}
}///namespace lcoal