Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / modules / lyr_freetype / main.cpp
index 1165924..469beb8 100644 (file)
@@ -1,18 +1,23 @@
-/*! ========================================================================
-** Sinfg
-** bleh
-** $Id: main.cpp,v 1.1.1.1 2005/01/04 01:23:09 darco Exp $
+/* === S Y N F I G ========================================================= */
+/*!    \file lyr_freetype/main.cpp
+**     \brief Template Header
 **
-** Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**     $Id$
 **
-** This software and associated documentation
-** are CONFIDENTIAL and PROPRIETARY property of
-** the above-mentioned copyright holder.
+**     \legal
+**     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007 Chris Moore
 **
-** You may not copy, print, publish, or in any
-** other way distribute this software without
-** a prior written agreement with
-** the copyright holder.
+**     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.
+**     \endlegal
 **
 ** === N O T E S ===========================================================
 **
@@ -20,7 +25,7 @@
 
 /* === H E A D E R S ======================================================= */
 
-#define SINFG_MODULE
+#define SYNFIG_MODULE
 
 #ifdef USING_PCH
 #      include "pch.h"
@@ -30,7 +35,7 @@
 #endif
 
 #include <string.h>
-#include <sinfg/module.h>
+#include <synfig/module.h>
 #include "lyr_freetype.h"
 #include <iostream>
 #include <ETL/stringf>
 
 using namespace etl;
 using namespace std;
-using namespace sinfg;
+using namespace synfig;
 
 FT_Library  ft_library;
 
 /* === E N T R Y P O I N T ================================================= */
 
-bool freetype_constructor(sinfg::ProgressCallback *cb)
+bool freetype_constructor(synfig::ProgressCallback *cb)
 {
        int error;
        if(cb)cb->task("Initializing FreeType...");
        if ( (error = FT_Init_FreeType( &ft_library )) )
        {
-               if(cb)cb->error(strprintf("lyr_freetype: FreeType initialization failed. (err=%d)",error));
+               if(cb)cb->error(strprintf("Layer_Freetype: FreeType initialization failed. (err=%d)",error));
                return false;
        }
        return true;
@@ -72,7 +77,7 @@ MODULE_DESC_BEGIN(liblyr_freetype)
        MODULE_DESCRIPTION("Provides a font rendering layer via FreeType")
        MODULE_AUTHOR("Robert B. Quattlebaum")
        MODULE_VERSION("1.0")
-       MODULE_COPYRIGHT(SINFG_COPYRIGHT)
+       MODULE_COPYRIGHT(SYNFIG_COPYRIGHT)
 
        MODULE_CONSTRUCTOR(freetype_constructor)
        MODULE_DESTRUCTOR(freetype_destructor)
@@ -80,7 +85,7 @@ MODULE_DESC_END
 
 MODULE_INVENTORY_BEGIN(liblyr_freetype)
        BEGIN_LAYERS
-               LAYER(lyr_freetype)
-               LAYER_ALIAS(lyr_freetype,"Text")
+               LAYER(Layer_Freetype)
+               LAYER_ALIAS(Layer_Freetype,"Text")
        END_LAYERS
 MODULE_INVENTORY_END