mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlaying: Split TagLibUnity.cpp into several files to help optimizer
This commit is contained in:
parent
6bcbd1f0d7
commit
c833f604c5
@ -162,10 +162,13 @@
|
||||
<ClInclude Include="taglib\asf\asftag.h" />
|
||||
<ClInclude Include="taglib\asf\asfattribute.h" />
|
||||
<ClInclude Include="taglib\asf\asfpicture.h" />
|
||||
<ClCompile Include="taglib\mpeg\id3v2\id3v2tag.cpp">
|
||||
<DisableSpecificWarnings>4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<ClCompile Include="taglib\toolkit\tfile.cpp" />
|
||||
<ClCompile Include="TagLibUnity_ape.cpp" />
|
||||
<ClCompile Include="TagLibUnity_asf.cpp" />
|
||||
<ClCompile Include="TagLibUnity_flac.cpp" />
|
||||
<ClCompile Include="TagLibUnity_mpeg.cpp" />
|
||||
<ClCompile Include="TagLibUnity_mpeg_id3v2.cpp" />
|
||||
<ClCompile Include="TagLibUnity_ogg.cpp" />
|
||||
<ClCompile Include="TagLibUnity_toolkit.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="PluginNowPlaying.rc" />
|
||||
|
@ -69,14 +69,29 @@
|
||||
<ClCompile Include="Internet.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="taglib\mpeg\id3v2\id3v2tag.cpp">
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="taglib\toolkit\tfile.cpp">
|
||||
<ClCompile Include="TagLibUnity_toolkit.cpp">
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TagLibUnity.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TagLibUnity_ape.cpp">
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TagLibUnity_asf.cpp">
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TagLibUnity_flac.cpp">
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TagLibUnity_mpeg.cpp">
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TagLibUnity_mpeg_id3v2.cpp">
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TagLibUnity_ogg.cpp">
|
||||
<Filter>taglib</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -16,15 +16,11 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
// TagLib unity build: This file includes most TagLib source files. By compiling all of them
|
||||
// TagLib unity build: This file includes several TagLib source files. By compiling all of them
|
||||
// together, the build performance is greatly increased.
|
||||
|
||||
// The following includes have been commented out and are compiled separately due to e.g.
|
||||
// mismatching symbols.
|
||||
/*
|
||||
#include "taglib\mpeg\id3v2\id3v2tag.cpp"
|
||||
#include "taglib\toolkit\tfile.cpp"
|
||||
*/
|
||||
// The files have been separated into several TagLibUnity_*.cpp files in order help the optimizer.
|
||||
// Including everything here increases the binary size.
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4244; disable: 4267)
|
||||
@ -32,68 +28,12 @@
|
||||
#include "taglib\fileref.cpp"
|
||||
#include "taglib\tag.cpp"
|
||||
#include "taglib\tagunion.cpp"
|
||||
|
||||
#include "taglib\flac\flacproperties.cpp"
|
||||
#include "taglib\mpc\mpcproperties.cpp"
|
||||
#include "taglib\mpeg\id3v1\id3v1tag.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2footer.cpp"
|
||||
#include "taglib\ogg\flac\oggflacfile.cpp"
|
||||
|
||||
#include "taglib\ape\apefile.cpp"
|
||||
#include "taglib\ape\apefooter.cpp"
|
||||
#include "taglib\ape\apeitem.cpp"
|
||||
#include "taglib\ape\apeproperties.cpp"
|
||||
#include "taglib\ape\apetag.cpp"
|
||||
#include "taglib\asf\asfattribute.cpp"
|
||||
#include "taglib\asf\asffile.cpp"
|
||||
#include "taglib\asf\asfpicture.cpp"
|
||||
#include "taglib\asf\asfproperties.cpp"
|
||||
#include "taglib\asf\asftag.cpp"
|
||||
#include "taglib\audioproperties.cpp"
|
||||
#include "taglib\flac\flacfile.cpp"
|
||||
#include "taglib\flac\flacmetadatablock.cpp"
|
||||
#include "taglib\flac\flacpicture.cpp"
|
||||
#include "taglib\flac\flacunknownmetadatablock.cpp"
|
||||
|
||||
#include "taglib\mpc\mpcfile.cpp"
|
||||
#include "taglib\mpeg\id3v1\id3v1genres.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\attachedpictureframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\commentsframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\generalencapsulatedobjectframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\ownershipframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\popularimeterframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\privateframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\relativevolumeframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\textidentificationframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\uniquefileidentifierframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\unknownframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\unsynchronizedlyricsframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\urllinkframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2extendedheader.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2frame.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2framefactory.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2header.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2synchdata.cpp"
|
||||
#include "taglib\mpeg\mpegfile.cpp"
|
||||
#include "taglib\mpeg\mpegheader.cpp"
|
||||
#include "taglib\mpeg\mpegproperties.cpp"
|
||||
#include "taglib\mpeg\xingheader.cpp"
|
||||
#include "taglib\ogg\oggfile.cpp"
|
||||
#include "taglib\ogg\oggpage.cpp"
|
||||
#include "taglib\ogg\oggpageheader.cpp"
|
||||
#include "taglib\ogg\vorbis\vorbisfile.cpp"
|
||||
#include "taglib\ogg\vorbis\vorbisproperties.cpp"
|
||||
#include "taglib\ogg\xiphcomment.cpp"
|
||||
#include "taglib\toolkit\tbytevector.cpp"
|
||||
#include "taglib\toolkit\tbytevectorlist.cpp"
|
||||
#include "taglib\toolkit\tbytevectorstream.cpp"
|
||||
#include "taglib\toolkit\tdebug.cpp"
|
||||
#include "taglib\toolkit\tdebuglistener.cpp"
|
||||
#include "taglib\toolkit\tfilestream.cpp"
|
||||
#include "taglib\toolkit\tiostream.cpp"
|
||||
#include "taglib\toolkit\tpropertymap.cpp"
|
||||
#include "taglib\toolkit\trefcounter.cpp"
|
||||
#include "taglib\toolkit\tstring.cpp"
|
||||
#include "taglib\toolkit\tstringlist.cpp"
|
||||
#include "taglib\toolkit\unicode.cpp"
|
||||
#include "taglib\mpc\mpcproperties.cpp"
|
||||
|
||||
// Included here due to mismatch with toolkit\tfilestream.cpp.
|
||||
#include "taglib\toolkit\tfile.cpp"
|
||||
|
||||
#pragma warning(pop)
|
||||
|
31
Plugins/PluginNowPlaying/TagLibUnity_ape.cpp
Normal file
31
Plugins/PluginNowPlaying/TagLibUnity_ape.cpp
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
Copyright (C) 2014 Birunthan Mohanathas
|
||||
|
||||
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
// TagLib unity build: This file includes several TagLib source files. By compiling all of them
|
||||
// together, the build performance is greatly increased.
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4244; disable: 4267)
|
||||
|
||||
#include "taglib\ape\apefile.cpp"
|
||||
#include "taglib\ape\apefooter.cpp"
|
||||
#include "taglib\ape\apeitem.cpp"
|
||||
#include "taglib\ape\apeproperties.cpp"
|
||||
#include "taglib\ape\apetag.cpp"
|
||||
|
||||
#pragma warning(pop)
|
31
Plugins/PluginNowPlaying/TagLibUnity_asf.cpp
Normal file
31
Plugins/PluginNowPlaying/TagLibUnity_asf.cpp
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
Copyright (C) 2014 Birunthan Mohanathas
|
||||
|
||||
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
// TagLib unity build: This file includes several TagLib source files. By compiling all of them
|
||||
// together, the build performance is greatly increased.
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4244; disable: 4267)
|
||||
|
||||
#include "taglib\asf\asfattribute.cpp"
|
||||
#include "taglib\asf\asffile.cpp"
|
||||
#include "taglib\asf\asfpicture.cpp"
|
||||
#include "taglib\asf\asfproperties.cpp"
|
||||
#include "taglib\asf\asftag.cpp"
|
||||
|
||||
#pragma warning(pop)
|
31
Plugins/PluginNowPlaying/TagLibUnity_flac.cpp
Normal file
31
Plugins/PluginNowPlaying/TagLibUnity_flac.cpp
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
Copyright (C) 2014 Birunthan Mohanathas
|
||||
|
||||
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
// TagLib unity build: This file includes several TagLib source files. By compiling all of them
|
||||
// together, the build performance is greatly increased.
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4244; disable: 4267)
|
||||
|
||||
#include "taglib\flac\flacfile.cpp"
|
||||
#include "taglib\flac\flacmetadatablock.cpp"
|
||||
#include "taglib\flac\flacpicture.cpp"
|
||||
#include "taglib\flac\flacunknownmetadatablock.cpp"
|
||||
#include "taglib\flac\flacproperties.cpp"
|
||||
|
||||
#pragma warning(pop)
|
33
Plugins/PluginNowPlaying/TagLibUnity_mpeg.cpp
Normal file
33
Plugins/PluginNowPlaying/TagLibUnity_mpeg.cpp
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
Copyright (C) 2014 Birunthan Mohanathas
|
||||
|
||||
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
// TagLib unity build: This file includes several TagLib source files. By compiling all of them
|
||||
// together, the build performance is greatly increased.
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4244; disable: 4267)
|
||||
|
||||
#include "taglib\mpeg\mpegfile.cpp"
|
||||
#include "taglib\mpeg\mpegheader.cpp"
|
||||
#include "taglib\mpeg\mpegproperties.cpp"
|
||||
#include "taglib\mpeg\xingheader.cpp"
|
||||
|
||||
#include "taglib\mpeg\id3v1\id3v1genres.cpp"
|
||||
#include "taglib\mpeg\id3v1\id3v1tag.cpp"
|
||||
|
||||
#pragma warning(pop)
|
45
Plugins/PluginNowPlaying/TagLibUnity_mpeg_id3v2.cpp
Normal file
45
Plugins/PluginNowPlaying/TagLibUnity_mpeg_id3v2.cpp
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
Copyright (C) 2014 Birunthan Mohanathas
|
||||
|
||||
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
// TagLib unity build: This file includes several TagLib source files. By compiling all of them
|
||||
// together, the build performance is greatly increased.
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4244; disable: 4267)
|
||||
|
||||
#include "taglib\mpeg\id3v2\frames\attachedpictureframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\commentsframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\generalencapsulatedobjectframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\ownershipframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\popularimeterframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\privateframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\relativevolumeframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\textidentificationframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\uniquefileidentifierframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\unknownframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\unsynchronizedlyricsframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\frames\urllinkframe.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2extendedheader.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2footer.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2frame.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2framefactory.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2header.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2synchdata.cpp"
|
||||
#include "taglib\mpeg\id3v2\id3v2tag.cpp"
|
||||
|
||||
#pragma warning(pop)
|
33
Plugins/PluginNowPlaying/TagLibUnity_ogg.cpp
Normal file
33
Plugins/PluginNowPlaying/TagLibUnity_ogg.cpp
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
Copyright (C) 2014 Birunthan Mohanathas
|
||||
|
||||
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
// TagLib unity build: This file includes several TagLib source files. By compiling all of them
|
||||
// together, the build performance is greatly increased.
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4244; disable: 4267)
|
||||
|
||||
#include "taglib\ogg\flac\oggflacfile.cpp"
|
||||
#include "taglib\ogg\oggfile.cpp"
|
||||
#include "taglib\ogg\oggpage.cpp"
|
||||
#include "taglib\ogg\oggpageheader.cpp"
|
||||
#include "taglib\ogg\vorbis\vorbisfile.cpp"
|
||||
#include "taglib\ogg\vorbis\vorbisproperties.cpp"
|
||||
#include "taglib\ogg\xiphcomment.cpp"
|
||||
|
||||
#pragma warning(pop)
|
45
Plugins/PluginNowPlaying/TagLibUnity_toolkit.cpp
Normal file
45
Plugins/PluginNowPlaying/TagLibUnity_toolkit.cpp
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
Copyright (C) 2014 Birunthan Mohanathas
|
||||
|
||||
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
// TagLib unity build: This file includes most TagLib source files. By compiling all of them
|
||||
// together, the build performance is greatly increased.
|
||||
|
||||
// The following includes have been commented out and are compiled separately due to e.g.
|
||||
// mismatching symbols.
|
||||
/*
|
||||
#include "taglib\mpeg\id3v2\id3v2tag.cpp"
|
||||
#include "taglib\toolkit\tfile.cpp"
|
||||
*/
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4244; disable: 4267)
|
||||
|
||||
#include "taglib\toolkit\tbytevector.cpp"
|
||||
#include "taglib\toolkit\tbytevectorlist.cpp"
|
||||
#include "taglib\toolkit\tbytevectorstream.cpp"
|
||||
#include "taglib\toolkit\tdebug.cpp"
|
||||
#include "taglib\toolkit\tdebuglistener.cpp"
|
||||
#include "taglib\toolkit\tfilestream.cpp"
|
||||
#include "taglib\toolkit\tiostream.cpp"
|
||||
#include "taglib\toolkit\tpropertymap.cpp"
|
||||
#include "taglib\toolkit\trefcounter.cpp"
|
||||
#include "taglib\toolkit\tstring.cpp"
|
||||
#include "taglib\toolkit\tstringlist.cpp"
|
||||
#include "taglib\toolkit\unicode.cpp"
|
||||
|
||||
#pragma warning(pop)
|
Loading…
Reference in New Issue
Block a user