Skip to content

Commit

Permalink
Dropped feature list, introduced protocol version, ...
Browse files Browse the repository at this point in the history
Resolve #988

* Dropped feature list
* Introduced protocol version
* Bumped version to 2.11.0
  • Loading branch information
TrickyLeifa committed Jul 5, 2024
1 parent a1e13f6 commit 6321050
Show file tree
Hide file tree
Showing 7 changed files with 219 additions and 489 deletions.
5 changes: 5 additions & 0 deletions src/aoapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ QString AOApplication::get_version_string()
return QString::number(RELEASE) + "." + QString::number(MAJOR_VERSION) + "." + QString::number(MINOR_VERSION);
}

QString AOApplication::get_protocol_version_string()
{
return QString::number(PROTOCOL_MAJOR_VERSION) + "." + QString::number(PROTOCOL_MINOR_VERSION) + "." + QString::number(PROTOCOL_PATCH_VERSION);
}

QString AOApplication::find_image(QStringList p_list)
{
QString image_path;
Expand Down
10 changes: 8 additions & 2 deletions src/aoapplication.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,14 @@ class AOApplication : public QApplication
static QString get_version_string();

static const int RELEASE = 2;
static const int MAJOR_VERSION = 10;
static const int MINOR_VERSION = 1;
static const int MAJOR_VERSION = 11;
static const int MINOR_VERSION = 0;

static QString get_protocol_version_string();

static const int PROTOCOL_MAJOR_VERSION = 1;
static const int PROTOCOL_MINOR_VERSION = 0;
static const int PROTOCOL_PATCH_VERSION = 0;

void set_server_list(QVector<ServerInfo> &servers) { server_list = servers; }
QVector<ServerInfo> &get_server_list() { return server_list; }
Expand Down
Loading

0 comments on commit 6321050

Please sign in to comment.