Setup.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. UnicodeString __fastcall FormatUpdatesMessage(UnicodeString Message);
  18. UnicodeString __fastcall GetEnableAutomaticUpdatesUrl();
  19. void __fastcall EnableAutomaticUpdates();
  20. void __fastcall RegisterForDefaultProtocols();
  21. void __fastcall UnregisterForProtocols();
  22. void __fastcall LaunchAdvancedAssociationUI();
  23. void __fastcall TemporaryDirectoryCleanup();
  24. void __fastcall StartUpdateThread(TThreadMethod OnUpdatesChecked);
  25. void __fastcall StopUpdateThread();
  26. UnicodeString __fastcall CampaignUrl(UnicodeString URL);
  27. void __fastcall UpdateJumpList(TStrings * SessionNames, TStrings * WorkspaceNames);
  28. bool __fastcall AnyOtherInstanceOfSelf();
  29. bool __fastcall IsInstalled();
  30. UnicodeString __fastcall ProgramUrl(UnicodeString URL);
  31. void __fastcall AutoShowNewTip();
  32. void __fastcall ShowTips();
  33. UnicodeString __fastcall FirstUnshownTip();
  34. void __fastcall TipsUpdateStaticUsage();
  35. int __fastcall GetNetVersion();
  36. UnicodeString __fastcall GetNetVersionStr();
  37. UnicodeString __fastcall GetPowerShellVersionStr();
  38. int ComRegistration(TConsole * Console);
  39. //---------------------------------------------------------------------------
  40. #endif