forked from TheSaw/win7shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtools.h
33 lines (29 loc) · 810 Bytes
/
tools.h
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
29
30
31
32
33
#ifndef tools_h__
#define tools_h__
#include <windows.h>
#include <windowsx.h>
#include <shlobj.h>
#include <string>
#include <sstream>
#include <fstream>
#include <propvarutil.h>
#include <propkey.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "sdk/winamp/wa_ipc.h"
namespace tools
{
// Namespace variables
const int NR_THUMB_BUTTONS = 19,
NR_OVERLAY_ICONS = 3;
// Functions declarations
std::wstring getBookmarks(void);
HRESULT CreateShellLink(LPCWSTR filename, LPCWSTR pszTitle, IShellLink **ppsl);
HIMAGELIST prepareOverlayIcons(void);
HIMAGELIST prepareIcons(void);
std::wstring SecToTime(const int sec);
LPCWSTR getToolTip(const WPARAM button, const int mode = -1);
const int getBitmapCount(void);
const int getBitmap(const int button, const int mode);
}
#endif // tools_h__