xmake.repo/packages/n/noesis/latest/Include/NsGui/CommandBinding.inl
2024-12-22 19:15:02 +08:00

19 lines
923 B
C++

////////////////////////////////////////////////////////////////////////////////////////////////////
// NoesisGUI - http://www.noesisengine.com
// Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved.
////////////////////////////////////////////////////////////////////////////////////////////////////
namespace Noesis
{
////////////////////////////////////////////////////////////////////////////////////////////////////
inline CanExecuteRoutedEventArgs::CanExecuteRoutedEventArgs(BaseComponent* s, const RoutedEvent* e,
const ICommand* c, BaseComponent* p): RoutedEventArgs(s, e), command(c), parameter(p) {}
////////////////////////////////////////////////////////////////////////////////////////////////////
inline ExecutedRoutedEventArgs::ExecutedRoutedEventArgs(BaseComponent* s, const RoutedEvent* e,
const ICommand* c, BaseComponent* p): RoutedEventArgs(s, e), command(c), parameter(p) {}
}