Setup.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //---------------------------------------------------------------------------
  2. #ifndef SetupH
  3. #define SetupH
  4. //---------------------------------------------------------------------------
  5. #include <Interface.h>
  6. #include <WinConfiguration.h>
  7. #include <WinInterface.h>
  8. //---------------------------------------------------------------------------
  9. void __fastcall SetupInitialize();
  10. void __fastcall AddSearchPath(const UnicodeString Path);
  11. void __fastcall RemoveSearchPath(const UnicodeString Path);
  12. class THttp;
  13. THttp * __fastcall CreateHttp();
  14. void __fastcall GetUpdatesMessage(UnicodeString & Message, bool & New, TQueryType & Type, bool Force);
  15. bool __fastcall CheckForUpdates(bool CachedResults);
  16. bool __fastcall QueryUpdates(TUpdatesConfiguration & Updates);
  17. void FormatUpdatesMessage(UnicodeString & UpdatesMessage, const UnicodeString & AMessage, const TUpdatesConfiguration & Updates);
  18. void __fastcall EnableAutomaticUpdates();
  19. void __fastcall RegisterForDefaultProtocols();
  20. void __fastcall UnregisterForProtocols();
  21. void __fastcall LaunchAdvancedAssociationUI();
  22. void __fastcall TemporaryDirectoryCleanup();
  23. void __fastcall StartUpdateThread(TThreadMethod OnUpdatesChecked);
  24. void __fastcall StopUpdateThread();
  25. UnicodeString __fastcall CampaignUrl(UnicodeString URL);
  26. void __fastcall UpdateJumpList(TStrings * SessionNames, TStrings * WorkspaceNames);
  27. bool __fastcall AnyOtherInstanceOfSelf();
  28. bool IsInstalled();
  29. bool IsInstalledMsi();
  30. UnicodeString __fastcall ProgramUrl(UnicodeString URL);
  31. void __fastcall AutoShowNewTip();
  32. bool __fastcall AnyTips();
  33. void __fastcall ShowTips();
  34. UnicodeString __fastcall FirstUnshownTip();
  35. void __fastcall TipsUpdateStaticUsage();
  36. int __fastcall GetNetVersion();
  37. UnicodeString GetNetVersionStr();
  38. UnicodeString GetNetCoreVersionStr();
  39. UnicodeString GetPowerShellVersionStr();
  40. UnicodeString GetPowerShellCoreVersionStr();
  41. int ComRegistration(TConsole * Console);
  42. //---------------------------------------------------------------------------
  43. #endif