Setup.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. 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 __fastcall IsInstalled();
  29. UnicodeString __fastcall ProgramUrl(UnicodeString URL);
  30. void __fastcall AutoShowNewTip();
  31. void __fastcall ShowTips();
  32. UnicodeString __fastcall FirstUnshownTip();
  33. void __fastcall TipsUpdateStaticUsage();
  34. int __fastcall GetNetVersion();
  35. UnicodeString __fastcall GetNetVersionStr();
  36. UnicodeString __fastcall GetPowerShellVersionStr();
  37. int ComRegistration(TConsole * Console);
  38. //---------------------------------------------------------------------------
  39. #endif