[easytag/wip/application-window] Move tagging code to new subdirectory



commit 4d20caae58c85528e65269643e069f74bacd82ca
Author: David King <amigadave amigadave com>
Date:   Sat Aug 9 19:11:24 2014 +0100

    Move tagging code to new subdirectory
    
    Rearranging the tagging code will make it easier to split the code off
    to be a separate library.

 .gitignore                          |    1 +
 Makefile.am                         |   68 ++++++++++++++++++-----------------
 po/POTFILES.in                      |   32 ++++++++--------
 src/{ => tags}/ape_tag.c            |    0
 src/{ => tags}/ape_tag.h            |    0
 src/{ => tags}/flac_header.c        |    0
 src/{ => tags}/flac_header.h        |    0
 src/{ => tags}/flac_tag.c           |    0
 src/{ => tags}/flac_tag.h           |    0
 src/{ => tags}/id3_tag.c            |    0
 src/{ => tags}/id3_tag.h            |    0
 src/{ => tags}/id3v24_tag.c         |    0
 src/{ => tags}/monkeyaudio_header.c |    0
 src/{ => tags}/monkeyaudio_header.h |    0
 src/{ => tags}/mp4_header.cc        |    0
 src/{ => tags}/mp4_header.h         |    0
 src/{ => tags}/mp4_tag.cc           |    0
 src/{ => tags}/mp4_tag.h            |    0
 src/{ => tags}/mpeg_header.c        |    0
 src/{ => tags}/mpeg_header.h        |    0
 src/{ => tags}/musepack_header.c    |    0
 src/{ => tags}/musepack_header.h    |    0
 src/{ => tags}/ogg_header.c         |    0
 src/{ => tags}/ogg_header.h         |    0
 src/{ => tags}/ogg_tag.c            |    0
 src/{ => tags}/ogg_tag.h            |    0
 src/{ => tags}/opus_header.c        |    0
 src/{ => tags}/opus_header.h        |    0
 src/{ => tags}/opus_tag.c           |    0
 src/{ => tags}/opus_tag.h           |    0
 src/{ => tags}/vcedit.c             |    0
 src/{ => tags}/vcedit.h             |    0
 src/{ => tags}/wavpack_header.c     |    0
 src/{ => tags}/wavpack_header.h     |    0
 src/{ => tags}/wavpack_tag.c        |    0
 src/{ => tags}/wavpack_tag.h        |    0
 36 files changed, 52 insertions(+), 49 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f6c5441..0879d45 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,6 +47,7 @@ configure
 /src/.deps/
 /src/id3lib/.deps/
 /src/libapetag/.deps/
+/src/tags/.deps/
 /src/win32/.deps/
 /src/win32/easytag.rc
 /src/enums.c
diff --git a/Makefile.am b/Makefile.am
index 4569b62..ed6a4ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,8 @@ bin_PROGRAMS = easytag
 localedir = $(prefix)/$(DATADIRNAME)/locale
 easytag_CPPFLAGS = \
        -I$(top_srcdir) \
+       -I$(top_srcdir)/src \
+       -I$(top_srcdir)/src/tags \
        -I$(top_builddir) \
        -I$(top_builddir)/src \
        $(DEPRECATED_CPPFLAGS) \
@@ -41,7 +43,6 @@ easytag_SOURCES = \
        src/libapetag/info_mac.c \
        src/libapetag/info_mpc.c \
        src/about.c \
-       src/ape_tag.c \
        src/application.c \
        src/application_window.c \
        src/bar.c \
@@ -55,24 +56,12 @@ easytag_SOURCES = \
        src/enums.c \
        src/et_core.c \
        src/file_area.c \
-       src/flac_header.c \
-       src/flac_tag.c \
        src/gio_wrapper.cc \
        src/gtk2_compat.c \
-       src/id3_tag.c \
-       src/id3v24_tag.c \
        src/load_files_dialog.c \
        src/log.c \
        src/main.c \
        src/misc.c \
-       src/monkeyaudio_header.c \
-       src/mpeg_header.c \
-       src/mp4_tag.cc \
-       src/musepack_header.c \
-       src/ogg_header.c \
-       src/ogg_tag.c \
-       src/opus_header.c \
-       src/opus_tag.c \
        src/picture.c \
        src/playlist_dialog.c \
        src/preferences_dialog.c \
@@ -81,9 +70,22 @@ easytag_SOURCES = \
        src/search_dialog.c \
        src/setting.c \
        src/tag_area.c \
-       src/vcedit.c \
-       src/wavpack_header.c \
-       src/wavpack_tag.c \
+       src/tags/ape_tag.c \
+       src/tags/flac_header.c \
+       src/tags/flac_tag.c \
+       src/tags/id3_tag.c \
+       src/tags/id3v24_tag.c \
+       src/tags/monkeyaudio_header.c \
+       src/tags/mpeg_header.c \
+       src/tags/mp4_tag.cc \
+       src/tags/musepack_header.c \
+       src/tags/ogg_header.c \
+       src/tags/ogg_tag.c \
+       src/tags/opus_header.c \
+       src/tags/opus_tag.c \
+       src/tags/vcedit.c \
+       src/tags/wavpack_header.c \
+       src/tags/wavpack_tag.c \
        src/win32/win32dep.c
 
 nodist_easytag_SOURCES = \
