mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Common (Windows): allows COM be used in C sources
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
extern "C" {
|
||||
#include "camera.h"
|
||||
#include "common/library.h"
|
||||
#include "common/windows/com.h"
|
||||
}
|
||||
#include "common/windows/com.hpp"
|
||||
#include "common/windows/unicode.hpp"
|
||||
#include "common/windows/util.hpp"
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ extern "C" {
|
||||
#include "media.h"
|
||||
#include "common/time.h"
|
||||
#include "common/windows/unicode.h"
|
||||
#include "common/windows/com.h"
|
||||
}
|
||||
|
||||
#if FF_HAVE_WINRT
|
||||
@@ -15,8 +16,6 @@ extern "C" {
|
||||
#include <winrt/Windows.Media.Control.h>
|
||||
#include <winrt/Windows.Storage.Streams.h>
|
||||
|
||||
#include "common/windows/com.hpp"
|
||||
|
||||
#define FF_BIND_FRONT(method, pobject) std::bind_front(&std::remove_cvref_t<decltype(*(pobject))>::method, (pobject))
|
||||
|
||||
using winrt::impl::abi_t;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
extern "C" {
|
||||
#include "sound.h"
|
||||
#include "common/windows/com.h"
|
||||
}
|
||||
#include "common/windows/unicode.hpp"
|
||||
#include "common/windows/com.hpp"
|
||||
#include "common/windows/variant.hpp"
|
||||
|
||||
#include <initguid.h>
|
||||
|
||||
Reference in New Issue
Block a user