summaryrefslogtreecommitdiffstats
path: root/src/UIFile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/UIFile.hpp')
-rw-r--r--src/UIFile.hpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/UIFile.hpp b/src/UIFile.hpp
index 343b1a6..72dd48a 100644
--- a/src/UIFile.hpp
+++ b/src/UIFile.hpp
@@ -20,7 +20,7 @@
#include "patchage_config.h"
#ifdef PATCHAGE_BINLOC
-# include "binary_location.h"
+# include "binary_location.h"
#endif
#include <gtkmm/builder.h>
@@ -30,16 +30,19 @@
#include <sstream>
#include <string>
-class UIFile {
+class UIFile
+{
public:
- inline static bool is_readable(const std::string& filename) {
+ inline static bool is_readable(const std::string& filename)
+ {
std::ifstream fs(filename.c_str());
- const bool fail = fs.fail();
+ const bool fail = fs.fail();
fs.close();
return !fail;
}
- static Glib::RefPtr<Gtk::Builder> open(const std::string& base_name) {
+ static Glib::RefPtr<Gtk::Builder> open(const std::string& base_name)
+ {
std::string ui_filename;
#ifdef PATCHAGE_BINLOC
const std::string bundle = bundle_location();