@@ -96,7 +98,6 @@ easytag_headers = \
        src/libapetag/info_mac.h \
        src/libapetag/info_mpc.h \
        src/about.h \
-       src/ape_tag.h \
        src/application.h \
        src/application_window.h \
        src/bar.h \
@@ -107,24 +108,12 @@ easytag_headers = \
        src/easytag.h \
        src/et_core.h \
        src/file_area.h \
-       src/flac_header.h \
-       src/flac_tag.h \
        src/genres.h \
        src/gio_wrapper.h \
        src/gtk2_compat.h \
-       src/id3_tag.h \
        src/load_files_dialog.h \
        src/log.h \
        src/misc.h \
-       src/monkeyaudio_header.h \
-       src/mpeg_header.h \
-       src/mp4_header.h \
-       src/mp4_tag.h \
-       src/musepack_header.h \
-       src/ogg_header.h \
-       src/ogg_tag.h \
-       src/opus_header.h \
-       src/opus_tag.h \
        src/picture.h \
        src/playlist_dialog.h \
        src/preferences_dialog.h \
@@ -133,9 +122,22 @@ easytag_headers = \
        src/search_dialog.h \
        src/setting.h \
        src/tag_area.h \
-       src/vcedit.h \
-       src/wavpack_header.h \
-       src/wavpack_tag.h \
+       src/tags/ape_tag.h \
+       src/tags/flac_header.h \
+       src/tags/flac_tag.h \
+       src/tags/id3_tag.h \
+       src/tags/monkeyaudio_header.h \
+       src/tags/mpeg_header.h \
+       src/tags/mp4_header.h \
+       src/tags/mp4_tag.h \
+       src/tags/musepack_header.h \
+       src/tags/ogg_header.h \
+       src/tags/ogg_tag.h \
+       src/tags/opus_header.h \
+       src/tags/opus_tag.h \
+       src/tags/vcedit.h \
+       src/tags/wavpack_header.h \
+       src/tags/wavpack_tag.h \
        src/win32/win32dep.h
 
 nodist_easytag_headers = \
@@ -348,7 +350,7 @@ dist_noinst_DATA = \
        src/libapetag/README.apetag \
        src/libapetag/id3v2_read.c \
        src/libapetag/id3v2_read.h \
-       src/mp4_header.cc \
+       src/tags/mp4_header.cc \
        src/win32/resource.h \
        data/icons/win32/easytag.ico \
        data/nsis/easytag-header.bmp \
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e6c697b..1c727bc 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,7 +5,6 @@ data/easytag.desktop.in
 data/org.gnome.EasyTAG.gschema.xml
 nautilus-extension/nautilus-easytag.c
 src/about.c
-src/ape_tag.c
 src/application.c
 src/application_window.c
 src/bar.c
@@ -15,21 +14,9 @@ src/charset.c
 src/easytag.c
 src/et_core.c
 src/file_area.c
-src/flac_header.c
-src/flac_tag.c
-src/id3_tag.c
-src/id3v24_tag.c
 src/load_files_dialog.c
 src/log.c
 src/misc.c
-src/monkeyaudio_header.c
-src/mp4_header.cc
-src/mp4_tag.cc
-src/mpeg_header.c
-src/musepack_header.c
-src/ogg_header.c
-src/ogg_tag.c
-src/opus_header.c
 src/picture.c
 src/playlist_dialog.c
 src/preferences_dialog.c
@@ -37,7 +24,20 @@ src/scan_dialog.c
 src/search_dialog.c
 src/setting.c
 src/tag_area.c
-src/vcedit.c
-src/wavpack_header.c
-src/wavpack_tag.c
+src/tags/ape_tag.c
+src/tags/flac_header.c
+src/tags/flac_tag.c
+src/tags/id3_tag.c
+src/tags/id3v24_tag.c
+src/tags/monkeyaudio_header.c
+src/tags/mp4_header.cc
+src/tags/mp4_tag.cc
+src/tags/mpeg_header.c
+src/tags/musepack_header.c
+src/tags/ogg_header.c
+src/tags/ogg_tag.c
+src/tags/opus_header.c
+src/tags/vcedit.c
+src/tags/wavpack_header.c
+src/tags/wavpack_tag.c
 src/win32/win32dep.c
