Move open_archive() to separate module
authorArkadiy Illarionov <qarkai@gmail.com>
Sat, 2 Mar 2024 11:52:30 +0000 (14:52 +0300)
committerColin Clark <colin.clark@cclark.uk>
Sat, 2 Mar 2024 16:55:00 +0000 (16:55 +0000)
commitd27792e1ee93f2f92747f45f007d668f66487045
tree07d0b91772075f2df6bbc60382368b1de70bc988
parente21d810266f098c5bab78309b831f014c8ceeab3
Move open_archive() to separate module

Also make parameter const and move static functions to anonymous namespace.
src/archives.cc [new file with mode: 0644]
src/archives.h [new file with mode: 0644]
src/img-view.cc
src/layout-image.cc
src/layout-util.cc
src/meson.build
src/misc.cc
src/misc.h
src/pan-view/pan-view.cc
src/preferences.cc
src/view-file/view-file.cc