]> granicus.if.org Git - icinga2/commitdiff
Add missing file
authorGunnar Beutner <gunnar@beutner.name>
Mon, 20 Oct 2014 19:16:06 +0000 (21:16 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 20 Oct 2014 19:16:06 +0000 (21:16 +0200)
refs #7370

lib/cli/i2-cli.hpp [new file with mode: 0644]

diff --git a/lib/cli/i2-cli.hpp b/lib/cli/i2-cli.hpp
new file mode 100644 (file)
index 0000000..2295dea
--- /dev/null
@@ -0,0 +1,37 @@
+/******************************************************************************
+ * Icinga 2                                                                   *
+ * Copyright (C) 2012-2014 Icinga Development Team (http://www.icinga.org)    *
+ *                                                                            *
+ * This program is free software; you can redistribute it and/or              *
+ * modify it under the terms of the GNU General Public License                *
+ * as published by the Free Software Foundation; either version 2             *
+ * of the License, or (at your option) any later version.                     *
+ *                                                                            *
+ * This program is distributed in the hope that it will be useful,            *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
+ * GNU General Public License for more details.                               *
+ *                                                                            *
+ * You should have received a copy of the GNU General Public License          *
+ * along with this program; if not, write to the Free Software Foundation     *
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
+ ******************************************************************************/
+
+#ifndef I2CLI_H
+#define I2CLI_H
+
+/**
+ * @defgroup cli CLI commands
+ *
+ * The CLI library implements Icinga's command-line interface.
+ */
+
+#include "base/i2-base.hpp"
+
+#ifdef I2_CLI_BUILD
+#      define I2_CLI_API I2_EXPORT
+#else /* I2_REMOTE_BUILD */
+#      define I2_CLI_API I2_IMPORT
+#endif /* I2_REMOTE_BUILD */
+
+#endif /* I2CLI_H */