-
Notifications
You must be signed in to change notification settings - Fork 5
/
global.h
37 lines (29 loc) · 831 Bytes
/
global.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* This application is free software and is released under the terms of
* the BSD license. See LICENSE file for details.
*
* Copyright (c) 2010 Volker Poplawski ([email protected])
*/
#ifndef GLOBAL_H
#define GLOBAL_H
#include <QtCore>
#include "logger.h"
class QMainWindow;
class QLabel;
class QColor;
class AsterixModel;
class Uap;
extern QMainWindow* g_mainWindow;
extern QString g_specsDirectory;
extern QString g_openFileName;
extern const uchar* g_file;
extern qint64 g_fileSize;
extern QLabel* g_blockCountLabel;
extern AsterixModel* g_asterixModel;
extern Uap* g_uap;
extern QColor g_highlightColor;
extern Logger* g_logger;
void logInfo(const QString& msg);
void logWarn(const QString& msg);
void logError(const QString& msg);
#endif // GLOBAL_H