#include "frame_rate_change.h"
#include "exceptions.h"
#include "safe_stringstream.h"
+#include "image_filename_sorter.h"
#include <libcxml/cxml.h>
#include <libxml++/libxml++.h>
#include <boost/foreach.hpp>
#include "i18n.h"
-#include "image_filename_sorter.cc"
-
using std::string;
using std::cout;
using boost::shared_ptr;
/*
- Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2015-2016 Carl Hetherington <cth@carlh.net>
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
*/
-#include <iostream>
+#include "raw_convert.h"
#include <boost/filesystem.hpp>
-#include <boost/optional.hpp>
#include <boost/foreach.hpp>
-#include "raw_convert.h"
+#include <iostream>
class ImageFilenameSorter
{
--- /dev/null
+/*
+ Copyright (C) 2015-2016 Carl Hetherington <cth@carlh.net>
+
+ 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#include <boost/filesystem.hpp>
+
+class ImageFilenameSorter
+{
+public:
+ bool operator() (boost::filesystem::path a, boost::filesystem::path b);
+
+private:
+ std::list<int> extract_numbers (boost::filesystem::path p);
+};
*/
+#include "lib/image_filename_sorter.h"
#include <boost/test/unit_test.hpp>
-#include "lib/image_filename_sorter.cc"
-
BOOST_AUTO_TEST_CASE (image_filename_sorter_test)
{
ImageFilenameSorter x;