aseprite/src/app/commands/command_factory.h
2016-08-29 13:08:21 -03:00

27 lines
552 B
C++

// Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifndef APP_COMMANDS_COMMAND_FACTORY_H_INCLUDED
#define APP_COMMANDS_COMMAND_FACTORY_H_INCLUDED
#pragma once
namespace app {
class Command;
class CommandFactory {
public:
#undef FOR_EACH_COMMAND
#define FOR_EACH_COMMAND(Name) \
static Command* create##Name##Command();
#include "app/commands/commands_list.h"
#undef FOR_EACH_COMMAND
};
} // namespace app
#endif