replace Glib::filename_to_utf8 with custom fname_to_utf8

(cherry picked from commit 30b4daf9077e3c6780cefbf6c4223da4698b8612)
This commit is contained in:
Alberto Griggio
2022-07-06 07:04:24 -07:00
committed by Lawrence Lee
parent eb7c151260
commit 7324ea7230
4 changed files with 27 additions and 41 deletions

View File

@@ -1,4 +1,5 @@
/*
/* -*- C++ -*-
*
* This file is part of RawTherapee.
*
* Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
@@ -18,7 +19,9 @@
*/
#pragma once
#include <glibmm/ustring.h>
#include <string>
// Removed from guiutils because used by rawtherapee-cli
Glib::ustring removeExtension (const Glib::ustring& filename);
Glib::ustring getExtension (const Glib::ustring& filename);
Glib::ustring fname_to_utf8(const std::string& fname);