summaryrefslogtreecommitdiff
path: root/shared/Taskbar_Seven/taskbar.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
commitc0cdb2ad99a1e2a6ade5ce76c91177a79258e669 (patch)
tree4701a015385d9a6a5a4ba99a8f1f5d400fff26b1 /shared/Taskbar_Seven/taskbar.h
parent3.13 (diff)
downloadFreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.gz
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.bz2
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.zip
3.14
Diffstat (limited to 'shared/Taskbar_Seven/taskbar.h')
-rw-r--r--shared/Taskbar_Seven/taskbar.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/shared/Taskbar_Seven/taskbar.h b/shared/Taskbar_Seven/taskbar.h
index 295cdbcd..7b6efbb5 100644
--- a/shared/Taskbar_Seven/taskbar.h
+++ b/shared/Taskbar_Seven/taskbar.h
@@ -16,6 +16,10 @@
namespace tbseven
{
+/*--------------
+ |declarations|
+ --------------*/
+
enum TaskBarStatus
{
STATUS_NOPROGRESS,
@@ -42,13 +46,17 @@ bool setProgress(void* hwnd, //HWND: window assciated to the taskbar icon
DLL_FUNCTION_DECLARATION
void getLastError(wchar_t* errorMessage, size_t errorBufferLen);
-
-//function typedefs
+/*----------
+ |typedefs|
+ ----------*/
typedef bool (*SetStatusFct)(void* hwnd, TaskBarStatus status);
typedef bool (*SetProgressFct)(void* hwnd, size_t current, size_t total);
typedef void (*GetLastErrorFct)(wchar_t* errorMessage, size_t errorBufferLen);
-//function names (use const pointers to ensure internal linkage)
+/*--------------
+ |symbol names|
+ --------------*/
+//(use const pointers to ensure internal linkage)
const char* const setStatusFctName = "setStatus";
const char* const setProgressFctName = "setProgress";
const char* const getLastErrorFctName = "getLastError";
bgstack15