Commit Graph

578 Commits

Author SHA1 Message Date
Klaus Basan
a4e6f0e20c refs #196, secondary GUI subproject for #151 2014-03-27 01:11:32 +01:00
Klaus Basan
e1e4fbb449 Fix for include of windows.h , as discussed
* Meeting 2014-03-25
* here https://dev.vatsim-germany.org/issues/185#note-4
2014-03-26 21:31:40 +01:00
Klaus Basan
5b11de4da0 refs #192 , minor fixes after integration of #126 2014-03-26 21:28:25 +01:00
Klaus Basan
f03d095e10 refs #192, JSON samples and fixed one other sample 2014-03-26 20:18:50 +01:00
Klaus Basan
87e4267872 Slightly improved version of compareImpl in containerbase.h 2014-03-26 20:18:49 +01:00
Klaus Basan
57435b2a73 refs #192, some housekeeping during the JSON introduction
* removed unused tryGet methods for transponder / COM
* adjusted unit tests
2014-03-26 20:18:47 +01:00
Klaus Basan
e2461cb67c refs #192, Doxygen / formatting 2014-03-26 20:18:46 +01:00
Klaus Basan
853259709a Fixed transponder mode from String conversion 2014-03-26 20:18:45 +01:00
Klaus Basan
b9ed8c7186 Fixed comparison of callsign, which should be string based, not tupel based 2014-03-26 20:18:43 +01:00
Klaus Basan
88fb9e8832 refs #192, enable value objects for JSON:
* from/toJson methods
* jsonMembers where applicable
2014-03-26 20:18:42 +01:00
Klaus Basan
586e1e4053 refs #192 , enabled CValueObject for JSON
* operators
* from/toJson method
2014-03-26 20:11:34 +01:00
Klaus Basan
0d4abb4c91 refs #192, JSON operators except for CValueObject 2014-03-26 20:11:32 +01:00
Klaus Basan
a724f7ee91 refs #192, Doxygen and other cosmetic changes 2014-03-26 20:11:31 +01:00
Klaus Basan
9aebf05e68 CSimConnectUtilities : public QObject as discussed in meeting 25-03-2014 2014-03-26 19:51:04 +01:00
Klaus Basan
9d1f8a63f3 refs #192 , added JSON support to tupel
* jsonMembers() method in Macro
* serializeJson / deserializeJson for tupels
2014-03-26 19:51:03 +01:00
Klaus Basan
23e54e383e refs #189, fixed CPqString::getMetaTypeId() 2014-03-26 19:51:02 +01:00
Klaus Basan
d0fd46ac7d refs #189 , added sample to test CPqString 2014-03-26 19:51:01 +01:00
Klaus Basan
f9246cb5f9 refs #189 , PQ string class which allows parsing strings like 100m/s.
pqbase contains template method to determine a valid unit.
2014-03-26 19:51:00 +01:00
Klaus Basan
7822800454 refs #185, fixed a Doxygen comment 2014-03-26 19:50:59 +01:00
Klaus Basan
d27aa92866 refs #185 , added config panel for FSX to GUI. Allows to write a simconnect.cfg, if FSX is running remotely. 2014-03-26 19:50:58 +01:00
Klaus Basan
747694dbcb Fixed shutdown for core 2014-03-26 19:50:57 +01:00
Klaus Basan
2daad2d734 #refs 185 , added samples for blacksim classes 2014-03-26 19:50:56 +01:00
Klaus Basan
ed60616409 refs #185 , utility class for FSX simconnect (e.g. writing simconnect.cfg , or error coded to QString) 2014-03-26 19:50:55 +01:00
Klaus Basan
09b1daf8ec refs #185 , new StatusMessage type: TypeSimulator, 2014-03-26 19:50:54 +01:00
Klaus Basan
8848655235 refs #185 , added checks for IPs 2014-03-26 19:50:53 +01:00
Klaus Basan
948947f8d7 Fixed conversion of new Cvatlib_Network::connStatus_ConnectionLost: 2014-03-26 19:50:52 +01:00
Klaus Basan
a38385e6e6 refs #184 , moved template into global namespace, see https://dev.vatsim-germany.org/issues/184#note-2 2014-03-26 19:50:51 +01:00
Mathew Sutcliffe
cf10f9cc35 fixed new compiler error due to MSVC incorrect handling of
capturing the this pointer in a lambda inside another lambda
2014-03-26 13:34:13 +00:00
Mathew Sutcliffe
fd926b867d refs #126 using the new null unit infrastructure instead of -1 sentinel values 2014-03-26 13:26:09 +00:00
Mathew Sutcliffe
8b1ef4345d refs #126 null unit infrastructure, a sentinel to mark an uninitialized or unused physical quantity 2014-03-26 13:20:53 +00:00
Mathew Sutcliffe
afc494ee5e Replaced certain doxygen comments with \private commands without introducing any warnings.
refs #91
2014-03-23 21:25:47 +00:00
Mathew Sutcliffe
cc98a86e42 moved metarReplyReceived to the correct section (weather signals) 2014-03-22 17:47:10 +00:00
Klaus Basan
b1a5ada3a4 Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client 2014-03-12 02:28:50 +01:00
Klaus Basan
60b7ffde19 refs #85 , removed "blackmisc_cpp2xml" 2014-03-12 02:27:18 +01:00
Klaus Basan
1dbb44d31d refs #85 , removed xml files (DBus) 2014-03-12 02:25:05 +01:00
Klaus Basan
f2364692e3 refs #145, fixed some .pro/.pri files to new style 2014-03-12 02:23:34 +01:00
Roland Winklmeier
805a751071 Fixed not DBus registered method from CContextSimulator
CContextSimulator::ownAircraft was not a public slot and therefore
not available via DBus. In the same step renamed the method
to getOwnAircraft to be consistent.
2014-03-12 00:41:55 +01:00
Roland Winklmeier
200c2612e5 Fixed typo introduced by former shimlib (corrected in shimlib 0.4.15) 2014-03-11 22:28:04 +01:00
Roland Winklmeier
5cac09f625 Fixed issues arised after merge
- wrong namespace in newly created headers
- wrong includes
- Fixed members in CKeyboardKey
- Fixed CKeyboardKey unit test
2014-03-11 22:24:25 +01:00
Roland Winklmeier
0349d8f212 Added a build flag for FSX specific code
FSX SimConnect code is build and linked only if enabled
by the build configuration.

