зеркало из https://github.com/microsoft/cppwinrt.git
36 строки
795 B
C++
36 строки
795 B
C++
#pragma once
|
|
|
|
#include "Base.g.h"
|
|
|
|
namespace winrt::Composable::implementation
|
|
{
|
|
struct Base : BaseT<Base>
|
|
{
|
|
Base() = default;
|
|
explicit Base(const hstring& name)
|
|
: m_name(name)
|
|
{}
|
|
|
|
virtual hstring VirtualMethod();
|
|
hstring CallOverridableMethod();
|
|
hstring CallOverridableVirtualMethod();
|
|
int32_t CallOverridableNoexceptMethod() noexcept;
|
|
hstring OverridableMethod() ;
|
|
virtual hstring OverridableVirtualMethod();
|
|
int32_t OverridableNoexceptMethod() noexcept;
|
|
int32_t ProtectedMethod();
|
|
|
|
hstring Name() const;
|
|
|
|
private:
|
|
hstring m_name;
|
|
};
|
|
}
|
|
|
|
namespace winrt::Composable::factory_implementation
|
|
{
|
|
struct Base : BaseT<Base, implementation::Base>
|
|
{
|
|
};
|
|
}
|