RecentFiles.h 586 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/std/string/string.h>
  10. #include <QStringList>
  11. #include <QString>
  12. const size_t c_scriptCanvasEditorSettingsRecentFilesCountMax = 10;
  13. namespace ScriptCanvasEditor
  14. {
  15. QStringList ReadRecentFiles();
  16. void WriteRecentFiles(const QStringList& filenames);
  17. void AddRecentFile(const QString& filename);
  18. void ClearRecentFile();
  19. }