Commit Graph

33 Commits

Author SHA1 Message Date
Mathew Sutcliffe
aef7135e28 refs #316 Removed old statusMessage signals and sendStatusMessage slots. 2014-10-04 22:16:56 +01:00
Roland Winklmeier
6f661339a4 refs #53 Remove all old CMake files 2014-08-01 12:12:06 +02:00
Mathew Sutcliffe
8dccc8d792 refs #246 renamed host to server to avoid ambiguity 2014-06-14 16:52:47 +01:00
Klaus Basan
dac556c6e9 refs #262, fix update of aircraft position
Described here (3): https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Also renamed: setOwnAircraftAvionics -> setOwnCockpit to be consistent
* Removed outdated methods
2014-06-09 14:44:19 +02:00
Klaus Basan
226edda23b refs #219, load flight plan
* fixed issue with parsing, only default locale is used. Now user's local possible
* allow to load FP for other callsigns as well (voice capabilities)
* Improved handling of CTime, inclusive bug fixes and time formatting
* Max. lengths for FP fields as const value (so we can change it if required)
* Load FP from GUI component
* Samples for PQ classes
* Adjusted depending classes (e.g. client)
2014-06-09 14:43:57 +02:00
Mathew Sutcliffe
356f134ab8 refs #218 enable retreiving user's flightplan from the network
after it was potentially amended by a controller
2014-05-16 13:44:24 +01:00
Mathew Sutcliffe
07fc42f790 added statusMessage slot in sample CLI client 2014-05-16 13:44:23 +01:00
Roland Winklmeier
95fa5e84df Removed IContext
Network and voice samples work using them and have to allocate
their own vatlib objects now.

refs #221
2014-04-26 20:46:56 +02:00
Mathew Sutcliffe
2f8efe5c3b refs #179 updated sample_cli_client to recent changes in INetwork 2014-04-03 23:08:09 +01:00
Mathew Sutcliffe
b4256298e7 refs #48 INetwork sending flight plans 2014-04-03 23:06:54 +01:00
Roland Winklmeier
e978b6dee1 Central build configuration
* config.pri: Build configuration version
* library.pri project library dependencies
* build.pri: compiler/qmake configuration

refs #145
2014-03-11 22:01:31 +01:00
Klaus Basan
1b846f44c8 Fixed LIBS order, as I have run into gcc "undefined reference to" issued 2014-02-26 14:33:15 +01:00
Klaus Basan
243ace74fe link CLI sample with QtGui due to CValueObject::toIcon 2014-02-05 23:16:21 +00:00
Klaus Basan
79f5b6fcd3 Added / prepared for state disconnecting:
Taking up the idea of MS (disconnecting),
and based on a real world issue where the transition state
of disconnecting was still handled as connected.
2014-02-05 23:16:19 +00:00
Mathew Sutcliffe
7316fb8398 changed a couple more INetwork method names for consistency 2014-01-25 19:36:40 +00:00
Mathew Sutcliffe
0af8c9eb3e refs #100 Rationalization of INetwork signals and slots
* Naming convention: "preset" only when disconnected, "send" only when connected, "set" both
* Every asynchronous pair is named as in "sendFooQuery" and "fooReplyReceived"
* Moved LoginMode from CNetworkVatlib constructor to INetwork::presetLoginMode
* Callsign and ICAO codes can only be changed when disconnected, so have their own "preset" methods
** Callsign and ICAO parts of setOwnAircraft are therefore ignored
** CUser part of setOwnAircraft is ignored, in favour of the CUser part of presetServer
* CNetworkVatlib takes care of reconstructing m_net if the LoginMode is changed
2014-01-25 19:36:37 +00:00
Roland Winklmeier
08302c23bb Remove obsolete logging framework
This changes removes classes of the obsolete logging frame work and
all its references. It was not used anywhere, but included in several
headers.
Had to add header QDateTime in some places, which was not correctly
included and now missing.

refs #90
2014-01-18 20:09:03 +01:00
Mathew Sutcliffe
917e1829d1 reviewed backlog INetwork and CContextNetwork changes from kbatclist
* INetwork setOwnAircraft slots
* ATIS received shimlib callback triggers separate VoiceRoom and LogoffTime signals
* INetwork statusMessage signal emitted in response to shimlib errors
* INetwork::ConnectionStatus added a DisconnectedError value and toString conversion
* INetwork::isConnected method
* Argument in CNetworkVatlib constructor to enable stealth or observer mode
* Update CLI sample, tests, and CContextNetwork accordingly
2014-01-14 23:30:21 +00:00
Mathew Sutcliffe
60ad43d291 INetwork: removed the five connectionStatus signals and added one signal with an enum argument to replace them.
Requested by Klaus, to ease the implementation of signal consumers.
2014-01-11 17:59:45 +00:00
Mathew Sutcliffe
b475d7eff1 INetwork builds up the ATIS as it is received, line-by-line, keeping this implementation detail more encapsulated
refs #81
2014-01-09 01:16:01 +00:00
Klaus Basan
51cbd2a394 all app projects need QT+=network used by the core for downloading ATC bookings
refs #81
2014-01-09 01:15:57 +00:00
Klaus Basan
bb61654a29 style and consistency:
* rename CStatusMessages to CStatusMessageList
* rename NetworkVatlib to CNetworkVatlib
* replace all occurrences of Realname with RealName (correct camel case)
* CSequence method corresponding to CList::append is push_back
* don't compile the qdbuscpp2xml metadata plugin by default
* CAircraftIcao string members always trimmed and capitalized
* added CComSystem::roundTo25KHz
* using epsilon comparison in a couple of places

refs #81
2014-01-09 01:15:56 +00:00
Mathew Sutcliffe
c77951743e INetwork: refactor request/reply pattern and sending position updates to be more encapsulated
refs #81
2014-01-08 01:00:17 +00:00
Klaus Basan
535ea65a9a start using our value classes as arguments in INetwork signals and slots
refs #81
2014-01-08 00:59:45 +00:00
Klaus Basan
978f3c88e5 style changes and removals of typeid
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
e607121cc4 Updating IContext to our current style and making it less reliant on macros.
Updating code that uses IContext to a more conformant pattern of usage.
2013-10-05 18:12:16 +01:00
Mathew Sutcliffe
5483f71c9b test_blackcore.pro includes externals.pri
removed TODO comments
fixed mistake regarding backslash line continuations
2013-09-21 14:50:01 +01:00
Roland Winklmeier
6092cc7193 refs #60
Added externals.pri looking for the external headers/libraries in 3 steps:
1. Manually set absolut path. Currently commented. Uncomment for local
use.
2. Enviromental variable "VATSIM_EXTERNAL_DIR"
3. default path client/externals.
2013-09-21 15:21:32 +02:00
Mathew Sutcliffe
a011bb18e6 fixed compile errors caused by inconsistencies between merged branches 2013-08-29 00:02:47 +01:00
Mathew Sutcliffe
31955f0913 fixed missing space character in fsd sample 2013-08-28 23:26:57 +01:00
Mathew Sutcliffe
56e05b55a9 Normalized handling of leading/trailing whitespace in sample app (refs #22) 2013-08-04 17:49:46 +01:00
gmt2001
d1e35c0b27 refs #22
Fix leading space and trailing LF in real name
Use proper const char* to const char* copy in NetworkVatlib::initiateConnection()
2013-08-04 01:54:03 -04:00
Mathew Sutcliffe
930be03fa6 sample console-based client to demonstrate INetwork interface (refs #22) 2013-07-31 22:02:41 +01:00