#pragma once // Spec: SPEC.md section 4 (surfaces), FR-CLI-02. Screen factories: each screen area implements its own. #include #include #include "model/PostDetail.hpp" #include "model/User.hpp" #include "screens/PostDestination.hpp" #include "ui/Navigation.hpp" namespace dp { // Feed area (agent "posts"): src/screens/feed, src/screens/post, src/screens/components for post parts. ui::ScreenPtr makeFeedScreen(); ui::ScreenPtr makePostScreen(PostDestination destination); // Compose area: create or edit post (editing = the post being edited). ui::ScreenPtr makeCreatePostScreen(std::optional editing = std::nullopt); // Social area: profile (nullopt = own profile), messages list, conversation, notifications. ui::ScreenPtr makeProfileScreen(std::optional username); ui::ScreenPtr makeMessagesScreen(); ui::ScreenPtr makeConversationScreen(User otherUser); ui::ScreenPtr makeNotificationsScreen(); // App area (lead): settings, sign in, sign up. ui::ScreenPtr makeSettingsScreen(); ui::ScreenPtr makeLoginScreen(); ui::ScreenPtr makeSignUpScreen(); } // namespace dp