Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Factory.h « src - github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 178620b0d4f002eaef024632e1d51dd6edc6e41f (plain)
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
#pragma once

#include <dshow.h>
#include <guiddef.h>

#include "Interfaces.h"

namespace SaneAudioRenderer
{
    class Factory final
    {
    public:

        Factory() = delete;

        static HRESULT CreateSettings(ISettings** ppOut);
        static HRESULT CreateSettingsAggregated(IUnknown* pOwner, IUnknown** ppOut);

        static HRESULT CreateFilter(ISettings* pSettings, IBaseFilter** ppOut);
        static HRESULT CreateFilterAggregated(IUnknown* pOwner, const GUID& guid,
                                              ISettings* pSettings, IUnknown** ppOut);

        static const GUID& GetFilterGuid();
    };
}