mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 13:32:27 +00:00
27 lines
552 B
C++
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
|