Commit Graph
53 Commits
Author SHA1 Message Date
Vibhav Pant 89ea6894cb DeviceInfo: Register and unregister screen lock listeners. 2023-08-27 15:12:44 +05:30
Vibhav Pant d13621f005 Fix deps. 2023-08-27 15:00:03 +05:30
Vibhav Pant 0376b90bce Add support for inhibition locks. 2023-08-27 14:59:43 +05:30
Vibhav Pant 69cad9bd9c Comment out wifi scan callback code 2023-08-27 14:34:16 +05:30
Vibhav Pant 3ad3a3431b Fix compilation errors. 2023-08-27 14:06:50 +05:30
Vibhav Pant 4819e2c220 Add missing headers. 2023-08-27 14:06:10 +05:30
Vibhav Pant d2c88f2362 Add CreatePreferencesManager implementation. 2023-08-27 12:25:01 +05:30
Vibhav Pant 4435620939 initBusConnections: Start an async event loop after creating connections. 2023-08-27 12:24:36 +05:30
Vibhav Pant 8b3c1c2b27 GetLocalAppDataPath: Use XDG_CONFIG_HOME. 2023-08-27 12:24:22 +05:30
Vibhav Pant 96ae9cb76f GetDownloadPathInternal: Construct DeviceInfo correctly. 2023-08-27 12:24:02 +05:30
Vibhav Pant c7bc1a37e5 Add method ConnectedToWifi. 2023-08-27 09:44:13 +05:30
Vibhav Pant 4417dd781f Add Wifi Direct files. 2023-08-27 00:35:37 +05:30
Vibhav Pant 55847d7762 Add WifiDirectSocket methods. 2023-08-27 00:35:28 +05:30
Vibhav Pant ef666b2311 Add Wifi Direct medium 2023-08-27 00:32:55 +05:30
Vibhav Pant 6e4c035103 Add ConnectedToWifi. 2023-08-27 00:17:56 +05:30
Vibhav Pant e6d273aaa8 Add additional files. 2023-08-26 21:49:42 +05:30
Vibhav Pant 52121a5a05 Implement remaining platform methods. 2023-08-26 16:46:25 +05:30
Vibhav Pant f1c3e0d7ff Use sdbus-c++ glue proxies for device info. 2023-08-23 20:33:57 +05:30
Vibhav Pant 4908216bbb Use XDG_RUNTIME_PATH for GetTemporaryPath 2023-08-23 17:47:27 +05:30
Vibhav Pant 3034f35fd5 Merge remote-tracking branch 'proatgram/linux-platform' 2023-08-23 17:41:43 +05:30
Vibhav Pant 24474a0c92 Add additional impls. 2023-08-23 17:30:14 +05:30
Vibhav Pant d8b04cdcf4 Add headers to library comm. 2023-08-23 17:29:59 +05:30
Vibhav Pant d7586210dc Add BluezObjectManager. 2023-08-23 16:01:57 +05:30
Vibhav Pant 3a4393ddda Add more wifi code. 2023-08-23 16:01:39 +05:30
Vibhav Pant dd13c8b2c5 Add additional WiFi code. 2023-08-23 00:48:22 +05:30
Vibhav Pant 8daff56437 Code dump. 2023-08-21 23:19:01 +05:30
Timothy Hutchins 1ff995400f Implemented missing implementation files
I missed some implementation when I was looking over them. These are
them.
2023-08-16 21:37:52 -05:00
Timothy Hutchins bfe5db2229 Added base implementation for input_file and output_file
This are unimplemented currently, but will be in the future.
2023-08-16 21:36:04 -05:00
Timothy Hutchins 000c86425c Implemented a TimerQueue class and a Timer class
The Windows implementation of the Timer class (in timer.h) used Timer
Queues. This brings in implementation for a mostly Windows complient
TimerQueue class to work with the Timer class.
2023-08-16 21:31:31 -05:00
Vibhav Pant fc0eed544a Simplify Bluetooth code. 2023-08-16 21:04:18 +05:30
Vibhav Pant 1caa90d162 Use NetworkManager object for checking connectivity. 2023-08-16 19:03:47 +05:30
Vibhav Pant 4f90fa4b72 Add initial wifi medium code. 2023-08-16 02:00:09 +05:30
Vibhav Pant f9fb3d259e Rewrite dbus code using sdbus-c++ 2023-08-15 20:52:51 +05:30
Vibhav Pant 295f9d6b2e Walk through InterfacesAdded data correctly. 2023-08-09 18:42:56 +05:30
Timothy Hutchins 2f2c08c317 Implemented submittable_executor and some other missed files
A file was named wrong. It was changed.
2023-08-07 15:16:43 -05:00
Timothy Hutchins 9872919951 Implemented preferences_manager and helpers 2023-08-07 13:58:39 -05:00
Timothy Hutchins 632b80adb1 Implemented scheduled_executor 2023-08-06 18:28:46 -05:00
Timothy Hutchins 0efd39ca4f Added implementation for test_utils 2023-08-06 16:39:57 -05:00
Timothy Hutchins b0484fd83e Implemented Windows implementation compliant Linux http_loader
The `http_loader` class takes a `WebRequest` with information to send a
web request, and sends it. This uses `libcurl`, which is present from
installation on most major Linux distrobutions (e.g. Fedora, Ubuntu,
PopOS...).

If libcurl is not present on the target system, it will need to be
installed.
2023-08-04 18:13:05 -05:00
Vibhav Pant e8c5a24538 Add additional libraries. 2023-08-03 17:17:59 +05:30
Vibhav Pant 5644e97d46 Refactor 2023-08-03 17:14:03 +05:30
Timothy Hutchins ac121f376f Implemented some more Linux equivalents 2023-08-02 18:24:19 -05:00
Vibhav Pant 24d1021bfa Add additional code for implementing BluetoothClassicMedium. 2023-08-01 18:27:05 +05:30
Vibhav Pant a891e8bee0 Add BluetoothServerSocket implementation. 2023-08-01 18:22:46 +05:30
Vibhav Pant ab3ec3d257 More bluetooth medium code. 2023-07-30 02:10:58 +05:30
Vibhav Pant 1f6a9ccc67 Add bluetooth_adapter implementation. 2023-07-23 19:01:50 +05:30
Vibhav Pant 19240c5a92 Use cleanup attribute for freeing libsystemd resources. 2023-07-23 19:01:14 +05:30
Vibhav Pant 33bd13797b Add additional methods for DeviceInfo. 2023-07-22 20:16:26 +05:30
Vibhav Pant ca8efbf347 Initial sketch. 2023-07-22 15:32:25 +05:30
Timothy Hutchins 046652347f Implemented Linux equivalent to Windows file_path*
This adds a Linux equivalent to file path operations done in the Windows
headers and source files. Some differences that will occur are the
invalid path names and contents, as there are no invalid path names, and
only one invalid path content (excluding non-printable characters) on
Linux.
2023-05-21 18:58:33 -05:00