diff --git a/src/ape_tag.c b/src/tags/ape_tag.c
similarity index 100%
rename from src/ape_tag.c
rename to src/tags/ape_tag.c
diff --git a/src/ape_tag.h b/src/tags/ape_tag.h
similarity index 100%
rename from src/ape_tag.h
rename to src/tags/ape_tag.h
diff --git a/src/flac_header.c b/src/tags/flac_header.c
similarity index 100%
rename from src/flac_header.c
rename to src/tags/flac_header.c
diff --git a/src/flac_header.h b/src/tags/flac_header.h
similarity index 100%
rename from src/flac_header.h
rename to src/tags/flac_header.h
diff --git a/src/flac_tag.c b/src/tags/flac_tag.c
similarity index 100%
rename from src/flac_tag.c
rename to src/tags/flac_tag.c
diff --git a/src/flac_tag.h b/src/tags/flac_tag.h
similarity index 100%
rename from src/flac_tag.h
rename to src/tags/flac_tag.h
diff --git a/src/id3_tag.c b/src/tags/id3_tag.c
similarity index 100%
rename from src/id3_tag.c
rename to src/tags/id3_tag.c
diff --git a/src/id3_tag.h b/src/tags/id3_tag.h
similarity index 100%
rename from src/id3_tag.h
rename to src/tags/id3_tag.h
diff --git a/src/id3v24_tag.c b/src/tags/id3v24_tag.c
similarity index 100%
rename from src/id3v24_tag.c
rename to src/tags/id3v24_tag.c
diff --git a/src/monkeyaudio_header.c b/src/tags/monkeyaudio_header.c
similarity index 100%
rename from src/monkeyaudio_header.c
rename to src/tags/monkeyaudio_header.c
diff --git a/src/monkeyaudio_header.h b/src/tags/monkeyaudio_header.h
similarity index 100%
rename from src/monkeyaudio_header.h
rename to src/tags/monkeyaudio_header.h
diff --git a/src/mp4_header.cc b/src/tags/mp4_header.cc
similarity index 100%
rename from src/mp4_header.cc
rename to src/tags/mp4_header.cc
diff --git a/src/mp4_header.h b/src/tags/mp4_header.h
similarity index 100%
rename from src/mp4_header.h
rename to src/tags/mp4_header.h
diff --git a/src/mp4_tag.cc b/src/tags/mp4_tag.cc
similarity index 100%
rename from src/mp4_tag.cc
rename to src/tags/mp4_tag.cc
diff --git a/src/mp4_tag.h b/src/tags/mp4_tag.h
similarity index 100%
rename from src/mp4_tag.h
rename to src/tags/mp4_tag.h
diff --git a/src/mpeg_header.c b/src/tags/mpeg_header.c
similarity index 100%
rename from src/mpeg_header.c
rename to src/tags/mpeg_header.c
diff --git a/src/mpeg_header.h b/src/tags/mpeg_header.h
similarity index 100%
rename from src/mpeg_header.h
rename to src/tags/mpeg_header.h
diff --git a/src/musepack_header.c b/src/tags/musepack_header.c
similarity index 100%
rename from src/musepack_header.c
rename to src/tags/musepack_header.c
diff --git a/src/musepack_header.h b/src/tags/musepack_header.h
similarity index 100%
rename from src/musepack_header.h
rename to src/tags/musepack_header.h
diff --git a/src/ogg_header.c b/src/tags/ogg_header.c
similarity index 100%
rename from src/ogg_header.c
rename to src/tags/ogg_header.c
diff --git a/src/ogg_header.h b/src/tags/ogg_header.h
similarity index 100%
rename from src/ogg_header.h
rename to src/tags/ogg_header.h
diff --git a/src/ogg_tag.c b/src/tags/ogg_tag.c
similarity index 100%
rename from src/ogg_tag.c
rename to src/tags/ogg_tag.c
diff --git a/src/ogg_tag.h b/src/tags/ogg_tag.h
similarity index 100%
rename from src/ogg_tag.h
rename to src/tags/ogg_tag.h
diff --git a/src/opus_header.c b/src/tags/opus_header.c
similarity index 100%
rename from src/opus_header.c
rename to src/tags/opus_header.c
diff --git a/src/opus_header.h b/src/tags/opus_header.h
similarity index 100%
rename from src/opus_header.h
rename to src/tags/opus_header.h
diff --git a/src/opus_tag.c b/src/tags/opus_tag.c
similarity index 100%
rename from src/opus_tag.c
rename to src/tags/opus_tag.c
diff --git a/src/opus_tag.h b/src/tags/opus_tag.h
similarity index 100%
rename from src/opus_tag.h
rename to src/tags/opus_tag.h
diff --git a/src/vcedit.c b/src/tags/vcedit.c
similarity index 100%
rename from src/vcedit.c
rename to src/tags/vcedit.c
diff --git a/src/vcedit.h b/src/tags/vcedit.h
similarity index 100%
rename from src/vcedit.h
rename to src/tags/vcedit.h
diff --git a/src/wavpack_header.c b/src/tags/wavpack_header.c
similarity index 100%
rename from src/wavpack_header.c
rename to src/tags/wavpack_header.c
diff --git a/src/wavpack_header.h b/src/tags/wavpack_header.h
similarity index 100%
rename from src/wavpack_header.h
rename to src/tags/wavpack_header.h
diff --git a/src/wavpack_tag.c b/src/tags/wavpack_tag.c
similarity index 100%
rename from src/wavpack_tag.c
rename to src/tags/wavpack_tag.c
diff --git a/src/wavpack_tag.h b/src/tags/wavpack_tag.h
similarity index 100%
rename from src/wavpack_tag.h
rename to src/tags/wavpack_tag.h


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]