<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Change SYSTEM "https://itk.org/migrationv4/ITKMigration.dtd">

<!--**
**
** SymbolMacroHeader.xml
**
** Please, make sure this file validates the following w3c test before committing it: http://validator.w3.org
**-->
<Change>
    <!--**
    ** Title for the online migration page
    **-->
    <Title>
      Symbol Macro Header Location
    </Title>

    <!--**
    ** The author of the change
    **-->
    <Author>
      Matthew McCormick
    </Author>

    <!--**
    ** Date of creation for the XML document
    **-->
    <Date>
      2011-10-12
    </Date>

    <!--**
    ** Plain text description of the change
    ** Extracted from git commit messages
    **-->
    <Description>
      The definition for shared library symbol export macros was
      previously only definied in itkWin32Header.h for DLL creation. However, support was
      added to GCC visibility, so the macro definition was moved to itkMacro.h.
    </Description>

    <!--**
    ** Sample code snippets
    ** Extracted from git diff of changed files in Examples and Testing
    **-->
    <SampleCode>
      <Old>
        <![CDATA[
        #include "itkWin32Header.h"

        class Gene
        {
        ]]>
      </Old>

      <New>
        <![CDATA[
        #include "itkMacro.h"

        class Gene
        ]]>
      </New>

    </SampleCode>

    <!--**
    ** The change-ids for all commits in the topic branch
    **-->
    <Gerrit-ChangeId>
      Id189a5a13d519a1399e5ff4ba5fe68d4afad3146
    </Gerrit-ChangeId>

    <!--**
    ** List of all changed files from the topic branch
    **-->
    <FileList>
      Modules/Core/Common/include/itkMacro.h
      Modules/Core/Common/include/itkWin32Header.h
    </FileList>

    <!--**-->
    <!--** If the migration can be accomplished by a simple string-->
    <!--** substitution, then use the following construct to define-->
    <!--** the substitution rule.-->
    <!--**-->
     <MigrationFix-Automatic>
       <Old>
         <![CDATA[#include "itkWin32Header.h"]]>
       </Old>
       <New>
         <![CDATA[#include "itkMacro.h"]]>
       </New>
     </MigrationFix-Automatic>


    <!--**
    ** If the migration can NOT be accomplished by a simple string
    ** substitution, but potential problem spots can be identified,
    ** use the following construct to define a migration flag rule.
    **
    ** <MigrationFix-Manual>
    **   OldFunctionName
    ** </MigrationFix-Manual>
    **-->

</Change>
