18 lines
586 B
C++
18 lines
586 B
C++
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// NoesisGUI - http://www.noesisengine.com
|
|
// Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved.
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
namespace Noesis
|
|
{
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
template<class T> const T* CommandData::RegisterCommand(const Ptr<T>& command)
|
|
{
|
|
InsertCommand((RoutedCommand*)command);
|
|
return command;
|
|
}
|
|
|
|
}
|