Release synfig_0_61_03
[synfig.git] / synfig-core / tags / synfig_0_61_03 / synfig-core / src / modules / example / main.cpp
diff --git a/synfig-core/tags/synfig_0_61_03/synfig-core/src/modules/example/main.cpp b/synfig-core/tags/synfig_0_61_03/synfig-core/src/modules/example/main.cpp
new file mode 100644 (file)
index 0000000..96f9ef7
--- /dev/null
@@ -0,0 +1,58 @@
+/*! ========================================================================
+** Synfig
+** Template File
+** $Id: main.cpp,v 1.1.1.1 2005/01/04 01:23:09 darco Exp $
+**
+**     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**
+**     This package 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 package 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.
+**
+** === N O T E S ===========================================================
+**
+** ========================================================================= */
+
+/* === H E A D E R S ======================================================= */
+
+#define SYNFIG_MODULE
+
+#ifdef USING_PCH
+#      include "pch.h"
+#else
+#ifdef HAVE_CONFIG_H
+#      include <config.h>
+#endif
+
+#include <synfig/module.h>
+#include <synfig/canvas.h>
+#include <synfig/string.h>
+#include "simplecircle.h"
+#include "filledrect.h"
+#include "metaballs.h"
+
+#endif
+
+/* === E N T R Y P O I N T ================================================= */
+
+MODULE_DESC_BEGIN(example)
+       MODULE_NAME("Example Module")
+       MODULE_DESCRIPTION("A dummy module that serves as a starting point for writing other modules.")
+       MODULE_AUTHOR("Robert B. Quattlebaum")
+       MODULE_VERSION("1.0")
+       MODULE_COPYRIGHT(SYNFIG_COPYRIGHT)
+MODULE_DESC_END
+
+MODULE_INVENTORY_BEGIN(example)
+       BEGIN_LAYERS
+               //LAYER(SimpleCircle)
+               //LAYER(FilledRect)
+               //LAYER(Metaballs)
+       END_LAYERS
+MODULE_INVENTORY_END