refs #145
2014-03-11 22:01:32 +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
Roland Winklmeier
811bbdfe4e Reload hotkey settings when they have changed
This also includes changing the registration

refs #83
2014-03-11 21:56:55 +01:00
Roland Winklmeier
abb20a5154 Change CVoiceVatlib to use new IKeyboard interface
refs #83
2014-03-11 21:56:54 +01:00
Roland Winklmeier
f09c77ebd0 Sample Hotkey
Demonstrates the usage of IKeyboard

refs #83
2014-03-11 21:51:41 +01:00
Roland Winklmeier
a7465fa6a3 Windows implementation of IKeyboard interface
Located in a win subfolder. It uses keyboard hooks to get
key up and down events. Keymapping is done in a separate
windows specific class.

refs #83
2014-03-11 21:50:25 +01:00
Roland Winklmeier
f8ce8a84cd IKeyboard interface
This is the main interface for platform specific implementations.
It is a singleton design, since we need one object per process.

refs #83
2014-03-11 21:50:24 +01:00
Roland Winklmeier
f3076372d1 Add CKeyboardKey unit tests to BlackMisc testcases
refs #83
2014-03-11 21:50:24 +01:00
Roland Winklmeier
492a950877 Add methods to generally add/remove modifiers in CKeyboardKey
It adds a modifier if modifer1 or modifer2 are set to None.

refs #83
2014-03-11 21:50:23 +01:00
Roland Winklmeier
9a5f2b2003 Remove native scan code from CKeyboardKey
Remove isPressed status from CKeyboardKey
Switched key value to Qt::Key

There is no way on OSX to get the native scan code of a key.
Therefore it is removed from this class, because we might
create dependent code which will not run on OSX.
CKeyboardKey is a abstraction of platform keys. It was representing
also the status when CKeyboardKey was sent in signals. So this
can be removed. Pressed status is sent as argument to the registered
method.

refs #83
2014-03-11 21:50:22 +01:00
Roland Winklmeier
b0d55687bd Refactored inheritance hierarchy of ContextSettings
refs #85
2014-03-11 21:44:58 +01:00