Skip to content

Commit

Permalink
Merge branch '14-presenter-2-message-presenter' into 8-feature-8-clie…
Browse files Browse the repository at this point in the history
…nt-register

# Conflicts:
#	src/main/java/presenter/TheQuestionOutputBoundary.java
#	src/main/java/presenter/ViewOutputBoundary.java
  • Loading branch information
KaxiYuan8288 committed Jul 19, 2023
2 parents d3c9692 + a5fc6fb commit a733e6b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/main/java/presenter/LoginOutputBoundary.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package presenter;

public interface LoginOutputBoundary {
TheQuestionResponseModel prepareFail(String msg);
TheQuestionResponseModel prepareSuccess();
}
4 changes: 4 additions & 0 deletions src/main/java/presenter/LoginResponseModel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package presenter;

public class LoginResponseModel {
}
2 changes: 1 addition & 1 deletion src/main/java/presenter/TheQuestionOutputBoundary.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

public interface TheQuestionOutputBoundary {
TheQuestionResponseModel prepareFail(String msg);
TheQuestionResponseModel prepareSuccess(String msg);
TheQuestionResponseModel prepareSuccess();
}
4 changes: 1 addition & 3 deletions src/main/java/presenter/ViewOutputBoundary.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@

public interface ViewOutputBoundary {
ViewResponseModel prepareFail(String msg);

// TODO: complete method signature
ViewResponseModel prepareSuccess(String msg);
ViewResponseModel prepareSuccess();
}

0 comments on commit a733e6b

Please sign in to comment.