Setup.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //---------------------------------------------------------------------------
  2. #ifndef SetupH
  3. #define SetupH
  4. //---------------------------------------------------------------------------
  5. #include <Interface.h>
  6. #include <WinConfiguration.h>
  7. //---------------------------------------------------------------------------
  8. void __fastcall SetupInitialize();
  9. void __fastcall AddSearchPath(const UnicodeString Path);
  10. void __fastcall RemoveSearchPath(const UnicodeString Path);
  11. class THttp;
  12. THttp * __fastcall CreateHttp();
  13. void __fastcall GetUpdatesMessage(UnicodeString & Message, bool & New, TQueryType & Type, bool Force);
  14. bool __fastcall CheckForUpdates(bool CachedResults);
  15. bool __fastcall QueryUpdates(TUpdatesConfiguration & Updates);
  16. UnicodeString __fastcall FormatUpdatesMessage(UnicodeString Message);
  17. UnicodeString __fastcall GetUsageData();
  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. //---------------------------------------------------------------------------
  39. #endif