Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed Feb 27, 2025
1 parent 516406b commit 67a1b2f
Show file tree
Hide file tree
Showing 127 changed files with 577 additions and 590 deletions.
2 changes: 1 addition & 1 deletion bin/tlplay/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ DTK_MAIN()
tl::timelineui::init(context);
tl::device::init(context);
auto args = dtk::convert(argc, argv);
auto app = tl::play_app::App::create(context, args);
auto app = tl::play::App::create(context, args);
r = app->getExit();
if (0 == r)
{
Expand Down
1 change: 0 additions & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
add_subdirectory(tlCore)
add_subdirectory(tlDevice)
add_subdirectory(tlIO)
add_subdirectory(tlPlay)
add_subdirectory(tlResource)
add_subdirectory(tlTimeline)
add_subdirectory(tlTimelineUI)
Expand Down
39 changes: 0 additions & 39 deletions lib/tlPlay/CMakeLists.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/AudioActions.h>
#include <tlPlayApp/Actions/AudioActions.h>

#include <tlPlayApp/Models/AudioModel.h>
#include <tlPlayApp/App.h>

#include <tlPlay/AudioModel.h>

namespace tl
{
namespace play_app
namespace play
{
struct AudioActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/CompareActions.h>
#include <tlPlayApp/Actions/CompareActions.h>

#include <tlPlayApp/Models/FilesModel.h>
#include <tlPlayApp/App.h>

#include <tlPlay/FilesModel.h>

#include <dtk/core/Format.h>

namespace tl
{
namespace play_app
namespace play
{
struct CompareActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/FileActions.h>
#include <tlPlayApp/Actions/FileActions.h>

#include <tlPlayApp/Models/FilesModel.h>
#include <tlPlayApp/App.h>

#include <tlPlay/FilesModel.h>

#include <dtk/core/Format.h>

namespace tl
{
namespace play_app
namespace play
{
struct FileActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/FrameActions.h>
#include <tlPlayApp/Actions/FrameActions.h>

#include <tlPlayApp/App.h>
#include <tlPlayApp/MainWindow.h>
Expand All @@ -11,7 +11,7 @@

namespace tl
{
namespace play_app
namespace play
{
struct FrameActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;
class MainWindow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/PlaybackActions.h>
#include <tlPlayApp/Actions/PlaybackActions.h>

#include <tlPlayApp/App.h>

Expand All @@ -12,7 +12,7 @@

namespace tl
{
namespace play_app
namespace play
{
struct PlaybackActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/RenderActions.h>
#include <tlPlayApp/Actions/RenderActions.h>

#include <tlPlayApp/Models/ColorModel.h>
#include <tlPlayApp/Models/RenderModel.h>
#include <tlPlayApp/App.h>

#include <tlPlay/ColorModel.h>
#include <tlPlay/RenderModel.h>

#include <sstream>

namespace tl
{
namespace play_app
namespace play
{
struct RenderActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/TimelineActions.h>
#include <tlPlayApp/Actions/TimelineActions.h>

#include <tlPlayApp/App.h>
#include <tlPlayApp/MainWindow.h>
Expand All @@ -11,7 +11,7 @@

namespace tl
{
namespace play_app
namespace play
{
struct TimelineActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;
class MainWindow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/ToolsActions.h>
#include <tlPlayApp/Actions/ToolsActions.h>

#include <tlPlayApp/Tools/Tools.h>
#include <tlPlayApp/App.h>
#include <tlPlayApp/Tools.h>

#include <dtk/core/Format.h>

namespace tl
{
namespace play_app
namespace play
{
struct ToolsActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/ViewActions.h>
#include <tlPlayApp/Actions/ViewActions.h>

#include <tlPlayApp/Models/ViewportModel.h>
#include <tlPlayApp/Widgets/Viewport.h>
#include <tlPlayApp/App.h>
#include <tlPlayApp/MainWindow.h>
#include <tlPlayApp/Viewport.h>

#include <tlPlay/ViewportModel.h>

namespace tl
{
namespace play_app
namespace play
{
struct ViewActions::Private
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;
class MainWindow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) 2021-2025 Darby Johnston
// All rights reserved.

#include <tlPlayApp/WindowActions.h>
#include <tlPlayApp/Actions/WindowActions.h>

#include <tlPlayApp/App.h>
#include <tlPlayApp/MainWindow.h>
Expand All @@ -11,11 +11,11 @@

namespace tl
{
namespace play_app
namespace play
{
struct WindowActions::Private
{
std::shared_ptr<play::SettingsModel> model;
std::shared_ptr<SettingsModel> model;
std::map<std::string, std::shared_ptr<dtk::Action> > actions;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace tl
{
namespace play_app
namespace play
{
class App;
class MainWindow;
Expand Down
Loading

0 comments on commit 67a1b2f

Please sign in to comment.