browser-window.cpp 728 B

123456789101112131415161718192021222324252627282930313233343536
  1. #if defined(Hiro_BrowserWindow)
  2. auto BrowserWindow::directory() -> string {
  3. return pBrowserWindow::directory(state);
  4. }
  5. auto BrowserWindow::open() -> string {
  6. return pBrowserWindow::open(state);
  7. }
  8. auto BrowserWindow::save() -> string {
  9. return pBrowserWindow::save(state);
  10. }
  11. auto BrowserWindow::setFilters(const vector<string>& filters) -> type& {
  12. state.filters = filters;
  13. return *this;
  14. }
  15. auto BrowserWindow::setParent(shared_pointer<mWindow> parent) -> type& {
  16. state.parent = parent;
  17. return *this;
  18. }
  19. auto BrowserWindow::setPath(const string& path) -> type& {
  20. state.path = path;
  21. return *this;
  22. }
  23. auto BrowserWindow::setTitle(const string& title) -> type& {
  24. state.title = title;
  25. return *this;
  26. }
  27. #endif