OSDN Git Service

バイナリビューアを実装、他ビューアも自分描画に変更
[gefu/Gefu.git] / global.h
index 6cf176a..416cb41 100644 (file)
--- a/global.h
+++ b/global.h
@@ -11,7 +11,8 @@
 typedef QMap<QString, QString> StringMap;
 
 extern void appendActionShortcut(QAction *action, const QString &ks);
-extern QString FileSizeToString(qint64 size);
+extern std::string detectCode(const QByteArray &bytes);
+extern QString fileSizeToString(qint64 size);
 extern void reconnectAction(QAction *sender, const char *signal, QObject *reciever, const char *slot);
 
 #endif // GLOBAL_H