program CameraControl; {$mode objfpc}{$H+} {$warnings off} {$hints off} // Copyright © 2020 linuxer // Created at 23th of January 2020, by Linuxer (https://gitlab.com/linuxergr), from scratch with Free Pascal // Redesigned and further Developed at 28th of January 2020 // to provide Camera and Mic status alone with On/Off and Mute/Unmute fuctions // Developed further for intrusion feeling and logging at 2nd of February 2020 // Developed for Blacklisting/Whitelisting functions for both camera & audio at 7th of February 2020 // Finalized, except traslations at 15th of February 2020 // Further Capabilities added alone with better Logging at 22nd of February 2020 // Essential Development Ended at 5th of March 2020. Minor Updates will follow, if needed // Thanks to Ido Kanner idokan at@at gmail dot.dot com, libnotify has been added to the project, so to solve issues of notifiers and Qt5 on Linux // https://forum.lazarus.freepascal.org/index.php/topic,52052.0.html // Wayland and x11 operation confirmed too with the libnotify addition // Further project development for the next major release 2.1.0, as from 3rd of Nov 2020 / ended at 6th of Nov 2020 uses {$IFDEF UNIX} cthreads, {$ENDIF} {$IFDEF LINUX} {$IFDEF FPC_CROSSCOMPILING} {$IFDEF CPUARM} {$linklib GLESv2} {$ENDIF} {$linklib libc_nonshared.a} {$ENDIF} {$ENDIF} Interfaces, // this includes the LCL widgetset Forms, Logs, About, Reboot, RebootDialog, OutputForm, Main, MessageForm, InputForm, PidsList; {$R *.res} begin RequireDerivedFormResource:=True; Application.Scaled:=True; Application.Initialize; Application.CreateForm(TForm1, Form1); Application.CreateForm(TForm2, Form2); Application.CreateForm(TForm3, Form3); Application.CreateForm(TForm4, Form4); Application.CreateForm(TForm5, Form5); Application.CreateForm(TForm6, Form6); Application.CreateForm(TForm7, Form7); Application.CreateForm(TForm8, Form8); Application.CreateForm(TForm9, Form9); Application.Run; end.