summaryrefslogtreecommitdiffhomepage
path: root/windows/nsis-plugins/src/log/log.h
blob: 1e2c0e40f39a7b36ca40fceb66806b6deabe95ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <string>
#include <vector>

//
// Import-only header
//
// Note on interfaces: While it's safer to use plain types for arguments, this is OK
// since the plugins are all built at the same time, and have the same interpretation of used types.
//

void __declspec(dllimport) __stdcall PluginLog
(
	const std::wstring &message
);

void __declspec(dllimport) __stdcall PluginLogWithDetails
(
	const std::wstring &message,
	const std::vector<std::wstring> &details
);