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
Roland Winklmeier
ac8ade5e05
Refactored inheritance hierarchy of ContextNetwork
...
refs #85
2014-03-11 21:44:58 +01:00
Roland Winklmeier
33aee8cb12
Refactored inheritance hierarchy of ContextAudio (former ContextVoice)
...
refs #85
2014-03-11 21:36:57 +01:00
Roland Winklmeier
1e8a2a5b01
Refactored inheritance hierarchy of ContextApplication
...
refs #85
2014-03-11 21:26:19 +01:00
Roland Winklmeier
eccfae1fd3
Add new page in sample_blackgui to display user aircraft data
...
refs #143
2014-03-11 21:26:18 +01:00
Roland Winklmeier
23056c61c8
FSX implementation divided into three parts:
...
- SimConnect handling done in CSimulatorFSX
- Exception handling done by CSimConnectException
- Data definitions done by CSimConnectDataDefinition
refs #142
2014-03-11 21:26:18 +01:00
Roland Winklmeier
ab21a9ba28
Add ContextSimulator classes to CoreRuntime
...
refs #135
2014-03-11 21:26:17 +01:00
Roland Winklmeier
c7d35d29a4
Add DBus implementation for IContextSimulator
...
This class implements the DBus version off simulator context.
When one of its methods is called, it forwards it to
the configured DBus session/server.
refs #135
2014-03-11 21:26:17 +01:00
Roland Winklmeier
1d6572d222
Add local implementation for IContextSimulator
...
This class implements the local BlackCore object
for the simulator context. It initializes its member
variables with default values.
refs #135
2014-03-11 21:26:16 +01:00
Roland Winklmeier
6fac031720
Add abstract interface IContextSimulator
...
IContextSimulator is implememted similar to the other contexts.
It defines a small set of methods as a starter. More will
be added later when the concept is proofen to work.
refs #135
2014-03-11 21:26:15 +01:00
Roland Winklmeier
844bed6c5b
First draft of ISimulator
...
Currently it supports
* Reading aircraft situation
* reading/writing COM1/2 settings
* reading/writing transponder
* reading aircraft title
2014-03-11 21:26:15 +01:00
Klaus Basan
0d306861f0
refs #140 , removed MACRO DBUS_ENUM_MARSHALLING, changed to template
...
discussed in https://dev.vatsim-germany.org/issues/140#change-864
2014-03-11 21:08:59 +01:00
Klaus Basan
ffc03e46f5
refs #140 , refs #127 renamed aircraft.cfg and mapping class and tupelized it
2014-03-11 01:30:40 +01:00
Klaus Basan
2911c1d14a
refs #127 , CAircraftIcao: rename members
2014-03-11 01:28:27 +01:00
Klaus Basan
4db12d888e
refs #74 , refs#140 renamed CSimulator to CSimulatorInfo and tupelized class
...
CSimulatorInfo discussed https://dev.vatsim-germany.org/issues/74#note-6
2014-03-11 01:19:57 +01:00
Klaus Basan
94d80f6d20
refs #74 , removed default initializers ( https://dev.vatsim-germany.org/issues/74#note-5 ) . Fixed ==
2014-03-10 20:03:41 +01:00
Klaus Basan
53c3c814f8
refs #74 , minor tweak in CValueObject
2014-03-10 20:03:40 +01:00
Klaus Basan
b70ebe4331
refs #74 , sample testing reading the FSX aircraft.cfg entries (for mapping)
2014-03-10 20:03:39 +01:00
Klaus Basan
d2429a4776
refs #74 , free functions (at this time registration of metadata)
2014-03-10 20:03:38 +01:00
Klaus Basan
a4ae1fc626
refs #74 , class for mapping. Still open whether this will be FSX/9/P3D specific, or global.
2014-03-10 20:03:37 +01:00
Klaus Basan
e519942c4a
refs #74 , class for FSX aircraft.cfg entries
2014-03-10 20:03:36 +01:00
Klaus Basan
dc54621a90
refs #74 , dummy for Doxygen
2014-03-10 20:03:35 +01:00