mirror of
https://github.com/lltcggie/waifu2x-caffe.git
synced 2025-06-26 13:42:48 +00:00
11 lines
611 B
C++
11 lines
611 B
C++
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <functional>
|
|
|
|
|
|
#define SetClassFunc(FuncObject, ObjectPointer) std::bind(&FuncObject, ObjectPointer, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4)
|
|
#define SetClassCustomFunc(FuncObject, ObjectPointer) std::bind(&FuncObject, ObjectPointer, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, std::placeholders::_5)
|
|
typedef std::function<void (HWND, WPARAM, LPARAM, LPVOID)> EventFunc;
|
|
typedef std::function<LRESULT (HWND, WPARAM, LPARAM, WNDPROC, LPVOID)> CustomEventFunc;
|